query-be85e3099c4129bf9870643be8790adc
Naturschutzgebiete:
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?wd ?wdLabel $ref ?wpa WHERE {
?wd wdt:P31/wdt:P279* wd:Q759421 .
?wd p:P31 ?wds .
#OPTIONAL {
?wds pq:P217 ?ref .
#}
OPTIONAL {
?wd p:P809 ?wpaNode .
?wpaNode ps:P809 ?wpa .
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" . }
}
ORDER BY ?ref
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?ref"):::projected
v2("?wd"):::projected
v3("?wds")
v5("?wpa"):::projected
v4("?wpaNode")
a1((" "))
c3(["wd:Q759421"]):::iri
c9(["bd:serviceParam"]):::iri
c11(["de,en"]):::literal
v2 --"p:direct/P31"--> a1
a1 --"p:direct/P279"--> c3
v2 --"p:P31"--> v3
v3 --"p:qualifier/P217"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:P809".-> v4
v4 --"p:statement/P809"--> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end