Question: Which one, Harry Potter and the Half-Blood Prince (the one that was nominated for BAFTA Award for Best Special Visual Effects) or Bram Stoker's Dracula (the one that has Tom Waits as a cast member), has greater duration?
Choices: Harry Potter and the Half-Blood Prince
Curse of the Golden Flower
Talk to Her
The Towering Inferno
Rebecca
The Hunchback of Notre Dame
The Fifth Element
Bram Stoker's Dracula
Pleasantville
A Prairie Home Companion
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Harry Potter and the Half-Blood Prince" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Special Visual Effects" .   } UNION { ?e <pred:name> "Bram Stoker's Dracula" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Tom Waits" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: BAFTA Award for Best Special Visual Effects
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Harry Potter and the Half-Blood Prince
function: And
dependencies: 1
2
function: Find
inputs: Tom Waits
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Bram Stoker's Dracula
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Harry Potter and the Half-Blood Prince