Question: What character role does cast member Gary Oldman play in the work Harry Potter and the Prisoner of Azkaban (whose genre is children's film)?
Choices: Djali
Captain Antonio Corelli
Nora Lewin
Irina Spalko
Nite Owl I
William H. Johnson
Sirius Black
Chubbs Peterson
Conan O'Brien
Dean Andrews Jr.
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Harry Potter and the Prisoner of Azkaban" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "children's film" . ?e_2 <pred:name> "Gary Oldman" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: children's film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Harry Potter and the Prisoner of Azkaban
function: And
dependencies: 1
2
function: Find
inputs: Gary Oldman
function: QueryRelationQualifier
dependencies: 3
4
inputs: cast member
character role
Answer: Sirius Black