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