Question: Which has less cost, Memento or The World Is Not Enough produced by Metro-Goldwyn-Mayer?
Choices:
Pleasantville
Memento
Talk to Her
The Fifth Element
The Hunchback of Notre Dame
The Towering Inferno
The World Is Not Enough
Training Day
Curse of the Golden Flower
Rebecca
Program:
function: Find
inputs: Memento
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: The World Is Not Enough
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Memento" .  } UNION { ?e <pred:name> "The World Is Not Enough" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Metro-Goldwyn-Mayer" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Memento