Question: Does The Phantom of the Opera (that has Michael Gough as a cast member) or Snow Falling on Cedars have the longer runtime?
Choices:
Training Day
Curse of the Golden Flower
Pleasantville
The Fifth Element
Snow Falling on Cedars
Talk to Her
The Phantom of the Opera
The Towering Inferno
The Hunchback of Notre Dame
Rebecca
Program:
function: Find
inputs: Michael Gough
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Phantom of the Opera
function: And
dependencies: 1
2
function: Find
inputs: Snow Falling on Cedars
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Phantom of the Opera" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Michael Gough" .   } UNION { ?e <pred:name> "Snow Falling on Cedars" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Snow Falling on Cedars