query-ed25a7c1b990ece4f0aa58f3cbcdb4b9

rq turtle/ttl

14:19, 13 July 2021 (UTC) Jura. He does have known parents though. --- usual suspectFinds a descendant in the 42nd(?) generation of the 14:26, 13 July 2021 (UTC)) talk (Simon Villeneuve. wdt:P40 and wd:Q3044God! The only thing I understand in this query is ?depth ORDER BY } } ."[AUTO_LANGUAGE],en" language:wikibase serviceParam:bd { label:wikibase SERVICE } . P40:wdt linkType:gas ; 100 maxIterations:gas ; ?depth out1:gas ; ?item out:gas ; "Forward" traversalDirection:gas ; Q9682:wd in:gas ; "com.bigdata.rdf.graph.analytics.SSSP" gasClass:gas program:gas { service:gas SERVICE { WHERE ?depth ?itemLabel ?item SELECT 14:29, 13 July 2021 (UTC) Jurawithout MAX() and SAMPLE(), it might be easier to understand. --- 14:32, 13 July 2021 (UTC)) talk (Simon Villeneuve right ? by about 3 timesThe usual suspect been beaten Maybe.

Use at

PREFIX gas: <http://www.bigdata.com/rdf/gas#>
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#>
SELECT ?item ?itemLabel ?depth 
WHERE
{
  SERVICE gas:service {
    gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.SSSP" ;
                gas:in wd:Q3044 ;
                gas:traversalDirection "Forward" ;
                gas:out ?item ;
                gas:out1 ?depth ;
                gas:maxIterations 100 ;
                gas:linkType wdt:P22 .
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?depth)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?depth"):::projected v2("?item"):::projected c2(["gas:program"]):::iri c4(["com.bigdata.rdf.graph.analytics.SSSP"]):::literal c12(["100^^xsd:integer"]):::literal c14(["wdt:P22"]):::iri c16(["bd:serviceParam"]):::iri c8(["Forward"]):::literal c18(["#91;AUTO_LANGUAGE#93;,en"]):::literal c6(["wd:Q3044"]):::iri subgraph s1["http://www.bigdata.com/rdf/gas#service"] style s1 stroke-width:4px; c2 --"gas:gasClass"--> c4 c2 --"gas:in"--> c6 c2 --"gas:traversalDirection"--> c8 c2 --"gas:out"--> v2 c2 --"gas:out1"--> v1 c2 --"gas:maxIterations"--> c12 c2 --"gas:linkType"--> c14 end subgraph s2["http://wikiba.se/ontology#label"] style s2 stroke-width:4px; c16 --"wikibase:language"--> c18 end