Question: Does Barcelona (whose distributor is Fine Line Features) or Providence (that has Dirk Bogarde as a cast member) have the longer runtime?
Choices:
A Prairie Home Companion
The Hunchback of Notre Dame
The Fifth Element
The Towering Inferno
Training Day
Providence
Pleasantville
Curse of the Golden Flower
Rebecca
Talk to Her
Program:
function: Find
inputs: Fine Line Features
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Barcelona
function: And
dependencies: 1
2
function: Find
inputs: Dirk Bogarde
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Providence
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Barcelona" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Fine Line Features" .   } UNION { ?e <pred:name> "Providence" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Dirk Bogarde" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Providence