Question: Which one has moe population between Boston and Rocky Mount?
Choices:
Oakland
Boulder
Waukegan
New Haven
Boston
Franklin
Rocky Mount
Greenville
Columbus
Lansing
Program:
function: Find
inputs: Boston
function: Find
inputs: Rocky Mount
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Boston" .  } UNION { ?e <pred:name> "Rocky Mount" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Boston