Question: Does the neo-noir Brighton Rock or does Scream 2 have the shorter run-time?
Choices:
Brighton Rock
Curse of the Golden Flower
Training Day
Pleasantville
The Towering Inferno
Rebecca
The Fifth Element
Scream 2
A Prairie Home Companion
The Hunchback of Notre Dame
Program:
function: Find
inputs: neo-noir
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Brighton Rock
function: And
dependencies: 1
2
function: Find
inputs: Scream 2
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brighton Rock" . ?e <genre> ?e_1 . ?e_1 <pred:name> "neo-noir" .   } UNION { ?e <pred:name> "Scream 2" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Brighton Rock