Question: Which one, Twister (the one that has Harry Dean Stanton as a cast member) or 21 Grams, has less duration?
Choices:
Talk to Her
Training Day
Twister
The Towering Inferno
Pleasantville
21 Grams
The Hunchback of Notre Dame
Curse of the Golden Flower
Rebecca
A Prairie Home Companion
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: 21 Grams
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Twister" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Harry Dean Stanton" .   } UNION { ?e <pred:name> "21 Grams" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Twister