Question: Which area is larger, Fairfield (the one whose local dialing code is 203) or Andover?
Choices:
Andover
Greenwich
Bedford
Kensington
Amherst
Chapel Hill
Uxbridge
Fairfield
Brookline
Westport
Answer: Andover
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fairfield" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "203" . } UNION { ?e <pred:name> "Andover" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Fairfield
function: FilterStr
dependencies: 0
inputs: local dialing code
203
function: Find
inputs: Andover
function: SelectBetween
dependencies: 1
2
inputs: area
greater