Question: Which has lower elevation above sea level, Livonia or Augusta (the one that is the formation location of Southern Baptist Convention)?
Choices:
Livonia
Waukegan
Franklin
Columbus
New Haven
Lansing
Greenville
Augusta
Compton
Oakland
Answer: Augusta
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Livonia" .  } UNION { ?e <pred:name> "Augusta" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> "Southern Baptist Convention" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Livonia
function: Find
inputs: Southern Baptist Convention
function: Relate
dependencies: 1
inputs: location of formation
forward
function: Find
inputs: Augusta
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less