query-d327e12faa39bddc0bde1cd1cbbb48d1

rq turtle/ttl

Url and language. Is the query correct? Base on the results, I think is OK, but I need a second opinion. (Q9129)Greek and (Q1860)English -> (P407)language of work or name with also (at the same reference) http://www.cystat.gov.cy/mof/cystat/statistics.nsf/All/49231EC7D83BD403C2257DCD00356DBF/$file/POP_CEN_76-POP&HH_PLACE_RESID-140115.xls?OpenElement -> (P854)reference URL Hello. I trying to make a query like your example. Hello. I want to find all items that have a reference with

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel {
  ?item ?prop ?statement.
  ?statement prov:wasDerivedFrom ?ref.
  ?ref pr:P854 <http://www.cystat.gov.cy/mof/cystat/statistics.nsf/All/49231EC7D83BD403C2257DCD00356DBF/$file/POP_CEN_76-POP&HH_PLACE_RESID-140115.xls?OpenElement>.
  ?ref pr:P407 wd:Q1860.
  ?ref pr:P407 wd:Q9129.
  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; v1("?item"):::projected v2("?prop") v4("?ref") v3("?statement") c8(["bd:serviceParam"]):::iri c3([http://www.cystat.gov.cy/mof/cystat/statistics.nsf/All/49231EC7D83BD403C2257DCD00356DBF/$file/POP_CEN_76-POP&HH_PLACE_RESID-140115.xls?OpenElement]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal c5(["wd:Q1860"]):::iri c6(["wd:Q9129"]):::iri v1 -->v2--> v3 v3 --"prov:wasDerivedFrom"--> v4 v4 --"pr:P854"--> c3 v4 --"pr:P407"--> c5 v4 --"pr:P407"--> c6 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end