query-7206762c59579eb34eb402043d8a2944
A couple of dozen cases where there are two IDs on an item.
Use at
- https://query.wikidata.org/sparql
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
SELECT DISTINCT ?item ?url WHERE {
?item ?prop ?claim.
?claim prov:wasDerivedFrom [ pr:P248 wd:Q104074149 ; pr:P854 ?url ]
FILTER CONTAINS(STR(?url),"/obet/")
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?claim")
v2("?item"):::projected
v3("?prop")
v1("?url"):::projected
a1((" "))
c3(["wd:Q104074149"]):::iri
f0[["contains(str(?url),'/obet/')"]]
f0 --> v1
v2 -->v3--> v4
a1 --"pr:P248"--> c3
a1 --"pr:P854"--> v1
v4 --"prov:wasDerivedFrom"--> a1