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