Question: Which has greater area, Westport or Bedford  whose postal code is 10506?
Choices: Morristown
Brookline
Westport
West Hartford
Bedford
Chapel Hill
Litchfield
Amherst
Uxbridge
Kensington
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Westport" . } UNION { ?e <pred:name> "Bedford" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "10506" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Westport
function: Find
inputs: Bedford
function: FilterStr
dependencies: 1
inputs: postal code
10506
function: SelectBetween
dependencies: 0
2
inputs: area
greater
Answer: Bedford