Question: Tell me the one with the least cost, Star Trek (which was directed by J.J. Abrams) or Kill Bill Volume 1.
Choices:
The Fifth Element
Star Trek
Kill Bill Volume 1
Talk to Her
Training Day
Pleasantville
A Prairie Home Companion
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
Answer: Kill Bill Volume 1
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Trek" . ?e <director> ?e_1 . ?e_1 <pred:name> "J. J. Abrams" .   } UNION { ?e <pred:name> "Kill Bill Volume 1" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: J. J. Abrams
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Star Trek
function: And
dependencies: 1
2
function: Find
inputs: Kill Bill Volume 1
function: SelectBetween
dependencies: 3
4
inputs: cost
less