-
Notifications
You must be signed in to change notification settings - Fork 23
Azaroth suggestions #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azaroth suggestions #265
Conversation
Actually, there are several more I'll add on to this PR tomorrow. |
Still a couple of more to go. |
I'll do the rest in another PR. |
<span class="changed">The empty string `""` and strings that have the form | ||
of a keyword (e.g., staring with `"@"`) must not be used as terms. | ||
Strings that have the form of | ||
an absolute IRI (e.g., containing a `":"`) should not be used as terms.</span></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strings that [contain a colon] should not be used as terms.
Well, it is acceptable to have a term definition of the form "foaf:knows": {"@type": "@id"}
.
Isn't foaf:knows
a term in that case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, the key for a term definition is not necessarily a term. Slightly confusing, but ok :)
We can probably improve things more, but yes, the key for an expanded definition my be an IRI, which can’t be a term. |
Perhaps we should update the context definition to say that keys can be noted keywords and strings treated as terms of IRIs. The values of which may be strings, interpreted as IRIs, or expanded term definitions, or words to that effect. |
@nest
. Fixes @nested keyword definition does not describe what it does #227.@none
definition. Fixes Definition of @none could be more specific #228.@version
is set to1.1
, not"json-ld-1.1"
. Fixes Potential for confusion of @version syntax? #230.Preview | Diff