Question: Which movie is longer, The Assassination of Jesse James by the Coward Robert Ford or Get Carter (the one that has Rachael Leigh Cook as a cast member)?
Choices:
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
The Assassination of Jesse James by the Coward Robert Ford
A Prairie Home Companion
Talk to Her
The Hunchback of Notre Dame
Training Day
Get Carter
Rebecca
Program:
function: Find
inputs: The Assassination of Jesse James by the Coward Robert Ford
function: Find
inputs: Rachael Leigh Cook
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Get Carter
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Assassination of Jesse James by the Coward Robert Ford" .  } UNION { ?e <pred:name> "Get Carter" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Rachael Leigh Cook" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Assassination of Jesse James by the Coward Robert Ford