Question: Scottish American Jason Lee is cast as which character on Dogma?
Choices: Mitch McDeere
Michael Jackson
Azrael
Krusty the Clown
Willie Lumpkin
Emil Skoda
Wilbur Wright
Frasier Crane
Ed Masterson
Veronica Cale
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Dogma" . ?e_2 <pred:name> "Jason Lee" . ?e_2 <ethnic_group> ?e_3 . ?e_3 <pred:name> "Scottish American" . ?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: Dogma
function: Find
inputs: Scottish American
function: Relate
dependencies: 1
inputs: ethnic group
backward
function: Find
inputs: Jason Lee
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: cast member
character role
Answer: Azrael