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