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
Referencing the JSON context file (and other schema files) #234
Comments
The updates to the serializations page include the following structure: For the Turtle Serialization: For the Validation Schema: I may need to restructure these to position the release at the end of the URL. This will enable PURL-izing these URLs in such a way that a consumer could append the release name to the end of the PURL. I intend to make updates to break out the turtle serialization into separate serializations for each vocabulary, so I'll make this a part of that update. |
Leaving this one open until I have released the serialization update, so I can check it against the items in this thread. |
You can now access terms via: The JSON-LD context can be accessed via (release is optional and defaults to the current release): |
Email from Eric Korb to me:
Eric's very legitimate questions regard the direct endpoint of serializations--(1) for the /terms/ (properties/classes/concept scheme classes) and /vocabs/ (concept classes); and, (2) for the JSON context file.
Context file access
(http://credreg.net/ctdl/Schema?type=json&direct=true)
Schema.org has two ways to two access mechanisms to its context file: (1) browser 'content negotiation'; and (2) direct link (see, schema.org issue 990. This is what Eric is asking for in terms of context file access. It might well be worth creating a purl that resolves to the context file; perhaps:
CTDL /terms/ schema file and vocabs files (.ttl, json-ld)
(http://credreg.net/ctdl/Schema?type=turtle&direct=true, http://credreg.net/ctdl/Schema?type=schema&direct=true)
We are incomplete here in terms of having complete turtle and json-ld serialization files for both the schema in /terms/ and the schemes in /vocabs/. When they are complete, we should be able to directly access indepentent file pairs (.ttl & .jsonld) for the /terms/ and each set of the vocabulary concepts in /vocabs/.
The text was updated successfully, but these errors were encountered: