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