Question: Does 30 Days of Night or Transformers: Revenge of the Fallen (produced by Paramount Pictures) have lesser duration ?
Choices:
Training Day
A Prairie Home Companion
Transformers: Revenge of the Fallen
The Fifth Element
Rebecca
Curse of the Golden Flower
The Towering Inferno
30 Days of Night
The Hunchback of Notre Dame
Pleasantville
Program:
function: Find
inputs: 30 Days of Night
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Transformers: Revenge of the Fallen
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "30 Days of Night" .  } UNION { ?e <pred:name> "Transformers: Revenge of the Fallen" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: 30 Days of Night