Question: Which movie cost less to make, Tango & Cash or The Notebook (the one that has Toby Emmerich as an executive producer)?
Choices:
Pleasantville
The Fifth Element
The Towering Inferno
Rebecca
Curse of the Golden Flower
The Notebook
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
Tango & Cash
Program:
function: Find
inputs: Tango & Cash
function: Find
inputs: Toby Emmerich
function: Relate
dependencies: 1
inputs: executive producer
backward
function: Find
inputs: The Notebook
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tango & Cash" .  } UNION { ?e <pred:name> "The Notebook" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Toby Emmerich" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Notebook