Linking a JSON-LD context with an RDF-S/OWL schema
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 139
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
Based on my understanding, "context is not a schema" -- @context serves to map terms to IRIs via term definitions, not to describe the actual data.
To address this, I've considered the following:
- Serve a remote context document at one location, and serve a remote schema document at another location. Declare the remote context document as the
@context. Manually import the schema document. - Serve the two in the same document. My understanding is that
@contextprocessing will only work with the@contextentry of the resolved document ( as described in step 5.2.4 of the algorithm https://www.w3.org/TR/json-ld11-api/#algorithm ), so it is okay to put additional entries into the document, but it is not okay to put additional entries if the context was locally embedded instead. (Which is to say: a term definition having@idis a completely separate mechanism from what that@idrepresents, right?)
In the latter case (assuming I am correct that it is valid), there is a need to express that the document resolved not only contains a @context key to be used in context processing, but that it also contains a graph of statements representing RDF Schema, OWL, and other such metadata. For this, I wonder if it makes sense to declare a new keyword @schema, to be similarly applied until overridden by a more recent definition.
It's also possible I'm confused about all this, and there's a more idiomatic way to accomplish this. In either case, I'd appreciate feedback about this idea.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the JSON-LD 1.1 API algorithm, especially step 5.2.4, and compare the proposed remote-document behavior with existing context processing. Determine whether a new @schema keyword is needed and document the outcome as a specification decision or clarified guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100