Question: Which has the larger area, Arcadia, where Wil Wheaton lives, or Rome, which was founded in 1834?
Choices: Greenville
Columbus
Lansing
Boulder
Arcadia
Rome
Compton
New Haven
Oakland
Franklin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Arcadia" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Wil Wheaton" . } UNION { ?e <pred:name> "Rome" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1834 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Wil Wheaton
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Arcadia
function: And
dependencies: 1
2
function: Find
inputs: Rome
function: FilterYear
dependencies: 4
inputs: inception
1834
=
function: SelectBetween
dependencies: 3
5
inputs: area
greater
Answer: Rome