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