Question: Does the longer run-time belong to Marley or to The Proposition, with Robert Loggia as a cast member?
Choices:
Curse of the Golden Flower
The Towering Inferno
Marley
Talk to Her
The Proposition
The Fifth Element
Pleasantville
A Prairie Home Companion
Rebecca
The Hunchback of Notre Dame
Program:
function: Find
inputs: Marley
function: Find
inputs: Robert Loggia
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: The Proposition
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Marley" .  } UNION { ?e <pred:name> "The Proposition" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Robert Loggia" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Marley