Question: Is the longer work Cape Fear, with Telly Savalas as a cast member, or Why We Fight,  from France?
Choices:
Rebecca
A Prairie Home Companion
Why We Fight
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
The Fifth Element
Talk to Her
Training Day
Cape Fear
Answer: Cape Fear
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cape Fear" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Telly Savalas" .   } UNION { ?e <pred:name> "Why We Fight" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "France" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Telly Savalas
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Cape Fear
function: And
dependencies: 1
2
function: Find
inputs: France
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Why We Fight
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater