Question: Is The Pink Panther 2 or Queen (produced by Anurag Kashyap) shorter in duration?
Choices:
A Prairie Home Companion
The Towering Inferno
The Hunchback of Notre Dame
Talk to Her
Rebecca
Pleasantville
The Pink Panther 2
Curse of the Golden Flower
Queen
Training Day
Program:
function: Find
inputs: The Pink Panther 2
function: Find
inputs: Anurag Kashyap
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: Queen
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Pink Panther 2" .  } UNION { ?e <pred:name> "Queen" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Anurag Kashyap" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Pink Panther 2