What is the {optical telescope} with the {MIN(focal length)} whose {country} is {Spain}  ?
Which optical telescope located in Spain has the minimum focal length?
In Spain, which optical telescope has the minimum focal length?
SELECT ?k WHERE { ?k property:country resource:Spain . ?k rdf:type ontology:optical_telescope . ?k property:focal_length ?g }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q35273>.

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

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q35273 . ?ent wdt:P2151 ?obj . ?ent wdt:P17 wd:Q29} ORDER BY ASC(?obj)LIMIT 5 
Dutch Open Telescope Isaac Newton Telescope ESA Optical Ground Station Swedish Solar Telescope Galileo National Telescope