query-43ea18250b01b8359887847f2440ca7a
Format
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 WHERE {
SERVICE gas:service {
gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.BFS" .
gas:program gas:in wd:Q756 . # Plantae
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:Q7432 .
?item wdt:P225 ?taxonName .
FILTER (CONTAINS(?taxonName, "'"))
}
ORDER BY ASC(?taxonName)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?taxonName"):::projected
c3(["gas:program"]):::iri
c16(["Reverse"]):::literal
c12(["2700000^^xsd:integer"]):::literal
c5(["com.bigdata.rdf.graph.analytics.BFS"]):::literal
c18(["wd:Q7432"]):::iri
c14(["wdt:P171"]):::iri
c7(["wd:Q756"]):::iri
c10(["20^^xsd:integer"]):::literal
f0[["contains(?taxonName,''')"]]
f0 --> v1
subgraph s1["http://www.bigdata.com/rdf/gas#service"]
style s1 stroke-width:4px;
c3 --"gas:gasClass"--> c5
c3 --"gas:in"--> c7
c3 --"gas:out"--> v2
c3 --"gas:maxIterations"--> c10
c3 --"gas:maxVisited"--> c12
c3 --"gas:linkType"--> c14
c3 --"gas:traversalDirection"--> c16
end
v2 --"wdt:P105"--> c18
v2 --"wdt:P225"--> v1