query-4cc4db80e0fa3467b011803eff322ced
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
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#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel WHERE {
?item wdt:P31 wd:Q515;
wdt:P17 wd:Q224.
FILTER(NOT EXISTS {
?item rdfs:label ?lang_label.
FILTER(LANG(?lang_label) = "ca")
})
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?lang_label")
c6(["wd:Q224"]):::iri
c8(["bd:serviceParam"]):::iri
c4(["wd:Q515"]):::iri
c10(["fr"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?lang_label = 'ca'"]]
e0f0 --> e0v1
e0v2 --"rdfs:label"--> e0v1
e0v2("?item"):::projected
e0v1("?lang_label"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> c2
f1[["?lang_label = 'ca'"]]
f1 --> v1
v2 --"rdfs:label"--> v1
v2 --"wdt:P31"--> c4
v2 --"wdt:P17"--> c6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end