Skip to content

Instantly share code, notes, and snippets.

@scogle
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scogle/471166e99b1b1a25b82f to your computer and use it in GitHub Desktop.
Save scogle/471166e99b1b1a25b82f to your computer and use it in GitHub Desktop.
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