Question: Adam West, who died of natural causes, is cast in what role on Batman, released on 1966-01-01?
Choices:
Monsieur André
Rose DeWitt Bukater
Inspector Clouseau
Peter Venkman
River Song
Alexei Volkoff
Will Bailey
Batman
Shellie
Juliet
Answer: Batman
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1966-01-01"^^xsd:date . ?e_2 <pred:name> "Adam West" . ?e_2 <manner_of_death> ?e_3 . ?e_3 <pred:name> "natural causes" . ?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: Batman
function: FilterDate
dependencies: 0
inputs: publication date
1966-01-01
=
function: Find
inputs: natural causes
function: Relate
dependencies: 2
inputs: manner of death
backward
function: Find
inputs: Adam West
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: cast member
character role