Question: Which movie is shorter, There's Something About Mary or The Fighter (the one whose producer is Ryan Kavanaugh)?
Choices:
The Towering Inferno
There's Something About Mary
The Fifth Element
The Fighter
A Prairie Home Companion
Curse of the Golden Flower
Pleasantville
Talk to Her
Rebecca
The Hunchback of Notre Dame
Answer: There's Something About Mary
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "There's Something About Mary" .  } UNION { ?e <pred:name> "The Fighter" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Ryan Kavanaugh" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: There's Something About Mary
function: Find
inputs: Ryan Kavanaugh
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: The Fighter
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less