Question: Which one has more elevation above sea level between Bloomington (the one whose official website is http://www.cityblm.org/) or Lansing?
Choices:
New Britain
Columbus
Boulder
Bloomington
Compton
Greenville
Oakland
Lansing
New Haven
Waukegan
Program:
function: Find
inputs: Bloomington
function: FilterStr
dependencies: 0
inputs: official website
http://www.cityblm.org/
function: Find
inputs: Lansing
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bloomington" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.cityblm.org/" . } UNION { ?e <pred:name> "Lansing" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lansing