Question: Which has the larger area, Amsterdam, where The Bourne Supremacy was filmed, or Nelson, which was founded in 1841?
Choices:
Bergen
Nelson
Cork
Chihuahua
Dundee
Kingston
Kilkenny
Amsterdam
Trieste
Santo Domingo
Program:
function: Find
inputs: The Bourne Supremacy
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Amsterdam
function: And
dependencies: 1
2
function: Find
inputs: Nelson
function: FilterYear
dependencies: 4
inputs: inception
1841
=
function: SelectBetween
dependencies: 3
5
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amsterdam" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "The Bourne Supremacy" . } UNION { ?e <pred:name> "Nelson" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1841 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Nelson