query-3f9c7a20dae98b5cfb94b53fcb54b131

rq turtle/ttl

TODO

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 WHERE {

  ?item ?p ?statement.
  ?statement prov:wasDerivedFrom ?refNode. 
  ?refNode pr:P248 wd:Q98582343.
  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("?p") v4("?refNode") v3("?statement") c5(["bd:serviceParam"]):::iri c3(["wd:Q98582343"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 -->v2--> v3 v3 --"prov:wasDerivedFrom"--> v4 v4 --"pr:P248"--> c3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end