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