query-9f5ba64a4ef67d84a09799d3bbbd4778
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 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 ?author ?authorLabel (GROUP_CONCAT(?p225;SEPARATOR=', ') AS ?taxons) WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?Begonia wdt:P171 wd:Q158617.
?Begonia p:P225 [ ps:P225 ?p225; pq:P405 ?author ] .
}
GROUP BY ?author ?authorLabel
ORDER BY ?authorLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?Begonia")
v4("?author"):::projected
v1("?authorLabel"):::projected
v3("?p225"):::projected
v5("?taxons")
a1((" "))
c2(["bd:serviceParam"]):::iri
c6(["wd:Q158617"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v2 --"p:direct/P171"--> c6
a1 --"p:statement/P225"--> v3
a1 --"p:qualifier/P405"--> v4
v2 --"p:P225"--> a1
bind1[/"?p225"/]
v3 --o bind1
bind1 --as--o v5