query-61a940920ae46341cf8e68de9f213a9a
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX gvp: <http://vocab.getty.edu/ontology#>
SELECT
?gettySubjectURL ?wdSearchURL ?name ?id ?count
WHERE {
SERVICE <http://vocab.getty.edu/sparql.json> {
{ SELECT ?gettySubject ?name ?id (COUNT(?gettySubject) as ?count) {
?agent gvp:ulan1317_member_of ?gettySubject .
?gettySubject gvp:agentTypePreferred <http://vocab.getty.edu/aat/300055474>.
?gettySubject gvp:prefLabelGVP/gvp:term ?name .
?gettySubject dc:identifier ?id .
}
GROUP BY ?gettySubject ?name ?id
}
}
MINUS { ?item wdt:P245 ?id . }
BIND(URI(CONCAT("http://vocab.getty.edu/page/ulan/", ?id)) AS ?gettySubjectURL)
BIND(URI(CONCAT("https://www.wikidata.org/wiki/Special:Search/", ?name)) AS ?wdSearchURL)
}
ORDER BY DESC(?count)
#LIMIT 300