query-bc386ee0589258b1753648f49955785c
Gib mir alle Brücken!
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 ?bruecke ?brueckeLabel (SAMPLE(?picture) AS ?pic)
WHERE {
?bruecke wdt:P31/wdt:P279* wd:Q12280 . #Brücke
OPTIONAL { ?bruecke wdt:P18 ?picture }
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" }
} GROUP BY ?bruecke ?brueckeLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?bruecke"):::projected
v3("?pic")
v2("?picture"):::projected
a1((" "))
c6(["bd:serviceParam"]):::iri
c3(["wd:Q12280"]):::iri
c8(["de,en"]):::literal
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
bind1[/"sample(?picture)"/]
v2 --o bind1
bind1 --as--o v3