Question: The League of Extraordinary Gentlemen, distributed by 20th Century Fox, is based on which genre of literature?
Choices:
adventure novel
The League of Extraordinary Gentlemen
Gone with the Wind
comedy
Superman
horror literature
Watchmen
medical novel
Frankenstein
To Kill a Mockingbird
Answer: The League of Extraordinary Gentlemen
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary genre" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "The League of Extraordinary Gentlemen" . ?e_1 <distributor> ?e_2 . ?e_2 <pred:name> "20th Century Fox" .   }
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The League of Extraordinary Gentlemen
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: literary genre
function: What
dependencies: 5