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