What is the {aerospace manufacturer} with the {MIN(total revenue)} whose {headquarters location} is {Otrokovice}  ?
What's the name of the aerospace manufacturer located in Otrokovice with the least total revenue
Name the aerospace manufacturer located in Otrokovice that has the least total revenue?
SELECT ?v WHERE { ?v property:total_revenue ?j . ?v rdf:type ontology:aerospace_manufacturer . ?v property:headquarters_location resource:Otrokovice }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q936518>.

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

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q936518 . ?ent wdt:P2139 ?obj . ?ent wdt:P159 wd:Q1009095} ORDER BY ASC(?obj)LIMIT 5 
Zlin Aircraft