query-471a58a5c4f9ee62fa4d4429a0ceb03e

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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Lieu de naissance des joueurs actuels de la NHL
#defaultView:Map

SELECT distinct ?itemLabel ?item ?lieu ?coord
WHERE 
{
  ?item  p:P118 ?ligue .
  ?ligue ps:P118 wd:Q1215892 ;
         pq:P580 [].
  minus {?ligue pq:P582 [] .}
?item wdt:P19 ?lieu .
?lieu wdt:P625 ?coord .
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; v4("?coord"):::projected v1("?item"):::projected v3("?lieu"):::projected v2("?ligue") a1((" ")) a2((" ")) c9(["bd:serviceParam"]):::iri c3(["wd:Q1215892"]):::iri c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"p:P118"--> v2 v2 --"p:statement/P118"--> c3 v2 --"p:qualifier/P580"--> a1 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v2 --"p:qualifier/P582"--> a2 end v1 --"p:direct/P19"--> v3 v3 --"p:direct/P625"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end