what disease or medical condition is associated with psycology?
Entity Entity Entity Entity
m.0h99n m.03tkm m.0ftsr m.08053hx
Attention deficit hyperactivity disorder Erectile dysfunction Anxiety disorder Denial of pregnancy
class entity
medicine.disease m.05qfh
medicine.disease medicine.medical_specialty
Disease or medical condition psycology
none none
medicine.disease.medical_specialties
Associated medical specialties
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 :medicine.disease . 
VALUES ?x1 { :m.05qfh } 
?x0 :medicine.disease.medical_specialties ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND medicine.disease (JOIN medicine.disease.medical_specialties m.05qfh))