Question: Which is longer, The Wicker Man starring Christopher Lee or The Challenge produced by Warner Bros.?
Choices:
The Wicker Man
The Three Musketeers
Luther
The Music Man
A Christmas Carol
The Goodbye Girl
Shackleton
The Challenge
A Streetcar Named Desire
The Late Shift
Program:
function: Find
inputs: Christopher Lee
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Wicker Man
function: And
dependencies: 1
2
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 4
inputs: production company
backward
function: Find
inputs: The Challenge
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Wicker Man" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Christopher Lee" .   } UNION { ?e <pred:name> "The Challenge" . ?e <production_company> ?e_2 . ?e_2 <pred:name> "Warner Bros." .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Challenge