Question: Does the longer run-time belong to Charlie's Angels, which precedes Charlie's Angels: Full Throttle, or Cleopatra, an Academy Award nominee for Best Costume Design?
Choices:
The Hunchback of Notre Dame
Curse of the Golden Flower
Charlie's Angels
A Prairie Home Companion
The Towering Inferno
Cleopatra
Rebecca
Training Day
Talk to Her
The Fifth Element
Answer: Cleopatra
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Charlie's Angels" . ?e_1 <follows> ?e . ?e_1 <pred:name> "Charlie's Angels: Full Throttle" .   } UNION { ?e <pred:name> "Cleopatra" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Costume Design" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Charlie's Angels: Full Throttle
function: Relate
dependencies: 0
inputs: follows
forward
function: Find
inputs: Charlie's Angels
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Costume Design
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Cleopatra
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater