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