what book belongs in the genre american romanticism and historical novel?
Entity Entity Entity
m.01t44l m.01pk4g m.0284f9
Twenty Years After The Scarlet Letter The Blithedale Romance
class entity entity
book.book m.06hsk m.0hwxm
book.book media_common.literary_genre media_common.literary_genre
Book american romanticism Historical novel
none none none
media_common.literary_genre.books_in_this_genre media_common.literary_genre.books_in_this_genre
Books In This Genre Books In This Genre
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.book . 
VALUES ?x1 { :m.06hsk } 
VALUES ?x2 { :m.0hwxm } 
?x1 :media_common.literary_genre.books_in_this_genre ?x0 . 
?x2 :media_common.literary_genre.books_in_this_genre ?x0 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND book.book (AND (JOIN (R media_common.literary_genre.books_in_this_genre) m.06hsk) (JOIN (R media_common.literary_genre.books_in_this_genre) m.0hwxm)))