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