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