Skip to content

Instantly share code, notes, and snippets.

@gkellogg
Last active December 19, 2016 17:08
Show Gist options
  • Save gkellogg/d80b4dde9acc64bd7cf2154c27634b83 to your computer and use it in GitHub Desktop.
Save gkellogg/d80b4dde9acc64bd7cf2154c27634b83 to your computer and use it in GitHub Desktop.
Example ShExJ files and context compatible with JSON-LD
{
"@context": "https://gist.githubusercontent.com/gkellogg/d80b4dde9acc64bd7cf2154c27634b83/raw/eaca2a6d4f9f192e53a1a0fd3ee6db91d0153f48/context.jsonld",
"type": "Schema",
"shapes":{
"http://a.example/S1": {
"type": "Shape"
}
}
}
{
"@context": {
"@vocab": "http://shexspec.github.io/ns#",
"shex": "http://shexspec.github.io/ns#",
"type": "@type",
"Shape": "shex:Shape",
"shapes": {"@id": "shex:shapes", "@type": "@id"}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment