Question: Which area is smaller, Great Falls or Peoria?
Choices:
Waukegan
Lansing
Columbus
Compton
Boulder
Franklin
Greenville
New Haven
Oakland
Great Falls
Program:
function: Find
inputs: Great Falls
function: Find
inputs: Peoria
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Great Falls" .  } UNION { ?e <pred:name> "Peoria" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Great Falls