Question: Which has lower elevation above sea level, Rome (the one whose inception time is 1834) or Odessa (the one whose area is 117.676319 square kilometre)?
Choices:
Rome
Waukegan
Lansing
Compton
Odessa
New Haven
Franklin
Greenville
Columbus
Oakland
Answer: Rome
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rome" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1834 . } UNION { ?e <pred:name> "Odessa" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "117.676319"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Rome
function: FilterYear
dependencies: 0
inputs: inception
1834
=
function: Find
inputs: Odessa
function: FilterNum
dependencies: 2
inputs: area
117.676319 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less