What is the {aircraft family} with the {MAX(time to altitude)} whose {instance of} is {aircraft family}  ?
What aircraft family as the highest fly time?
What is the aircraft family with the highest time to altitude whose instance of is aircraft family?
SELECT ?n WHERE { ?n rdf:type ontology:aircraft_family . ?n property:time_to_altitude ?r . ?n rdf:type ontology:aircraft_family }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q15056993>.

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

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q15056993 . ?ent wdt:P2362 ?obj . ?ent wdt:P31 wd:Q15056993 } ORDER BY DESC(?obj)LIMIT 5 
Alenia G.222 G.91T