query-be335d75dbf67baf6bb069bc95143308
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 ?taxon ?taxonLabel ?parent_taxon ?parent_taxonLabel ?parent_taxon_name ?author ?authorLabel {
VALUES ?taxon { wd:Q158617 }
?taxon wdt:P171 ?parent_taxon .
?parent_taxon p:P225 [ ps:P225 ?parent_taxon_name; pq:P405 ?author ] .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?author"):::projected
v2("?parent_taxon"):::projected
v3("?parent_taxon_name"):::projected
v1("?taxon"):::projected
a1((" "))
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?taxon/]
bind0-->v1
bind00(["wd:Q158617"])
bind00 --> bind0
v1 --"p:direct/P171"--> v2
a1 --"p:statement/P225"--> v3
a1 --"p:qualifier/P405"--> v4
v2 --"p:P225"--> a1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end