query-49eeadb5d44d939704a0cec81be21ca0
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 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 ?Begonia ?BegoniaLabel ?p225 (GROUP_CONCAT(?p405label;SEPARATOR=', ') AS ?authors) WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?Begonia wdt:P171 wd:Q158617.
?Begonia p:P225 [ ps:P225 ?p225; pq:P405 ?p405 ] .
?p405 rdfs:label ?p405label . FILTER(lang(?p405label)='en')
}
GROUP BY ?Begonia ?BegoniaLabel ?p225
ORDER BY ?p225
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?Begonia"):::projected
v5("?authors")
v1("?p225"):::projected
v4("?p405")
v2("?p405label"):::projected
a1((" "))
c3(["bd:serviceParam"]):::iri
c7(["wd:Q158617"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?p405label = 'en'"]]
f0 --> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
v3 --"p:direct/P171"--> c7
a1 --"p:statement/P225"--> v1
a1 --"p:qualifier/P405"--> v4
v3 --"p:P225"--> a1
v4 --"rdfs:label"--> v2
bind2[/"?p405label"/]
v2 --o bind2
bind2 --as--o v5