Question: Is the run-time longer on The Phantom of the Opera, with Lon Chaney as a cast member, or on Hilary and Jackie?
Choices:
The Fifth Element
Hilary and Jackie
The Hunchback of Notre Dame
Rebecca
Curse of the Golden Flower
Talk to Her
The Towering Inferno
Pleasantville
The Phantom of the Opera
Training Day
Answer: Hilary and Jackie
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Phantom of the Opera" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Lon Chaney" .   } UNION { ?e <pred:name> "Hilary and Jackie" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lon Chaney
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Phantom of the Opera
function: And
dependencies: 1
2
function: Find
inputs: Hilary and Jackie
function: SelectBetween
dependencies: 3
4
inputs: duration
greater