Question: Which movie is shorter, The Mummy (the one whose exploitation visa number is 22581) or Psycho (the one that was nominated for Golden Raspberry Award for Worst Actress)?
Choices:
Pleasantville
A Prairie Home Companion
The Mummy
Psycho
The Fifth Element
The Towering Inferno
Rebecca
Talk to Her
The Hunchback of Notre Dame
Curse of the Golden Flower
Answer: The Mummy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mummy" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "22581" . } UNION { ?e <pred:name> "Psycho" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Raspberry Award for Worst Actress" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Mummy
function: FilterStr
dependencies: 0
inputs: exploitation visa number
22581
function: Find
inputs: Golden Raspberry Award for Worst Actress
function: Relate
dependencies: 2
inputs: nominated for
backward
function: Find
inputs: Psycho
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less