query-31c0773ca190a233315cb029a708f470

rq turtle/ttl

Woraus werden Brücken gebaut?

Use at

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 ?materialLabel (COUNT(?bruecke) AS ?number)
WHERE {
  ?bruecke wdt:P31/wdt:P279* wd:Q12280 .   #Brücke
  ?bruecke wdt:P186 ?material .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" }
} GROUP BY ?materialLabel
ORDER BY DESC(?number)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?bruecke"):::projected v3("?material") v4("?number") a1((" ")) c6(["bd:serviceParam"]):::iri c3(["wd:Q12280"]):::iri c8(["de,en"]):::literal v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v2 --"wdt:P186"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end bind1[/"count(?bruecke)"/] v2 --o bind1 bind1 --as--o v4