Question: Which has more area, Amsterdam that is the filming location of Ocean's Twelve or Canberra that is the headquarter location of the National Party of Australia?
Choices:
Canberra
Santo Domingo
Bergen
Kingston
Kilkenny
Amsterdam
Trieste
Cork
Dundee
Chihuahua
Answer: Canberra
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amsterdam" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Ocean's Twelve" .   } UNION { ?e <pred:name> "Canberra" . ?e_2 <headquarters_location> ?e . ?e_2 <pred:name> "National Party of Australia" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ocean's Twelve
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Amsterdam
function: And
dependencies: 1
2
function: Find
inputs: National Party of Australia
function: Relate
dependencies: 4
inputs: headquarters location
forward
function: Find
inputs: Canberra
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
greater