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