Question: Does the shorter run-time belong to The Ghost Writer or to Ip Man, a Hong Kong Film Award nominee for Best Director?
Choices: The Towering Inferno
Pleasantville
The Fifth Element
Ip Man
Talk to Her
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
Rebecca
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Ghost Writer" .  } UNION { ?e <pred:name> "Ip Man" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Hong Kong Film Award for Best Director" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Ghost Writer
function: Find
inputs: Hong Kong Film Award for Best Director
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Ip Man
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: Ip Man