query-a04679cb4d26b3625c032b6317f4f1f4
However, as you perhaps found, this appears to be timing out.With SPARQL 1.1 the same query can also be written in an alternative way
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?name ?name_label WHERE {
?name wdt:P31/wdt:P279* wd:Q202444 .
FILTER NOT EXISTS {?name rdfs:label ?name_label filter (lang(?name_label) = "en")}
} LIMIT 10
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?name"):::projected
v1("?name_label"):::projected
a1((" "))
c5(["wd:Q202444"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?name_label = 'en'"]]
e0f0 --> e0v1
e0v2 --"rdfs:label"--> e0v1
e0v2("?name"):::projected
e0v1("?name_label"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> c2
f1[["?name_label = 'en'"]]
f1 --> v1
v2 --"rdfs:label"--> v1
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5