Question: Does The Vow (whose release territory is Bulgaria) or Phoenix (that has Anjelica Huston as a cast member) have the longer runtime?
Choices:
The Towering Inferno
The Vow
Training Day
The Hunchback of Notre Dame
Pleasantville
Talk to Her
The Fifth Element
Phoenix
Rebecca
Curse of the Golden Flower
Answer: The Vow
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Vow" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Bulgaria" .   } UNION { ?e <pred:name> "Phoenix" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Anjelica Huston" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bulgaria
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Vow
function: And
dependencies: 1
2
function: Find
inputs: Anjelica Huston
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Phoenix
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater