query-a45645a4972096262228279c3859134c

rq turtle/ttl

All items with StatsCan code and no PopulationCurrently 3,200+

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?statCanCode
WHERE 
{
  ?item wdt:P3012 ?statCanCode
  FILTER ( NOT EXISTS { ?item  wdt:P1082 [] } )  
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v2("?statCanCode"):::projected a1((" ")) c4(["bd:serviceParam"]):::iri c6(["#91;AUTO_LANGUAGE#93;"]):::literal f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P1082"--> e0a1 e0v1("?item"):::projected e0a1((" ")):::projected end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> a1 v1 --"wdt:P1082"--> a1 v1 --"wdt:P3012"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end