Question: What is the opposite genre for fiction ?
Paraphrase: What is the inverse class for fiction ?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P461 wd:Q8253 . ?sbj wdt:P31 wd:Q483394 } 
Answer: non-fiction