Question: Which has a lower elevation above sea level, Hattiesburg or Lafayette, where Angela Kinsey was born?
Choices:
Oakland
Hattiesburg
Waukegan
Boulder
Lansing
New Haven
Compton
Franklin
Columbus
Lafayette
Program:
function: Find
inputs: Hattiesburg
function: Find
inputs: Angela Kinsey
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Lafayette
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hattiesburg" .  } UNION { ?e <pred:name> "Lafayette" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Angela Kinsey" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lafayette