Question: Which is longer: Alice (featuring Mia Farrow) or Superman II: The Richard Donner Cut ?
Choices:
Alice
Pleasantville
A Prairie Home Companion
Rebecca
Talk to Her
Superman II: The Richard Donner Cut
Curse of the Golden Flower
The Towering Inferno
Training Day
The Fifth Element
Program:
function: Find
inputs: Mia Farrow
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Alice
function: And
dependencies: 1
2
function: Find
inputs: Superman II: The Richard Donner Cut
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Mia Farrow" .   } UNION { ?e <pred:name> "Superman II: The Richard Donner Cut" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Superman II: The Richard Donner Cut