Question: Dr. Strangelove (the one whose genre is war film) is in which genre?
Choices:
comedy-drama
The Twilight Zone
For Your Eyes Only
non-fiction
film based on literature
costume drama
war film
political drama
black comedy
satire
Program:
function: Find
inputs: war film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Dr. Strangelove
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: genre
forward
function: FilterConcept
dependencies: 4
inputs: genre
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "genre" . ?e_1 <genre> ?e . ?e_1 <pred:name> "Dr. Strangelove" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "war film" .   }
Answer: black comedy