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