Question: Is there a greater area in Elmira or in Utica?
Choices:
Yonkers
Glens Falls
Long Beach
Glen Cove
Elmira
Ithaca
Syracuse
Utica
White Plains
Auburn
Program:
function: Find
inputs: Elmira
function: Find
inputs: Utica
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Elmira" .  } UNION { ?e <pred:name> "Utica" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Utica