Question: Is the run-time shorter on Bram Stoker's Dracula, a Sony Pictures production, or Infernal Affairs, basis for The Departed?
Choices: Talk to Her
Rebecca
Curse of the Golden Flower
Bram Stoker's Dracula
A Prairie Home Companion
Training Day
Infernal Affairs
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bram Stoker's Dracula" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Sony Pictures" .   } UNION { ?e <pred:name> "Infernal Affairs" . ?e_2 <based_on> ?e . ?e_2 <pred:name> "The Departed" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sony Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Bram Stoker's Dracula
function: And
dependencies: 1
2
function: Find
inputs: The Departed
function: Relate
dependencies: 4
inputs: based on
forward
function: Find
inputs: Infernal Affairs
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Infernal Affairs