Question: Which one, The Challenge (the one whose production company is Warner Bros.) or The Phantom of the Opera (the one that has Lon Chaney as a cast member), has less duration?
Choices:
A Christmas Carol
The Phantom of the Opera
Luther
The Challenge
All Quiet on the Western Front
A Streetcar Named Desire
The Late Shift
The Three Musketeers
The Goodbye Girl
Shackleton
Answer: The Challenge
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Challenge" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "The Phantom of the Opera" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Lon Chaney" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Challenge
function: And
dependencies: 1
2
function: Find
inputs: Lon Chaney
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The Phantom of the Opera
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less