Question: Does the version of Brighton Rock in black-and-white or The Wrestler, with Vince McMahon as a cast member, have the shorter run-time?
Choices:
Training Day
The Hunchback of Notre Dame
Pleasantville
Talk to Her
The Fifth Element
The Wrestler
A Prairie Home Companion
Brighton Rock
Curse of the Golden Flower
Rebecca
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Brighton Rock
function: And
dependencies: 1
2
function: Find
inputs: Vince McMahon
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: The Wrestler
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brighton Rock" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .   } UNION { ?e <pred:name> "The Wrestler" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Vince McMahon" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Brighton Rock