query-45644f1de5c3d918669c40a974883e98

rq turtle/ttl

title:List of statements with references having P1114 SELECT ?st ?prop ?propLabel ?val WHERE { hint:Query hint:optimizer "None". ?refnode pr:P1114 ?val. ?st prov:wasDerivedFrom ?refnode . BIND(wd:P1114 AS ?prop) SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en". } }

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#>
#title:List of statements with references having P1114
SELECT ?st ?prop ?propLabel ?val WHERE {

  ?refnode pr:P1114 ?val.
  ?st prov:wasDerivedFrom ?refnode .
  BIND(wd:P1114 AS ?prop)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "ja,en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?prop"):::projected v1("?refnode") v3("?st"):::projected v2("?val"):::projected c4(["bd:serviceParam"]):::iri c6(["ja,en"]):::literal v1 --"pr:P1114"--> v2 v3 --"prov:wasDerivedFrom"--> v1 bind0[/"'wd:P1114'"/] bind0 --as--o v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end