Question: Which area has more people, Schenectady or Yonkers?
Choices:
Syracuse
Long Beach
Schenectady
Troy
Yonkers
Glens Falls
White Plains
Auburn
Glen Cove
Utica
Program:
function: Find
inputs: Schenectady
function: Find
inputs: Yonkers
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Schenectady" .  } UNION { ?e <pred:name> "Yonkers" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Yonkers