Question: Which region has the larger land area, Logan (established in 1859) or Madison (whose postal codes are 53701–53794)?
Choices:
Oakland
Compton
New Haven
Logan
Waukegan
Columbus
Madison
Franklin
Boulder
Greenville
Answer: Madison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Logan" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1859 . } UNION { ?e <pred:name> "Madison" . ?e <postal_code> ?pv_2 . ?pv_2 <pred:value> "53701–53794" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Logan
function: FilterYear
dependencies: 0
inputs: inception
1859
=
function: Find
inputs: Madison
function: FilterStr
dependencies: 2
inputs: postal code
53701–53794
function: SelectBetween
dependencies: 1
3
inputs: area
greater