What is the {24 Hours of Le Mans entry} with the {MAX(laps completed)} whose {sponsor} is {Bentley}  ?
Which one of the 24 Hours of Le Mans entry had completed the most laps and Bentley was the sponsor?
What is the 24 Hours of Le Mans entry with the most laps completed whose sponsor is Bentley ?
SELECT ?q WHERE { ?q property:laps_completed ?y . ?q property:sponsor resource:Bentley . ?q rdf:type ontology:24_Hours_of_Le_Mans_entry }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q55096520>.

?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/P5349>.
?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/P859> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q27224> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q55096520 . ?ent wdt:P5349 ?obj . ?ent wdt:P859 wd:Q27224 } ORDER BY DESC(?obj)LIMIT 5 
1923 Bentley #8