query-fb0a91b3f4a0b2abc5c0c701fd76227a
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 ?species ?speciesLabel ?authorLabel WHERE {
?species p:P225 [ ps:P225 [] ; pq:P405 ?author ] .
?author wdt:P21 wd:Q6581072 .
?species wdt:P31 wd:Q16521 ; wdt:P171* wd:Q19159 .
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;
v1("?author")
v2("?species"):::projected
a2((" "))
a1((" "))
c5(["wd:Q6581072"]):::iri
c11(["bd:serviceParam"]):::iri
c9(["wd:Q19159"]):::iri
c13(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c7(["wd:Q16521"]):::iri
a1 --"p:statement/P225"--> a2
a1 --"p:qualifier/P405"--> v1
v2 --"p:P225"--> a1
v1 --"p:direct/P21"--> c5
v2 --"p:direct/P31"--> c7
v2 --"p:direct/P171"--> c9
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end