query-50e905d59cb42047a0df6a756cc01489
was automatically further and gives a list of races that are both one step and several steps at the same time interestingly it finds races who changed their configuration over time. I promoted the most recent one as preferred rank. More importantly that second query is also generated :
Use at
- https://query.wikidata.org/sparql
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 where {
?item wdt:P31/wdt:P279* wd:Q15091377 .
{
?item wdt:P31/wdt:P279* wd:Q2912397 .
?item wdt:P31/wdt:P279* wd:Q1318941 .
} .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a1((" "))
a2((" "))
a3((" "))
c7(["bd:serviceParam"]):::iri
c4(["wd:Q2912397"]):::iri
c5(["wd:Q1318941"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q15091377"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P31"--> a2
a2 --"wdt:P279"--> c4
v1 --"wdt:P31"--> a3
a3 --"wdt:P279"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end