Question: Which literary genre is the genre of the visual artwork titled Rosemary's Baby ?
Choices:
literary criticism
erotic thriller
film based on literature
Watchmen
psychological horror
adventure novel
The Scarlet Letter
drama film
To Kill a Mockingbird
tragicomedy
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Rosemary's Baby
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Relate
dependencies: 2
inputs: genre
forward
function: FilterConcept
dependencies: 3
inputs: literary genre
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary genre" . ?e_1 <genre> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "visual artwork" . ?e_1 <title> ?pv . ?pv <pred:value> "Rosemary's Baby" .   }
Answer: psychological horror