Question: Which area is larger, New Rochelle or Burlington (the one whose inception time is 1833)?
Choices:
New Rochelle
Franklin
Columbus
Burlington
Boulder
Compton
New Haven
Lansing
Greenville
Oakland
Program:
function: Find
inputs: New Rochelle
function: Find
inputs: Burlington
function: FilterYear
dependencies: 1
inputs: inception
1833
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Rochelle" . } UNION { ?e <pred:name> "Burlington" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1833 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Burlington