Question: Which movie cost more to make, Rush (the one that received BAFTA Award for Best Editing) or The Patriot (the one whose producer is Steven Oscar Seagal)?
Choices:
Curse of the Golden Flower
The Towering Inferno
Rush
The Fifth Element
A Prairie Home Companion
Pleasantville
Talk to Her
The Hunchback of Notre Dame
Rebecca
Training Day
Answer: Rush
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rush" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Editing" .   } UNION { ?e <pred:name> "The Patriot" . ?e <producer> ?e_2 . ?e_2 <pred:name> "Steven Oscar Seagal" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: BAFTA Award for Best Editing
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Rush
function: And
dependencies: 1
2
function: Find
inputs: Steven Oscar Seagal
function: Relate
dependencies: 4
inputs: producer
backward
function: Find
inputs: The Patriot
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: cost
greater