Question: Does Joel Edgerton's production of The Gift or does Dogville have the longer run-time?
Choices:
Pleasantville
Curse of the Golden Flower
Talk to Her
The Gift
A Prairie Home Companion
Training Day
The Towering Inferno
The Fifth Element
Dogville
Rebecca
Program:
function: Find
inputs: Joel Edgerton
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: The Gift
function: And
dependencies: 1
2
function: Find
inputs: Dogville
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Gift" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Joel Edgerton" .   } UNION { ?e <pred:name> "Dogville" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dogville