query-c3050836b8be0be8afb6f150f1d57007

rq turtle/ttl

All (item, property) pairs that use stated in (P248) referencing the property value

Use at

PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX r: <http://www.wikidata.org/prop/reference/>SELECT ?s ?p WHERE {
  ?srcStmt r:P248 ?src .               # all source statements
  ?stmt prov:wasDerivedFrom ?srcStmt . # all statements using source statements
  ?stmt ?stmtProp ?src .               # statements where the object references the source
  ?s ?p ?stmt .                        # subjects/predicates of these statements
} LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v6("?p"):::projected v5("?s"):::projected v2("?src") v1("?srcStmt") v3("?stmt") v4("?stmtProp") v1 --"p:reference/P248"--> v2 v3 --"prov:wasDerivedFrom"--> v1 v3 -->v4--> v2 v5 -->v6--> v3