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