which file format is of the same genre as the container for rich text format directory?
Entity Entity Entity
m.01bzg5 m.026ftf7 m.047d12g
Device independent file format Uniform Office Format CDXML
class class class entity
computer.file_format computer.file_format_genre computer.file_format m.09l93t
computer.file_format computer.file_format_genre computer.file_format computer.file_format
File Format File Format Genre File Format Rich Text Format Directory
none none none none
computer.file_format_genre.file_formats computer.file_format.genre computer.file_format.container_for
File Formats Genre Container For
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 :computer.file_format . 
?x1 :type.object.type :computer.file_format_genre . 
?x2 :type.object.type :computer.file_format . 
VALUES ?x3 { :m.09l93t } 
?x1 :computer.file_format_genre.file_formats ?x0 . 
?x2 :computer.file_format.genre ?x1 . 
?x3 :computer.file_format.container_for ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND computer.file_format (JOIN (R computer.file_format_genre.file_formats) (JOIN (R computer.file_format.genre) (JOIN (R computer.file_format.container_for) m.09l93t))))