query-c50b5fa778dba7c5631491be32b0a113

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel where
{  { 
  select ?item (count(?P971) as ?P971count) 
  WHERE { 
    ?item wdt:P31 wd:Q24046192 . 
    ?item wdt:P971 wd:Q4663261 .
    ?item wdt:P971 ?P971. 
  } group by ?item }  filter(?P971count=1)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?P971") v4("?P971count") v2("?item"):::projected c5(["wd:Q4663261"]):::iri c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal c3(["wd:Q24046192"]):::iri f0[["?P971count = '1^^xsd:integer'"]] f0 --> v4 v2 --"wdt:P31"--> c3 v2 --"wdt:P971"--> c5 v2 --"wdt:P971"--> v3 bind2[/"count(?P971)"/] v3 --o bind2 bind2 --as--o v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end