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