Question: Which area is larger, Redlands or Atlanta (the one whose postal code is 30353)?
Choices:
Compton
Waukegan
Franklin
Greenville
Columbus
Boulder
Oakland
Atlanta
New Haven
Lansing
Program:
function: Find
inputs: Redlands
function: Find
inputs: Atlanta
function: FilterStr
dependencies: 1
inputs: postal code
30353
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Redlands" . } UNION { ?e <pred:name> "Atlanta" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "30353" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Atlanta