Question: Which costed more, Monty Python and the Holy Grail or Rush (the one that is a notable work of Peter Morgan)?
Choices:
Training Day
The Towering Inferno
Rush
Monty Python and the Holy Grail
The Fifth Element
Talk to Her
Rebecca
A Prairie Home Companion
Curse of the Golden Flower
The Hunchback of Notre Dame
Answer: Rush
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monty Python and the Holy Grail" .  } UNION { ?e <pred:name> "Rush" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> "Peter Morgan" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Monty Python and the Holy Grail
function: Find
inputs: Peter Morgan
function: Relate
dependencies: 1
inputs: notable work
forward
function: Find
inputs: Rush
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
greater