Question: Which is longer, In America or Edge of Darkness starring Ray Winstone?
Choices:
The Towering Inferno
Training Day
In America
The Fifth Element
Rebecca
The Hunchback of Notre Dame
Edge of Darkness
Talk to Her
A Prairie Home Companion
Curse of the Golden Flower
Program:
function: Find
inputs: In America
function: Find
inputs: Ray Winstone
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Edge of Darkness
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "In America" .  } UNION { ?e <pred:name> "Edge of Darkness" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ray Winstone" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Edge of Darkness