query-4c44e955f199798bbfffd0ab799576b3
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
Use at
- https://query.wikidata.org/sparql
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:Q9682 ;
gas:traversalDirection "Forward" ;
gas:out ?item ;
gas:out1 ?depth ;
gas:maxIterations 100 ;
gas:linkType wdt:P40 .
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?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
c14(["wdt:P40"]):::iri
c12(["100^^xsd:integer"]):::literal
c16(["bd:serviceParam"]):::iri
c6(["wd:Q9682"]):::iri
c8(["Forward"]):::literal
c18(["#91;AUTO_LANGUAGE#93;,en"]):::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: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