query-1a62325bbda985cde3febda13fb2aafd
TODO
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 ?depth WHERE {
VALUES ?to {wd:Q49870}
SERVICE gas:service {
gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.SSSP" .
gas:program gas:linkType wdt:P197 .
gas:program gas:in wd:Q1948428 .
gas:program gas:out ?station .
gas:program gas:out1 ?depth .
gas:program gas:maxIterations 20 .
}
FILTER (?station = ?to)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?depth"):::projected
v1("?station")
v3("?to")
c6(["wdt:P197"]):::iri
c2(["gas:program"]):::iri
c8(["wd:Q1948428"]):::iri
c4(["com.bigdata.rdf.graph.analytics.SSSP"]):::literal
c12(["20^^xsd:integer"]):::literal
f0[["?station = ?to"]]
f0 --> v1
f0 --> v3
bind1[/VALUES ?to/]
bind1-->v3
bind10(["wd:Q49870"])
bind10 --> bind1
subgraph s1["http://www.bigdata.com/rdf/gas#service"]
style s1 stroke-width:4px;
c2 --"gas:gasClass"--> c4
c2 --"gas:linkType"--> c6
c2 --"gas:in"--> c8
c2 --"gas:out"--> v1
c2 --"gas:out1"--> v3
c2 --"gas:maxIterations"--> c12
end