Question: What does Harry Potter and the Prisoner of Azkaban (which has David Thewlis as a cast member) have to do with Harry Potter and the Prisoner of Azkaban (whose Nintendo GameID is GAZF69)?
Choices:
lifestyle
kit supplier
derivative work
relative
distribution
narrative role
sibling
time period
draft pick from school
vehicle normally used
Answer: derivative work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Potter and the Prisoner of Azkaban" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "David Thewlis" . ?e_2 <pred:name> "Harry Potter and the Prisoner of Azkaban" . ?e_2 <Nintendo_GameID> ?pv . ?pv <pred:value> "GAZF69" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: David Thewlis
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Harry Potter and the Prisoner of Azkaban
function: And
dependencies: 1
2
function: Find
inputs: Harry Potter and the Prisoner of Azkaban
function: FilterStr
dependencies: 4
inputs: Nintendo GameID
GAZF69
function: QueryRelation
dependencies: 3
5