Question: Which has lower elevation above sea level, Bloomington (the one that contains Indiana University) or Redlands?
Choices:
Compton
Lansing
Waukegan
New Haven
Greenville
Bloomington
Boulder
Franklin
Oakland
Columbus
Program:
function: Find
inputs: Indiana University
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Bloomington
function: And
dependencies: 1
2
function: Find
inputs: Redlands
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bloomington" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Indiana University" .   } UNION { ?e <pred:name> "Redlands" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bloomington