query-031f443c70c51fdc1ac4ff9f6e11c997
Genera
Use at
- https://query.wikidata.org/sparql
PREFIX gas: <http://www.bigdata.com/rdf/gas#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?taxonName ?nomenclaturalType WHERE {
SERVICE gas:service {
gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.BFS" .
gas:program gas:in wd:Q729 . # Animalia
gas:program gas:out ?item .
gas:program gas:maxIterations 20 .
gas:program gas:maxVisited 2700000 .
gas:program gas:linkType wdt:P171 .
gas:program gas:traversalDirection "Reverse" .
}
?item wdt:P105 wd:Q34740 .
?item wdt:P225 ?taxonName .
?item wdt:P427/wdt:P225 ?nomenclaturalType .
}
ORDER BY ASC(?taxonName)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?nomenclaturalType"):::projected
v1("?taxonName"):::projected
a1((" "))
c2(["gas:program"]):::iri
c15(["Reverse"]):::literal
c11(["2700000^^xsd:integer"]):::literal
c6(["wd:Q729"]):::iri
c4(["com.bigdata.rdf.graph.analytics.BFS"]):::literal
c17(["wd:Q34740"]):::iri
c13(["wdt:P171"]):::iri
c9(["20^^xsd:integer"]):::literal
subgraph s1["http://www.bigdata.com/rdf/gas#service"]
style s1 stroke-width:4px;
c2 --"gas:gasClass"--> c4
c2 --"gas:in"--> c6
c2 --"gas:out"--> v2
c2 --"gas:maxIterations"--> c9
c2 --"gas:maxVisited"--> c11
c2 --"gas:linkType"--> c13
c2 --"gas:traversalDirection"--> c15
end
v2 --"wdt:P105"--> c17
v2 --"wdt:P225"--> v1
v2 --"wdt:P427"--> a1
a1 --"wdt:P225"--> v3