Question: I want to know the award class that was nominated to Philip Roth, the one who works as an author.
Choices:
BAFTA Award for Best Direction
BAFTA Award for Best Actress in a Supporting Role
BAFTA Award for Best Makeup and Hair
BAFTA Award for Best Film
British Academy Television Award for Best Actress
Locus Award for Best Science Fiction Novel
International IMPAC Dublin Literary Award
Pulitzer Prize for Fiction
Neustadt International Prize for Literature
BAFTA Award for Best Adapted Screenplay
Answer: Pulitzer Prize for Fiction
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> "Philip Roth" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "author" .   }
Program:
function: Find
inputs: author
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Philip Roth
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: class of award
function: What
dependencies: 5