query-097beece40f3295f2f2dd41bc147a413
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 schema: <http://schema.org/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel {
?item p:P106/ps:P106/wdt:P279* wd:Q26270618 .
FILTER NOT EXISTS {
?item wdt:P1559 ?name .
}
?item wdt:P27 wd:Q183 .
?sitelink schema:about ?item; schema:isPartOf <https://de.wikipedia.org/> .
SERVICE wikibase:label { bd:serviceParam wikibase:language 'de,en' } .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?name")
v3("?sitelink")
a1((" "))
a2((" "))
c10([https://de.wikipedia.org/]):::iri
c12(["bd:serviceParam"]):::iri
c5(["wd:Q26270618"]):::iri
c7(["wd:Q183"]):::iri
c14(["de,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:direct/P1559"--> e0v2
e0v1("?item"):::projected
e0v2("?name"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"p:direct/P1559"--> v2
v1 --"p:P106"--> a1
a1 --"p:statement/P106"--> a2
a2 --"p:direct/P279"--> c5
v1 --"p:direct/P27"--> c7
v3 --"schema:about"--> v1
v3 --"schema:isPartOf"--> c10
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
end