Question: Which one has the smaller area, Ventura or Auburn (the one whose local dialing code is 530)?
Choices:
Compton
Columbus
Ventura
Oakland
Franklin
Waukegan
Boulder
Auburn
Greenville
Lansing
Program:
function: Find
inputs: Ventura
function: Find
inputs: Auburn
function: FilterStr
dependencies: 1
inputs: local dialing code
530
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ventura" . } UNION { ?e <pred:name> "Auburn" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "530" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Auburn