Question: Is the duration greater for Twister (the one that has Harry Dean Stanton as a cast member) or A Fish Called Wanda?
Choices:
The Hunchback of Notre Dame
Training Day
Pleasantville
The Fifth Element
A Prairie Home Companion
Twister
Curse of the Golden Flower
A Fish Called Wanda
Talk to Her
Rebecca
Program:
function: Find
inputs: Harry Dean Stanton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Twister
function: And
dependencies: 1
2
function: Find
inputs: A Fish Called Wanda
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Twister" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Harry Dean Stanton" .   } UNION { ?e <pred:name> "A Fish Called Wanda" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: A Fish Called Wanda