Question: Which is shorter: Batman, a BAFTA nominee for Best Actor in a Supporting Role, or You Only Live Twice, clocking in at 117 minutes?
Choices:
Talk to Her
Curse of the Golden Flower
Training Day
Rebecca
The Hunchback of Notre Dame
A Prairie Home Companion
You Only Live Twice
Batman
The Fifth Element
Pleasantville
Answer: You Only Live Twice
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Batman" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Actor in a Supporting Role" . } UNION { ?e <pred:name> "You Only Live Twice" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "117"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: BAFTA Award for Best Actor in a Supporting Role
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: Find
inputs: You Only Live Twice
function: FilterNum
dependencies: 4
inputs: duration
117 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less