Irene, the SPARQL that you gave works fine and returns all Taxonomies, Ontologies & Reference Data sets.
We have another requirement to write a SPARQL for fetching Taxonomies only but not others(Ontologies, Reference Datasets,.. ). For that, inspired from a SPARQL(given below), which is to fetch a specific Vocabulary's name and it's type (rdf:type) based on Graph URI, I tried adding one new line(?projectGraph rdf:type ?type .) to the SPARQL that you gave above for getting Vocabularies type also. But that returns zero results. Could you please help us here?
SPARQL to get specific Vocabulary's name and it's type(rdf:type)SELECT ?vocabName ?type
WHERE {
GRAPH <urn:x-evn-master:geo>{
<urn:x-evn-master:geo>rdfs:label ?vocabName .
<urn:x-evn-master:geo>rdf:type ?type . } .
FILTER (ui:label(?type)="
http://evn.topbraidlive.org/evnprojects#Taxonomy")
}
RESULT
SPARQL to get all vocabularies(Taxonomies, Ontologies, etc..) Grpah , name and typeSELECT ?projectGraph ?name ?type
On Tuesday, April 11, 2017 at 11:33:41 PM UTC+5:30, Irene Polikoff wrote: