in the poem odyssey, which character appears?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0klcf m.05n32 m.09gc6zm m.01ddk5 m.0fj_6g m.0qrc m.0cjnv m.0h166 m.0l7ph m.0_vn m.02s4sr m.0lgb7 m.0d3hx m.0l7p0
Tiresias Odysseus Melanthius Laertes Clytemnestra Agamemnon Menelaus Helen of Troy Nausicaa Aegisthus Arete Eurycleia Penelope Alcinous
class entity
book.poem_character m.05lm8
book.poem_character book.poem
Poem character Odyssey
none none
book.poem_character.appears_in_poems
Appears in poems
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.poem_character . 
VALUES ?x1 { :m.05lm8 } 
?x0 :book.poem_character.appears_in_poems ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND book.poem_character (JOIN book.poem_character.appears_in_poems m.05lm8))