Question: Does Beaumont or Lafayette, which was created in 1853, have a larger area?
Choices:
Greenville
Lansing
Beaumont
New Haven
Columbus
Boulder
Compton
Franklin
Oakland
Waukegan
Program:
function: Find
inputs: Beaumont
function: Find
inputs: Lafayette
function: FilterYear
dependencies: 1
inputs: inception
1853
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beaumont" . } UNION { ?e <pred:name> "Lafayette" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1853 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Beaumont