Question: Which genre of literature was the basis for To Kill a Mockingbird, an Academy Award nominee for Best Cinematography?
Choices:
The Scarlet Letter
The Amazing Spider-Man
Superman
Frankenstein
Watchmen
The Talented Mr. Ripley
memoir
To Kill a Mockingbird
medical novel
adventure novel
Program:
function: Find
inputs: Academy Award for Best Cinematography
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: To Kill a Mockingbird
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: literary genre
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary genre" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "To Kill a Mockingbird" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Cinematography" .   }
Answer: To Kill a Mockingbird