What is the {genre} for {opposite of} of {fiction}
What is the inverse class for fiction ?
What is the opposite genre for fiction ?
SELECT DISTINCT ?g WHERE { ?g property:opposite_of resource:fiction . ?g rdf:type ontology:genre }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P461> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q8253> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q483394> } 
 select distinct ?sbj where { ?sbj wdt:P461 wd:Q8253 . ?sbj wdt:P31 wd:Q483394 } 
non-fiction