Question: Which one, Laguna Beach or Minot, has less population?
Choices:
Boulder
Waukegan
Laguna Beach
Oakland
Columbus
Compton
Lansing
Minot
Franklin
Greenville
Program:
function: Find
inputs: Laguna Beach
function: Find
inputs: Minot
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Laguna Beach" .  } UNION { ?e <pred:name> "Minot" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Laguna Beach