the disease or conditions of renal tubular acidosis are associated with which medical specialty?
Entity Entity
m.05jd4 m.07w7m
Nephrology Urology
class class entity
medicine.medical_specialty medicine.disease m.025sncf
medicine.medical_specialty medicine.disease medicine.disease_cause
Medical specialty Disease or medical condition Renal tubular acidosis
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.025sncf } 
?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.025sncf)))