Question: Which movie cost less to make, Who Framed Roger Rabbit or The Proposition (the one that has David Wenham as a cast member)?
Choices:
Curse of the Golden Flower
The Fifth Element
Who Framed Roger Rabbit
Training Day
A Prairie Home Companion
Pleasantville
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
The Proposition
Program:
function: Find
inputs: Who Framed Roger Rabbit
function: Find
inputs: David Wenham
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Proposition
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Who Framed Roger Rabbit" .  } UNION { ?e <pred:name> "The Proposition" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "David Wenham" .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Proposition