Question: Which movie is longer, When in Rome (the one whose producer is Mary-Kate Olsen) or Paranormal Activity?
Choices: The Towering Inferno
Rebecca
The Fifth Element
The Hunchback of Notre Dame
Curse of the Golden Flower
When in Rome
Talk to Her
Training Day
Paranormal Activity
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "When in Rome" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Mary-Kate Olsen" .   } UNION { ?e <pred:name> "Paranormal Activity" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mary-Kate Olsen
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: When in Rome
function: And
dependencies: 1
2
function: Find
inputs: Paranormal Activity
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: When in Rome