Question: Is the shorter work Charlie's Angels, with Luke Wilson as a cast member, or Fight Club?
Choices:
Training Day
Rebecca
The Fifth Element
Pleasantville
A Prairie Home Companion
The Hunchback of Notre Dame
Charlie's Angels
Talk to Her
Fight Club
Curse of the Golden Flower
Program:
function: Find
inputs: Luke Wilson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Charlie's Angels
function: And
dependencies: 1
2
function: Find
inputs: Fight Club
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Charlie's Angels" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Luke Wilson" .   } UNION { ?e <pred:name> "Fight Club" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Charlie's Angels