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