Question: Does Bloomington (the one that contains Indiana University) or Coronado (the one whose postal code is 92118, 92178) have the greater elevation (above sea level)?
Choices: Columbus
Bloomington
Franklin
Boulder
Coronado
Compton
New Haven
Greenville
Lansing
Oakland
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> "Coronado" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "92118, 92178" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
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: Coronado
function: FilterStr
dependencies: 4
inputs: postal code
92118, 92178
function: SelectBetween
dependencies: 3
5
inputs: elevation above sea level
greater
Answer: Bloomington