We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It might be worthwhile to simplify the JSON-LD a bit by using a more verbose context and referencing it from the json-ld. For example:
{ "@context": "http://project-open-data.github.io/context.json", "title": "HealthData.gov Catalog Hub", "homepage": "http://hub.healthdata.gov", "dataset": [ { "@id": "http://hub.healthdata.gov", "@type": "dcat:Catalog", "title": "HealthData.gov Catalog Hub", "homepage": "http://hub.healthdata.gov", "dataset": [ { "@id": "http://hub.healthdata.gov/dataset/7ab73b9c-238d-4a41-b789-679664810d02", "@type": "dcat:Dataset", "title": "Nursing Home Profile", "keyword": [ "complaint", "enforcement", "inspection", "nursing homes" ], ... } }, }, ... ] }
and then you'd serve up the context at http://project-open-data.github.io/context.json:
{ "@context": { "title": "http://purl.org/dc/terms/title", "homepage": "http://xmlns.com/foaf/0.1/homepage", "dataset": "http://www.w3.org/ns/dcat#dataset", "keyword": "http://www.w3.org/ns/dcat#keyword", ... } }
The main advantages are:
The text was updated successfully, but these errors were encountered:
Yeah, if I trusted POD to maintain a good JSON-LD context file. :-P
I'm not opposed to moving the namespaces into the context though, and I'd gladly accept a pull request that does it.
Sorry, something went wrong.
Merge pull request HHS#11 from GSA/develop
7a8d6d0
Merging for 1.25 release
No branches or pull requests
It might be worthwhile to simplify the JSON-LD a bit by using a more verbose context and referencing it from the json-ld. For example:
and then you'd serve up the context at http://project-open-data.github.io/context.json:
The main advantages are:
The text was updated successfully, but these errors were encountered: