Question: Award of what class was given to a visual artwork where Aimee Mann is cast ?
Choices:
BAFTA Award for Best Actor in a Leading Role
BAFTA Award for Best Film Music
Goya Award for Best Director
BAFTA Award for Best Makeup and Hair
BAFTA Award for Best Direction
BAFTA Award for Best Adapted Screenplay
Goya Award for Best Film
National Film Registry
BAFTA Award for Best Sound
Goya Award for Best Supporting Actress
Answer: National Film Registry
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "class of award" . ?e_1 <award_received> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "visual artwork" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Aimee Mann" .   }
Program:
function: Find
inputs: Aimee Mann
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Relate
dependencies: 2
inputs: award received
forward
function: FilterConcept
dependencies: 3
inputs: class of award
function: What
dependencies: 4