Question: Which has fewer people, San Rafael or Amarillo?
Choices:
Greenville
New Haven
Franklin
Lansing
Columbus
San Rafael
Boulder
Oakland
Compton
Amarillo
Program:
function: Find
inputs: San Rafael
function: Find
inputs: Amarillo
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Rafael" .  } UNION { ?e <pred:name> "Amarillo" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: San Rafael