Question: Is the longer work The Adventures of Priscilla, Queen of the Desert or The Contender, a Paramount Pictures production?
Choices:
Talk to Her
Training Day
The Hunchback of Notre Dame
The Contender
Curse of the Golden Flower
The Towering Inferno
The Adventures of Priscilla, Queen of the Desert
Pleasantville
Rebecca
A Prairie Home Companion
Program:
function: Find
inputs: The Adventures of Priscilla, Queen of the Desert
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: The Contender
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Adventures of Priscilla, Queen of the Desert" .  } UNION { ?e <pred:name> "The Contender" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Paramount Pictures" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Contender