Question: What is the class of award for which Planet of the Apes (that was nominated for a BAFTA Award for Best Makeup and Hair) and The Duchess were nominated?
Choices:
Goya Award for Best Supporting Actress
Legion of Merit
Goya Award for Best Director
Satellite Award for Best Costume Design
BAFTA Award for Best Editing
BAFTA Award for Best Makeup and Hair
BAFTA Award for Best Special Visual Effects
Le Monde's 100 Books of the Century
BAFTA Award for Best Actor in a Leading Role
Order of the Three Stars
Program:
function: Find
inputs: BAFTA Award for Best Makeup and Hair
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Planet of the Apes
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: class of award
function: Find
inputs: The Duchess
function: Relate
dependencies: 6
inputs: nominated for
forward
function: FilterConcept
dependencies: 7
inputs: class of award
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "class of award" . ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Planet of the Apes" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "BAFTA Award for Best Makeup and Hair" .  ?e_3 <nominated_for> ?e . ?e_3 <pred:name> "The Duchess" .  }
Answer: BAFTA Award for Best Makeup and Hair