Question: Which movie is longer, Chuck (the one whose distributor is IFC Films) or Don't Be Afraid of the Dark?
Choices:
Talk to Her
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
Chuck
The Towering Inferno
The Fifth Element
Curse of the Golden Flower
Training Day
Program:
function: Find
inputs: IFC Films
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Chuck
function: And
dependencies: 1
2
function: Find
inputs: Don't Be Afraid of the Dark
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chuck" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "IFC Films" .   } UNION { ?e <pred:name> "Don't Be Afraid of the Dark" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chuck