which medical area is associated with the disease iodine deficiency and its conditions?
Entity Entity Entity Entity Entity Entity
m.01d3n8 m.03x_dvn m.02jvq m.05wgy m.05djc m.05nd3
Internal medicine Family medicine Endocrinology Pediatrics Nutrition Otorhinolaryngology
class class entity
medicine.medical_specialty medicine.disease m.06fzyn
medicine.medical_specialty medicine.disease medicine.disease_cause
Medical specialty Disease or medical condition Iodine deficiency
none none none
medicine.medical_specialty.diseases_treated medicine.disease_cause.diseases
Associated Diseases or Conditions Diseases or conditions caused
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 . 
?x1 :type.object.type :medicine.disease . 
VALUES ?x2 { :m.06fzyn } 
?x0 :medicine.medical_specialty.diseases_treated ?x1 . 
?x2 :medicine.disease_cause.diseases ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND medicine.medical_specialty (JOIN medicine.medical_specialty.diseases_treated (JOIN (R medicine.disease_cause.diseases) m.06fzyn)))