Question: Is the elevation relative to sea level lower in Detroit, workplace of John Conyers, or in Arlington?
Choices:
Oakland
Boulder
Waukegan
New Haven
Franklin
Detroit
Columbus
Greenville
Arlington
Compton
Program:
function: Find
inputs: John Conyers
function: Relate
dependencies: 0
inputs: work location
forward
function: Find
inputs: Detroit
function: And
dependencies: 1
2
function: Find
inputs: Arlington
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Detroit" . ?e_1 <work_location> ?e . ?e_1 <pred:name> "John Conyers" .   } UNION { ?e <pred:name> "Arlington" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Detroit