query-6f3bb75ebd06db5ce89cdf0cda32e52d

rq turtle/ttl

TODO

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?population ?time ?source WHERE {
  ?item p:P1082 [ ps:P1082 ?population; pq:P585 ?time; prov:wasDerivedFrom [ pr:P813 '2018-01-02T00:00:00Z'^^xsd:dateTime; pr:P248 ?source ] ] .
  FILTER(YEAR(?time) = 1901) .
  FILTER(?source != wd:Q29639091) .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?item"):::projected v3("?population"):::projected v1("?source"):::projected v2("?time"):::projected a1((" ")) a2((" ")) c6(["2018-01-02T00:00:00Z^^xsd:dateTime"]):::literal f0[["?source != 'wd:Q29639091'"]] f0 --> v1 f1[["year-from-dateTime(?time) = '1901^^xsd:integer'"]] f1 --> v2 a1 --"p:statement/P1082"--> v3 a1 --"p:qualifier/P585"--> v2 a2 --"p:reference/P813"--> c6 a2 --"p:reference/P248"--> v1 a1 --"prov:wasDerivedFrom"--> a2 v4 --"p:P1082"--> a1