Question: Is adventure movie The Mummy or Rush, clocking in at 123 minutes, the shorter work?
Choices:
Training Day
The Hunchback of Notre Dame
Rush
Curse of the Golden Flower
The Mummy
Rebecca
Talk to Her
Pleasantville
The Fifth Element
The Towering Inferno
Program:
function: Find
inputs: adventure film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Mummy
function: And
dependencies: 1
2
function: Find
inputs: Rush
function: FilterNum
dependencies: 4
inputs: duration
123 minute
=
function: SelectBetween
dependencies: 3
5
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mummy" . ?e <genre> ?e_1 . ?e_1 <pred:name> "adventure film" . } UNION { ?e <pred:name> "Rush" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "123"^^xsd:double . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Mummy