Question: Which movie is shorter, Winchester (the one whose duration is 99 minute) or Batman & Robin (the one whose script is wrote by Bob Kane)?
Choices: A Prairie Home Companion
Training Day
Winchester
The Hunchback of Notre Dame
Batman & Robin
Pleasantville
The Towering Inferno
The Fifth Element
Talk to Her
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Winchester" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "99"^^xsd:double . } UNION { ?e <pred:name> "Batman & Robin" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Bob Kane" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Winchester
function: FilterNum
dependencies: 0
inputs: duration
99 minute
=
function: Find
inputs: Bob Kane
function: Relate
dependencies: 2
inputs: screenwriter
backward
function: Find
inputs: Batman & Robin
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: Winchester