which museum is of type architecure?
Entity
m.03c8kx_
Museum of Bath Architecture
class entity
architecture.museum m.03nfmq
architecture.museum architecture.type_of_museum
Museum architecure
none none
architecture.museum.type_of_museum
Type of museum
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 :architecture.museum . 
VALUES ?x1 { :m.03nfmq } 
?x0 :architecture.museum.type_of_museum ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND architecture.museum (JOIN architecture.museum.type_of_museum m.03nfmq))