Question: Does The Ladykillers (that has Peter Sellers as a cast member) or Ironclad have the shorter runtime?
Choices:
Rebecca
The Hunchback of Notre Dame
Curse of the Golden Flower
Ironclad
Training Day
The Towering Inferno
The Fifth Element
A Prairie Home Companion
Talk to Her
The Ladykillers
Program:
function: Find
inputs: Peter Sellers
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Ladykillers
function: And
dependencies: 1
2
function: Find
inputs: Ironclad
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Ladykillers" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Peter Sellers" .   } UNION { ?e <pred:name> "Ironclad" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Ladykillers