Question: Stan Lee, who died 2018-11-12, was cast as which character on The Avengers, a BAFTA Award nominee for Best Special Visual Effects?
Choices: Mei Ling
cameo appearance
Jonathan Kent
Oafish Guard
The Leader
Doc Holliday
Butch Coolidge
Stick
Peter Benton
Daniel
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Avengers" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "BAFTA Award for Best Special Visual Effects" . ?e_2 <pred:name> "Stan Lee" . ?e_2 <date_of_death> ?pv . ?pv <pred:date> "2018-11-12"^^xsd:date . ?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: BAFTA Award for Best Special Visual Effects
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Avengers
function: And
dependencies: 1
2
function: Find
inputs: Stan Lee
function: FilterDate
dependencies: 4
inputs: date of death
2018-11-12
=
function: QueryRelationQualifier
dependencies: 3
5
inputs: cast member
character role
Answer: cameo appearance