Closed natuk closed 3 years ago
I can look for local concepts which have been matched to Getty AAT concepts with this query:
SELECT DISTINCT ?bodc ?aatc ?aatclf WHERE { { ?bodc a skos:Concept . ?bodc skos:exactMatch ?aatc . } SERVICE <http://vocab.getty.edu/sparql> { ?aatc a gvp:Concept . ?aatc xl:prefLabel ?aatcl . ?aatcl xl:literalForm ?aatclf . FILTER (lang(?aatclf) = "en") } } LIMIT 10
But when I tried to look for any type of match between local concept and AAT concepts, the query returns no results:
SELECT DISTINCT ?bodc ?aatc ?aatclf WHERE { { ?bodc a skos:Concept . ?bodc ?p ?aatc . ?p rdfs:subPropertyOf* skos:mappingRelation } SERVICE <http://vocab.getty.edu/sparql> { ?aatc a gvp:Concept . ?aatc xl:prefLabel ?aatcl . ?aatcl xl:literalForm ?aatclf . FILTER (lang(?aatclf) = "en") } } LIMIT 10
What do I do wrong?
The SKOS rdfs was not loaded. This is sorted now.
I can look for local concepts which have been matched to Getty AAT concepts with this query:
But when I tried to look for any type of match between local concept and AAT concepts, the query returns no results:
What do I do wrong?