Skip to content

Instantly share code, notes, and snippets.

@scogle
Last active August 29, 2015 14:07
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Example results of a SPARQL query for tree data
{
"keys": ["thisClass", "superClass", "instances"],
"0": { "instances": 0,
"thisClass": "<http://ontologies.semanticarts.com/gist#Equipment>",
"superClass": "<http://ontologies.semanticarts.com/gist#PhysicalIdentifiableItem>" },
"1": { "instances": 0,
"thisClass": "<http://ontologies.semanticarts.com/gist#SomeParentClass>",
"superClass": "None" },
"2": { "instances": 1,
"thisClass": "<http://ontologies.semanticarts.com/gist#SomeChildClass>",
"superClass": "<http://ontologies.semanticarts.com/gist#SomeParentClass>" },
"3": { "instances": 3,
"thisClass": "<http://ontologies.semanticarts.com/gist#AnotherChildClass>",
"superClass": "<http://ontologies.semanticarts.com/gist#SomeParentClass>" }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment