Question: Does Grants Pass or Danbury have more population?
Choices:
Danbury
Columbus
New Haven
Greenville
Boulder
Oakland
Grants Pass
Waukegan
Franklin
Lansing
Program:
function: Find
inputs: Grants Pass
function: Find
inputs: Danbury
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grants Pass" .  } UNION { ?e <pred:name> "Danbury" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Danbury