Question: Which movie is shorter, The Cat in the Hat (the one that was nominated for Golden Raspberry Award for Worst Supporting Actor) or Thunderball (the one whose duration is 130 minute)?
Choices:
Thunderball
The Cat in the Hat
Talk to Her
Pleasantville
The Towering Inferno
Rebecca
The Fifth Element
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
Answer: The Cat in the Hat
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Cat in the Hat" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Raspberry Award for Worst Supporting Actor" . } UNION { ?e <pred:name> "Thunderball" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "130"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Golden Raspberry Award for Worst Supporting Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Cat in the Hat
function: And
dependencies: 1
2
function: Find
inputs: Thunderball
function: FilterNum
dependencies: 4
inputs: duration
130 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less