Question: Does Thirteen Days or Rocky Balboa (that has Sylvester Stallone as a cast member) have the longer runtime?
Choices:
A Prairie Home Companion
Pleasantville
The Towering Inferno
Rebecca
Training Day
Thirteen Days
The Fifth Element
Talk to Her
Rocky Balboa
The Hunchback of Notre Dame
Answer: Thirteen Days
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thirteen Days" .  } UNION { ?e <pred:name> "Rocky Balboa" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Sylvester Stallone" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Thirteen Days
function: Find
inputs: Sylvester Stallone
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Rocky Balboa
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater