Question: Which movie is longer, The Chronicles of Narnia: The Voyage of the Dawn Treader (the one that has Simon Pegg as a cast member) or The Brothers Bloom?
Choices:
Training Day
Talk to Her
Pleasantville
The Brothers Bloom
Rebecca
The Towering Inferno
The Chronicles of Narnia: The Voyage of the Dawn Treader
A Prairie Home Companion
The Fifth Element
The Hunchback of Notre Dame
Program:
function: Find
inputs: Simon Pegg
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Chronicles of Narnia: The Voyage of the Dawn Treader
function: And
dependencies: 1
2
function: Find
inputs: The Brothers Bloom
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Chronicles of Narnia: The Voyage of the Dawn Treader" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Simon Pegg" .   } UNION { ?e <pred:name> "The Brothers Bloom" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Chronicles of Narnia: The Voyage of the Dawn Treader