Question: Does The Phantom of the Opera (whose director is Lon Chaney) or Boogie Nights have the longer runtime?
Choices:
Training Day
The Fifth Element
The Phantom of the Opera
Rebecca
Boogie Nights
The Hunchback of Notre Dame
A Prairie Home Companion
The Towering Inferno
Talk to Her
Pleasantville
Answer: Boogie Nights
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Phantom of the Opera" . ?e <director> ?e_1 . ?e_1 <pred:name> "Lon Chaney" .   } UNION { ?e <pred:name> "Boogie Nights" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lon Chaney
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: The Phantom of the Opera
function: And
dependencies: 1
2
function: Find
inputs: Boogie Nights
function: SelectBetween
dependencies: 3
4
inputs: duration
greater