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