Question: Is There Will Be Blood or Kiss produced by Andy Warhol longer?
Choices:
Kiss
The Towering Inferno
Pleasantville
Curse of the Golden Flower
There Will Be Blood
The Hunchback of Notre Dame
Rebecca
Training Day
Talk to Her
The Fifth Element
Program:
function: Find
inputs: There Will Be Blood
function: Find
inputs: Andy Warhol
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: Kiss
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "There Will Be Blood" .  } UNION { ?e <pred:name> "Kiss" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Andy Warhol" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: There Will Be Blood