what religion believes in the world, the flesh, and the devil?
Entity
m.01lp8
Christianity
class entity
religion.religion m.0t510bq
religion.religion religion.belief
Religion The world, the flesh, and the devil
none none
religion.religion.beliefs
Beliefs
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 . 
VALUES ?x1 { :m.0t510bq } 
?x0 :religion.religion.beliefs ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND religion.religion (JOIN religion.religion.beliefs m.0t510bq))