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