what is the medical specialty which has the associated diseases or conditions of acquired immunodeficiency syndrome?
Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0h212 m.0zm_p6_ m.03x_dvn m.0dxfq m.03vwg m.0dxdt m.080y1 m.0400g4 m.07w7m
Hematology Infectious disease Family medicine Gynecology Immunology Obstetrics and gynaecology Virology Preventive healthcare Urology
class entity
medicine.medical_specialty m.0d19y2
medicine.medical_specialty medicine.disease
Medical specialty acquired immunodeficiency syndrome
none none
medicine.medical_specialty.diseases_treated
Associated Diseases or Conditions
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.medical_specialty . 
VALUES ?x1 { :m.0d19y2 } 
?x0 :medicine.medical_specialty.diseases_treated ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND medicine.medical_specialty (JOIN medicine.medical_specialty.diseases_treated m.0d19y2))