query-abb350a9b945c501f2ecbb4f635ad5fb
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 bd: <http://www.bigdata.com/rdf#>
SELECT distinct ?item ?itemLabel where
{
{
select ?item where
{
?item wdt:P131+ wd:Q176 .
}
} ?item wdt:P31/wdt:P279* wd:Q1370598 .
FILTER NOT EXISTS { ?item wdt:P5599 ?thing .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
} order by ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?itemLabel"):::projected
v3("?thing")
a1((" "))
c8(["bd:serviceParam"]):::iri
c6(["wd:Q1370598"]):::iri
c10(["fr"]):::literal
c3(["wd:Q176"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P5599"--> e0v2
e0v1("?item"):::projected
e0v2("?thing"):::projected
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> v3
v2 --"wdt:P5599"--> v3
v2 --"wdt:P131"--> c3
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end