query-fb452eb4ac9fe69d322d26a23e25079a
130 (auxiliary) WFM Dictionary No. Views
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 bd: <http://www.bigdata.com/rdf#>
#Canidae mapped by genus and species.
#defaultView:TreeMap
SELECT ?family ?familyLabel ?genus ?genusLabel ?species ?speciesLabel
WHERE
{
BIND(wd:Q25324 AS ?family) .
?species wdt:P171 ?genus.
?genus wdt:P171 ?family.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
Query found at
- https://www.wikidata.org/wiki/User:Charles_Matthews/SPARQL_workshop_12_May_2019
- https://www.wikidata.org/wiki/Wikidata:WikiFactMine/Core_SPARQL
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?family"):::projected
v3("?genus"):::projected
v2("?species"):::projected
c3(["bd:serviceParam"]):::iri
c5(["en"]):::literal
bind0[/"'wd:Q25324'"/]
bind0 --as--o v1
v2 --"wdt:P171"--> v3
v3 --"wdt:P171"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end