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