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