Question: Does The Mummy (the one whose composer is Brian Tyler) or The Big Lebowski cost less?
Choices:
A Prairie Home Companion
The Towering Inferno
Pleasantville
Curse of the Golden Flower
Talk to Her
The Hunchback of Notre Dame
The Big Lebowski
Training Day
The Mummy
Rebecca
Program:
function: Find
inputs: Brian Tyler
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: The Mummy
function: And
dependencies: 1
2
function: Find
inputs: The Big Lebowski
function: SelectBetween
dependencies: 3
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mummy" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Brian Tyler" .   } UNION { ?e <pred:name> "The Big Lebowski" .  } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Big Lebowski