query-9aeae0e14d963ca9a7d40eeb86d9d1f2
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item (GROUP_CONCAT(?clublabel;SEPARATOR=', ') AS ?clubs) ?itemLabel {
wd:Q704091 wdt:P1923 ?club .
?item wdt:P106 wd:Q937857 .
?item wdt:P118 wd:Q82595 .
?item wdt:P54 ?club . ?club rdfs:label ?clublabel . FILTER(lang(?clublabel)='de' )
SERVICE wikibase:label { bd:serviceParam wikibase:language "de". }
}
GROUP BY ?item ?itemLabel
ORDER BY DESC(?item)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?club")
v2("?clublabel"):::projected
v4("?clubs")
v1("?item"):::projected
c1(["de"]):::literal
c2(["wd:Q704091"]):::iri
c11(["bd:serviceParam"]):::iri
c7(["wd:Q82595"]):::iri
c5(["wd:Q937857"]):::iri
f0[["?clublabel = 'de'"]]
f0 --> v2
c2 --"wdt:P1923"--> v3
v1 --"wdt:P106"--> c5
v1 --"wdt:P118"--> c7
v1 --"wdt:P54"--> v3
v3 --"rdfs:label"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c1
end
bind2[/"?clublabel"/]
v2 --o bind2
bind2 --as--o v4