query-ff9cb1d6d262a47bccaba239c97b4992
title:Things that are described by an English language resource but lack an English label SELECT ?item ?url ?sites WHERE { ?item p:P973 ?s. ?s ps:P973 ?url . ?s pq:P407 wd:Q1860 . ?item wikibase:sitelinks ?sites FILTER NOT EXISTS{?item rdfs:label ?label FILTER(LANG(?label) = "en") } } ORDER BY DESC(?sites)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
#title:Things that are described by an English language resource but lack an English label
SELECT ?item ?url ?sites WHERE {
?item p:P973 ?s. ?s ps:P973 ?url . ?s pq:P407 wd:Q1860 .
?item wikibase:sitelinks ?sites
FILTER NOT EXISTS{?item rdfs:label ?label FILTER(LANG(?label) = "en") }
} ORDER BY DESC(?sites)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v2("?label")
v4("?s")
v1("?sites"):::projected
v5("?url"):::projected
c6(["wd:Q1860"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?label = 'en'"]]
e0f0 --> e0v1
e0v2 --"rdfs:label"--> e0v1
e0v2("?item"):::projected
e0v1("?label"):::projected
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> v3
f0 --> c2
f1[["?label = 'en'"]]
f1 --> v2
v3 --"rdfs:label"--> v2
v3 --"p:P973"--> v4
v4 --"p:statement/P973"--> v5
v4 --"p:qualifier/P407"--> c6
v3 --"wikibase:sitelinks"--> v1