Question: Does Psycho (whose length is 99 minutes) or Kansas City (that has Steve Buscemi as a cast member) have the shorter runtime?
Choices: A Prairie Home Companion
Pleasantville
Kansas City
Talk to Her
Training Day
The Fifth Element
The Towering Inferno
Rebecca
The Hunchback of Notre Dame
Psycho
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Psycho" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "99"^^xsd:double . } UNION { ?e <pred:name> "Kansas City" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Steve Buscemi" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Psycho
function: FilterNum
dependencies: 0
inputs: duration
99 minute
=
function: Find
inputs: Steve Buscemi
function: Relate
dependencies: 2
inputs: cast member
backward
function: Find
inputs: Kansas City
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: Psycho