what religion shares a similar place of worship with mormon?
Entity
m.0c8wxp
Catholicism
class class entity
religion.religion religion.type_of_place_of_worship m.058x5
religion.religion religion.type_of_place_of_worship religion.religion
Religion Type of place of worship mormon
none none none
religion.religion.types_of_places_of_worship religion.religion.types_of_places_of_worship
Types of places of worship Types of places of worship
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 :religion.religion . 
?x1 :type.object.type :religion.type_of_place_of_worship . 
VALUES ?x2 { :m.058x5 } 
?x0 :religion.religion.types_of_places_of_worship ?x1 . 
?x2 :religion.religion.types_of_places_of_worship ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND religion.religion (JOIN religion.religion.types_of_places_of_worship (JOIN (R religion.religion.types_of_places_of_worship) m.058x5)))