Question: Is there less area in Menlo Park or in Waco where the local dialing code is 254?
Choices:
Columbus
Waco
Lansing
Menlo Park
Compton
Oakland
Franklin
Greenville
Boulder
New Haven
Program:
function: Find
inputs: Menlo Park
function: Find
inputs: Waco
function: FilterStr
dependencies: 1
inputs: local dialing code
254
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Menlo Park" . } UNION { ?e <pred:name> "Waco" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "254" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Menlo Park