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