Question: Which has a smaller area, Yuma with the local dialing code of 928, or Butte?
Choices:
Boulder
Waukegan
Greenville
Butte
Franklin
New Haven
Oakland
Compton
Yuma
Columbus
Program:
function: Find
inputs: Yuma
function: FilterStr
dependencies: 0
inputs: local dialing code
928
function: Find
inputs: Butte
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Yuma" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "928" . } UNION { ?e <pred:name> "Butte" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Yuma