which monastery contains the religion catholic?
Entity Entity Entity Entity Entity Entity Entity
m.051vtvh m.0h694jl m.0f6d9f m.0qfsq03 m.05b5v8x m.058xqlh m.0_lgqc_
Essenbæk Abbey Santa Caterina del Sasso Abbey of Fontenay Corpus Domini Castagniers Abbey Holy Cross Priory, Dalby Inishmacsaint
class entity
religion.monastery m.0c8wxp
religion.monastery religion.religion
Monastery catholic
none none
religion.monastery.religion
Religion
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.monastery . 
VALUES ?x1 { :m.0c8wxp } 
?x0 :religion.monastery.religion ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND religion.monastery (JOIN religion.monastery.religion m.0c8wxp))