Question: Which area has lower elevation above sea level, Coronado (the one whose inception time is 1890-12-11) or Rochester (the one that is the formation location of Xerox)?
Choices:
Franklin
Lansing
New Haven
Columbus
Compton
Rochester
Coronado
Waukegan
Greenville
Boulder
Program:
function: Find
inputs: Coronado
function: FilterDate
dependencies: 0
inputs: inception
1890-12-11
=
function: Find
inputs: Xerox
function: Relate
dependencies: 2
inputs: location of formation
forward
function: Find
inputs: Rochester
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Coronado" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1890-12-11"^^xsd:date . } UNION { ?e <pred:name> "Rochester" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> "Xerox" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Coronado