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