Question: Which movie is shorter, Tangled (the one whose duration is 86 minute) or Lemony Snicket's A Series of Unfortunate Events (the one that has Jane Lynch as a cast member)?
Choices: Tangled
Training Day
The Fifth Element
Lemony Snicket's A Series of Unfortunate Events
A Prairie Home Companion
Rebecca
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tangled" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "86"^^xsd:double . } UNION { ?e <pred:name> "Lemony Snicket's A Series of Unfortunate Events" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Jane Lynch" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tangled
function: FilterNum
dependencies: 0
inputs: duration
86 minute
=
function: Find
inputs: Jane Lynch
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Lemony Snicket's A Series of Unfortunate Events
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: Tangled