Question: Which area has lower elevation above sea level, Joplin or Frederick (the one that is located in time zone Eastern Time Zone)?
Choices:
Columbus
Frederick
Greenville
Compton
Joplin
Lansing
Waukegan
Boulder
Oakland
New Haven
Answer: Frederick
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joplin" .  } UNION { ?e <pred:name> "Frederick" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Eastern Time Zone" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Joplin
function: Find
inputs: Eastern Time Zone
function: Relate
dependencies: 1
inputs: located in time zone
backward
function: Find
inputs: Frederick
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less