Question: Does Decatur (whose start date is in the year 1823) or Fairfield (whose postal codes are 94533–94535) have the larger area?
Choices:
Greenville
Decatur
Fairfield
Waukegan
Lansing
Columbus
Oakland
Boulder
New Haven
Compton
Program:
function: Find
inputs: Decatur
function: FilterYear
dependencies: 0
inputs: inception
1823
=
function: Find
inputs: Fairfield
function: FilterStr
dependencies: 2
inputs: postal code
94533–94535
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Decatur" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1823 . } UNION { ?e <pred:name> "Fairfield" . ?e <postal_code> ?pv_2 . ?pv_2 <pred:value> "94533–94535" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Decatur