Question: Which one, The Hours (the one that mainly depicts Virginia Woolf) or Mission: Impossible (the one that is followed by Mission: Impossible II), has greater duration?
Choices: Curse of the Golden Flower
Pleasantville
Training Day
A Prairie Home Companion
The Towering Inferno
Rebecca
The Hours
Talk to Her
Mission: Impossible
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Hours" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "Virginia Woolf" .   } UNION { ?e <pred:name> "Mission: Impossible" . ?e <followed_by> ?e_2 . ?e_2 <pred:name> "Mission: Impossible II" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Virginia Woolf
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: The Hours
function: And
dependencies: 1
2
function: Find
inputs: Mission: Impossible II
function: Relate
dependencies: 4
inputs: followed by
backward
function: Find
inputs: Mission: Impossible
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: The Hours