query-05c1e5780760b3907ba42be0f64bf656
TODO
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 ?player ?playerLabel {
# basketball at the 2020 Summer Olympics – men's tournament
{?player wdt:P1344 wd:Q39080780}
UNION
# basketball at the 2020 Summer Olympics – men's 3x3 tournament
{?player wdt:P1344 wd:Q64369209}
UNION
# basketball at the 2020 Summer Olympics – men's 3x3 qualification
{?player wdt:P1344 wd:Q56276018}
?player wdt:P118 wd:Q155223.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}
ORDER BY ASC(?playerLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?player"):::projected
v1("?playerLabel"):::projected
c3(["wd:Q64369209"]):::iri
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;"]):::literal
c2(["wd:Q39080780"]):::iri
c4(["wd:Q56276018"]):::iri
c6(["wd:Q155223"]):::iri
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P1344"--> c4
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P1344"--> c3
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P1344"--> c2
end
union0r <== or ==> union0l
end
v2 --"wdt:P118"--> c6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end