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