Question: What is cast member Crispin Glover's character role in the work The Doors (the one whose publication date is 1991-05-02)?
Choices:
Captain Haddock
Data
Marcus Brody
Apu Nahasapeemapetilon
Boromir
Nero
Peter Florrick
Mr. Waternoose
Andy Warhol
Miranda Hobbes
Answer: Andy Warhol
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Doors" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1991-05-02"^^xsd:date . ?e_2 <pred:name> "Crispin Glover" . ?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: The Doors
function: FilterDate
dependencies: 0
inputs: publication date
1991-05-02
=
function: Find
inputs: Crispin Glover
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role