query-9f7fe820a5a8dd36051da364c36757b3
PLZ
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 ?item ?itemLabel ?hov
WHERE
{
?item wdt:P281 "09306".
optional {
?item wdt:P7046 ?hov.
}
?item wdt:P31 ?instanceof.
FILTER( ?instanceof!=wd:Q79007 )
SERVICE wikibase:label { bd:serviceParam wikibase:language "de". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?hov"):::projected
v1("?instanceof")
v2("?item"):::projected
c9(["de"]):::literal
c7(["bd:serviceParam"]):::iri
c3(["09306"]):::literal
f0[["?instanceof != 'wd:Q79007'"]]
f0 --> v1
v2 --"wdt:P281"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P7046".-> v3
end
v2 --"wdt:P31"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end