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