Question: Is "Alice," featuring Mia Farrow, or "Munich," with a script by Tony Kushner, shorter?
Choices:
Talk to Her
The Hunchback of Notre Dame
A Prairie Home Companion
The Fifth Element
Munich
Rebecca
Alice
Pleasantville
Curse of the Golden Flower
The Towering Inferno
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: Tony Kushner
function: Relate
dependencies: 4
inputs: screenwriter
backward
function: Find
inputs: Munich
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alice" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Mia Farrow" .   } UNION { ?e <pred:name> "Munich" . ?e <screenwriter> ?e_2 . ?e_2 <pred:name> "Tony Kushner" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alice