Question: Which is shorter, The Man Who Knew Too Much produced by Michael Balcon or Henry V starring Ian Holm?
Choices:
The Hunchback of Notre Dame
Rebecca
A Prairie Home Companion
Pleasantville
Talk to Her
The Towering Inferno
The Man Who Knew Too Much
Training Day
The Fifth Element
Curse of the Golden Flower
Answer: The Man Who Knew Too Much
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Man Who Knew Too Much" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Michael Balcon" .   } UNION { ?e <pred:name> "Henry V" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Ian Holm" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Michael Balcon
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: The Man Who Knew Too Much
function: And
dependencies: 1
2
function: Find
inputs: Ian Holm
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Henry V
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less