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