Question: What is the connection between Harry Potter and the Prisoner of Azkaban (the one that received Locus Award for Best Fantasy Novel) to Harry Potter and the Prisoner of Azkaban (the one that has Alan Rickman as a cast member)?
Choices: home world
place of birth
derivative work
narrative location
kit supplier
filmography
color
award disciplines or subjects
designated as terrorist by
cites
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Prisoner of Azkaban" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Locus Award for Best Fantasy Novel" . ?e_2 <pred:name> "Harry Potter and the Prisoner of Azkaban" . ?e_2 <cast_member> ?e_4 . ?e_4 <pred:name> "Alan Rickman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Locus Award for Best Fantasy Novel
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Harry Potter and the Prisoner of Azkaban
function: And
dependencies: 1
2
function: Find
inputs: Alan Rickman
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Harry Potter and the Prisoner of Azkaban
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: derivative work