What is the {1.2} with the {MAX(event distance)} ?
Which 1.2 has the longest occasion distance?
Which 1.2 has the longest event distance?
SELECT ?w WHERE { ?w rdf:type ontology:1.2 . ?w property:event_distance ?u }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q22231111>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3157>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .}
ORDER BY DESC(?obj)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q22231111 . ?ent wdt:P3157 ?obj } ORDER BY DESC(?obj)LIMIT 5 
2019 Tour de Okinawa 1992 Coppa Bernocchi 1993 Coppa Bernocchi 1994 Coppa Bernocchi 1995 Coppa Bernocchi