Question: Does Clash of the Titans, featuring Ralph Fiennes as a cast member, or Lincoln, featuring Joseph Gordon-Levitt, have the longer run-time?
Choices:
Lincoln
Talk to Her
The Fifth Element
The Towering Inferno
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
Training Day
Curse of the Golden Flower
Clash of the Titans
Program:
function: Find
inputs: Ralph Fiennes
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Clash of the Titans
function: And
dependencies: 1
2
function: Find
inputs: Joseph Gordon-Levitt
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Lincoln
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Clash of the Titans" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ralph Fiennes" .   } UNION { ?e <pred:name> "Lincoln" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Joseph Gordon-Levitt" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lincoln