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