query-46681b26df498e1e6a879c584d59c1c9
old-style query only returns ~900, and most of those seem to be out of date (due to the way the constraint violation is updated). The
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?should_link_via_P910_to ?should_link_via_P910_toLabel
WHERE
{
?should_link_via_P910_to wdt:P301 ?item .
FILTER NOT EXISTS { ?item wdt:P910 ?should_link_via_P910_to } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } .
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?should_link_via_P910_to"):::projected
c4(["bd:serviceParam"]):::iri
c6(["en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P910"--> e0v2
e0v1("?item"):::projected
e0v2("?should_link_via_P910_to"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P910"--> v2
v2 --"wdt:P301"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end