Question: Which cost less, Midnight in Paris or The Phantom of the Opera distributed by Warner Bros.?
Choices:
Rebecca
The Hunchback of Notre Dame
Training Day
Pleasantville
Midnight in Paris
A Prairie Home Companion
The Phantom of the Opera
Curse of the Golden Flower
The Towering Inferno
Talk to Her
Program:
function: Find
inputs: Midnight in Paris
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 1
inputs: distributor
backward
function: Find
inputs: The Phantom of the Opera
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: cost
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Midnight in Paris" .  } UNION { ?e <pred:name> "The Phantom of the Opera" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } ?e <cost> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Midnight in Paris