Question: Which area has lower elevation above sea level, Huntington (the one whose inception time is 1870) or Waterloo (the one whose local dialing code is 319)?
Choices: Boulder
Waterloo
Huntington
Compton
Waukegan
Lansing
Columbus
Oakland
New Haven
Greenville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Huntington" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1870 . } UNION { ?e <pred:name> "Waterloo" . ?e <local_dialing_code> ?pv_2 . ?pv_2 <pred:value> "319" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Huntington
function: FilterYear
dependencies: 0
inputs: inception
1870
=
function: Find
inputs: Waterloo
function: FilterStr
dependencies: 2
inputs: local dialing code
319
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less
Answer: Huntington