Question: Is the longer work Brideshead Revisited, with Greta Scacchi as cast member, or Patch Adams, scripted by Steve Oedekerk?
Choices:
Patch Adams
The Fifth Element
Rebecca
The Hunchback of Notre Dame
Talk to Her
Curse of the Golden Flower
A Prairie Home Companion
Training Day
Brideshead Revisited
Pleasantville
Program:
function: Find
inputs: Greta Scacchi
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Brideshead Revisited
function: And
dependencies: 1
2
function: Find
inputs: Steve Oedekerk
function: Relate
dependencies: 4
inputs: screenwriter
backward
function: Find
inputs: Patch Adams
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brideshead Revisited" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Greta Scacchi" .   } UNION { ?e <pred:name> "Patch Adams" . ?e <screenwriter> ?e_2 . ?e_2 <pred:name> "Steve Oedekerk" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Brideshead Revisited