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