Question: Which one is longer, Red Dragon starring Philip Seymour Hoffman or 2001: A Space Odyssey?
Choices:
Talk to Her
A Prairie Home Companion
The Hunchback of Notre Dame
Pleasantville
Training Day
2001: A Space Odyssey
Red Dragon
Curse of the Golden Flower
The Towering Inferno
Rebecca
Answer: 2001: A Space Odyssey
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Red Dragon" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Philip Seymour Hoffman" .   } UNION { ?e <pred:name> "2001: A Space Odyssey" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Philip Seymour Hoffman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Red Dragon
function: And
dependencies: 1
2
function: Find
inputs: 2001: A Space Odyssey
function: SelectBetween
dependencies: 3
4
inputs: duration
greater