Question: Which is shorter: The Notebook at 109 minutes or Kick-Ass, nominated for a BIFA Award for Best British Independent Film?
Choices:
The Fifth Element
The Hunchback of Notre Dame
Talk to Her
The Towering Inferno
Kick-Ass
Curse of the Golden Flower
Training Day
A Prairie Home Companion
The Notebook
Rebecca
Program:
function: Find
inputs: The Notebook
function: FilterNum
dependencies: 0
inputs: duration
109 minute
=
function: Find
inputs: BIFA Award for Best British Independent Film
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: Kick-Ass
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Notebook" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "109"^^xsd:double . } UNION { ?e <pred:name> "Kick-Ass" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BIFA Award for Best British Independent Film" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Notebook