You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Section 1.4, "SHACL Example" articulates the following caveat when introducing the JSON-LD variant of an example.
The example below shows the same shape definition as a possible JSON-LD [json-ld] fragment. Note that we have left out a @context declaration, and depending on the @context the rendering may look quite different. Therefore this example should be understood as an illustration only.
I think the choice to leave out the @context part of the JSON description (which ungrounds the small number of namespace prefixes) and to explain this in preceding ancillary text is confusing. Rather than rely on the reader to bring in background knowledge at such an early point in the text, it could be more effective to alter the example to include the assumed namespace prefixes in @context. If desired, the meaning of @context could then be illustrated by also showing the URI-expanded JSON-LD representation (i.e. what you need without providing prefixes in @context) of the same example shapes graph.
This is an editorial/stylistic issue.
The text was updated successfully, but these errors were encountered:
(Without checking details I think if we embed the context into the example then we'd also need to declare that ignoredProperties is @list, not just the namespace prefixes).
Section 1.4, "SHACL Example" articulates the following caveat when introducing the JSON-LD variant of an example.
I think the choice to leave out the
@context
part of the JSON description (which ungrounds the small number of namespace prefixes) and to explain this in preceding ancillary text is confusing. Rather than rely on the reader to bring in background knowledge at such an early point in the text, it could be more effective to alter the example to include the assumed namespace prefixes in@context
. If desired, the meaning of@context
could then be illustrated by also showing the URI-expanded JSON-LD representation (i.e. what you need without providing prefixes in@context
) of the same example shapes graph.This is an editorial/stylistic issue.
The text was updated successfully, but these errors were encountered: