Question: Is the elevation higher in Ithaca, of the official website www.cityofithaca.org, or Auburn, an administrative division of Cayuga County?
Choices:
Syracuse
Elmira
Yonkers
Long Beach
White Plains
Auburn
Ithaca
Utica
Glens Falls
Troy
Program:
function: Find
inputs: Ithaca
function: FilterStr
dependencies: 0
inputs: official website
http://www.cityofithaca.org/
function: Find
inputs: Cayuga County
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
forward
function: Find
inputs: Auburn
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ithaca" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.cityofithaca.org/" . } UNION { ?e <pred:name> "Auburn" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Cayuga County" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Auburn