Question: Which is longer, Twelfth Night: Or What You Will or Cedar Rapids starring Kurtwood Smith?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
Cedar Rapids
Talk to Her
Pleasantville
Twelfth Night: Or What You Will
Curse of the Golden Flower
Training Day
The Fifth Element
Program:
function: Find
inputs: Twelfth Night: Or What You Will
function: Find
inputs: Kurtwood Smith
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Cedar Rapids
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Twelfth Night: Or What You Will" .  } UNION { ?e <pred:name> "Cedar Rapids" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Kurtwood Smith" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Twelfth Night: Or What You Will