Question: What is the literary genre that derives the visual artwork titled The League of Extraordinary Gentlemen?
Choices: Watchmen
medical novel
The League of Extraordinary Gentlemen
V for Vendetta
The Talented Mr. Ripley
300
adventure novel
comedy
psychological horror
Gone with the Wind
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary genre" . ?e <derivative_work> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "visual artwork" . ?e_1 <title> ?pv_1 . ?pv_1 <pred:value> "The League of Extraordinary Gentlemen" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The League of Extraordinary Gentlemen
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Relate
dependencies: 2
inputs: derivative work
backward
function: FilterConcept
dependencies: 3
inputs: literary genre
function: What
dependencies: 4
Answer: The League of Extraordinary Gentlemen