Question: Which one has more people living there, Redding or Wichita Falls ?
Choices:
Oakland
Lansing
Wichita Falls
Columbus
Greenville
Boulder
Franklin
Waukegan
Compton
New Haven
Program:
function: Find
inputs: Redding
function: Find
inputs: Wichita Falls
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Redding" .  } UNION { ?e <pred:name> "Wichita Falls" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Wichita Falls