Question: Which movie cost less to make, Wonder Woman (the one that has Danny Huston as a cast member) or Monty Python and the Holy Grail
Choices:
Pleasantville
The Fifth Element
Wonder Woman
Yellow Submarine
Training Day
Monty Python and the Holy Grail
Talk to Her
A Prairie Home Companion
Rebecca
The Towering Inferno
Answer: Monty Python and the Holy Grail
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wonder Woman" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Danny Huston" .   } UNION { ?e <pred:name> "Monty Python and the Holy Grail" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Danny Huston
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 1
2
function: Find
inputs: Monty Python and the Holy Grail
function: SelectBetween
dependencies: 3
4
inputs: cost
less