What is the {sporting event} with the {MAX(event distance)} whose {winner} is {Rudolf Caracciola}  ?
Which longest-distance sport made Rudolf Caracciola a champion?
Tell me the longest-distance sport in which Rudolf Caracciola is champion.
SELECT ?o WHERE { ?o rdf:type ontology:sporting_event . ?o property:winner resource:Rudolf_Caracciola . ?o property:event_distance ?d }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q16510064>.

?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3157>.
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj1.

?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1346> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q57365> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q16510064 . ?ent wdt:P3157 ?obj . ?ent wdt:P1346 wd:Q57365 } ORDER BY DESC(?obj)LIMIT 5 
1936 Monaco Grand Prix 1937 Italian Grand Prix 1935 Belgian Grand Prix 1932 German Grand Prix 1926 German Grand Prix