query-2bc55ab564d4d84a737c1101cd1cc680
Oldest male living tennis players who won a Grand Slam singles titleWhile ago I requested a query on oldest living tennis players (limit 110 years) which resulted in: 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 ?item ?itemLabel ?birth ?genderLabel ?age WHERE {
?item wdt:P106 wd:Q10833314 ; wdt:P569 ?birth ; wdt:P21 ?gender .
MINUS { ?item wdt:P570 [] } .
BIND(YEAR(now())-YEAR(?birth) as ?age) .
FILTER ( ?age < 110 )
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?age)
LIMIT 100
Query found at
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2019/07
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2021/02
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?age"):::projected
v3("?birth"):::projected
v4("?gender")
v2("?item"):::projected
a1((" "))
c3(["wd:Q10833314"]):::iri
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?age < '110^^xsd:integer'"]]
f0 --> v5
v2 --"wdt:P106"--> c3
v2 --"wdt:P569"--> v3
v2 --"wdt:P21"--> v4
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P570"--> a1
end
bind2[/"year-from-dateTime(NOW()) - year-from-dateTime(?birth)"/]
v3 --o bind2
bind2 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end