Question: Does Hildesheim (the one whose population is 277300) or Aachen (the one whose NUTS code is DEA2D) have less elevation (above sea level) ?
Choices:
Kent County
Delaware County
Aachen
Orange County
African Union
Lee County
San Juan County
Greene County
Hildesheim
Washoe County
Answer: Hildesheim
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hildesheim" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "277300"^^xsd:double . } UNION { ?e <pred:name> "Aachen" . ?e <NUTS_code> ?pv_2 . ?pv_2 <pred:value> "DEA2D" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hildesheim
function: FilterNum
dependencies: 0
inputs: population
277300
=
function: Find
inputs: Aachen
function: FilterStr
dependencies: 2
inputs: NUTS code
DEA2D
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less