Question: Which area has more people, Morristown or Ridgefield?
Choices:
Morristown
Greenwich
Bedford
West Hartford
Ridgefield
Chapel Hill
Amherst
Kensington
Uxbridge
Westport
Program:
function: Find
inputs: Morristown
function: Find
inputs: Ridgefield
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Morristown" .  } UNION { ?e <pred:name> "Ridgefield" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ridgefield