Question: Which one is longer, Around the World in 80 Days (featuring John Gielgud) or The Barbarian Invasions?
Choices:
The Fifth Element
Curse of the Golden Flower
Talk to Her
Pleasantville
The Hunchback of Notre Dame
The Barbarian Invasions
Training Day
The Towering Inferno
Around the World in 80 Days
A Prairie Home Companion
Program:
function: Find
inputs: John Gielgud
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Around the World in 80 Days
function: And
dependencies: 1
2
function: Find
inputs: The Barbarian Invasions
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Around the World in 80 Days" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Gielgud" .   } UNION { ?e <pred:name> "The Barbarian Invasions" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Around the World in 80 Days