Question: Which has a lesser area, Ithaca (which contains Cornell University) or Syracuse (whose population is 144669)?
Choices:
Glen Cove
Elmira
Troy
Long Beach
Ithaca
Auburn
Glens Falls
White Plains
Yonkers
Utica
Program:
function: Find
inputs: Cornell University
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Ithaca
function: And
dependencies: 1
2
function: Find
inputs: Syracuse
function: FilterNum
dependencies: 4
inputs: population
144669
=
function: SelectBetween
dependencies: 3
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ithaca" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Cornell University" . } UNION { ?e <pred:name> "Syracuse" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "144669"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ithaca