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
This is a newbie question: what is the URI of a Schema? Is it the URI of the start Shape? But then the metadata would be inaccessible, not? I'm asking because the parsing of Schema JSON in RDFLIB makes the root triple BNode a shex:Schema. Is this intended? How would I set an "id" on the Schema?
Thanks in advance for your patience.
The text was updated successfully, but these errors were encountered:
I think this raises a best-practice question: should ShExJ and ShExR preserve the IRI of the document from which they were retrieved. ShEx{C,J,R} are isomorphic, which means we can't have any properties in ShExJ that don't have a counterpart in ShExC. That said, it could be polite to preserve it in the subject:
{ "type": "Schema", "@id": "", "shapes": [] }
<>a shex:Schema ;
sh:shapes () .
This would introduce a bit more magic context into the test suite. @gkellogg , thoughts?
This is a newbie question: what is the URI of a Schema? Is it the URI of the start Shape? But then the metadata would be inaccessible, not? I'm asking because the parsing of Schema JSON in RDFLIB makes the root triple
BNode a shex:Schema
. Is this intended? How would I set an "id" on the Schema?Thanks in advance for your patience.
The text was updated successfully, but these errors were encountered: