Question: Among the independent city of Germany with less than 760000 square kilometre area, Which had the largest elevation above sea level?
Choices:
Crunk
Gold Medal of the Royal Astronomical Society
Max Casella
X-Men: The Last Stand
Weimar
Frankfurt (Oder)
Baden-Baden
Central Intelligence Agency
Bayreuth
Coburg
Answer: Bayreuth
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city of Germany" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "760000"^^xsd:double ) . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
760000 square kilometre
<
function: FilterConcept
dependencies: 1
inputs: independent city of Germany
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
largest