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