What is the {Soyuz 7K-OK} with the {MAX(orbital inclination)} whose {instance of} is {unmanned spaceflight}  ?
Which is the highest orbit of any Soyuz 7K-OK unmanned spaceship?
Which Soyuz 7K-OK unmanned spaceship has the highest orbit?
SELECT ?s WHERE { ?s rdf:type ontology:unmanned_spaceflight . ?s property:orbital_inclination ?y . ?s rdf:type ontology:Soyuz_7K-OK }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1956962>.

?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/P2045>.
?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/Q512399> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q1956962 . ?ent wdt:P2045 ?obj . ?ent wdt:P31 wd:Q512399 } ORDER BY DESC(?obj)LIMIT 5 
Kosmos 186 and Kosmos 188 Soyuz 2 Cosmos 188 Kosmos 238 Kosmos 212