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