query-19670657e3d1522f13bf370459f25679
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
SELECT ?item ?prop ?wikiurl {
?ref pr:P143/wdt:P856 ?wikiurl .
MINUS { ?ref pr:P854 [] } .
?claim prov:wasDerivedFrom ?ref .
?item ?prop ?claim .
FILTER NOT EXISTS {
?item ^schema:about/schema:isPartOf ?url .
FILTER( STR( ?url ) = STR( ?wikiurl ) ) .
} .
} LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?claim")
v3("?item"):::projected
v6("?prop"):::projected
v4("?ref")
v1("?url")
v2("?wikiurl"):::projected
a3((" "))
a2((" "))
a1((" "))
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["str(?url) = str(?wikiurl)"]]
e0f0 --> e0v1
e0f0 --> e0v2
e0a1 --"schema:about"--> e0v3
e0a1 --"schema:isPartOf"--> e0v1
e0v3("?item"):::projected
e0v1("?url"):::projected
e0v2("?wikiurl"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> a1
f0 --> c1
f0 --> v3
f0 --> c2
f1[["str(?url) = str(?wikiurl)"]]
f1 --> v1
f1 --> v2
a1 --"schema:about"--> v3
a1 --"schema:isPartOf"--> v1
v4 --"pr:P143"--> a2
a2 --"wdt:P856"--> v2
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v4 --"pr:P854"--> a3
end
v5 --"prov:wasDerivedFrom"--> v4
v3 -->v6--> v5