which short non-fiction has afterword as the mode of writing?
Entity Entity
m.04j4ry4 m.04j5d2q
As Good As it Gets Afterword: The Age of Goya, the Age of Swanwick
class entity
book.short_non_fiction m.04__vv
book.short_non_fiction book.short_non_fiction_variety
Short Non-fiction Afterword
none none
book.short_non_fiction.mode_of_writing
Mode Of Writing
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :book.short_non_fiction . 
VALUES ?x1 { :m.04__vv } 
?x0 :book.short_non_fiction.mode_of_writing ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND book.short_non_fiction (JOIN book.short_non_fiction.mode_of_writing m.04__vv))