what are the risks of treating diseases with proctosedyl?
Entity Entity Entity Entity Entity Entity
m.01hbgs m.02vxs3q m.0f3kl m.016kf9 m.034h9r m.06_3p88
Old age Smoking Diarrhea Constipation Portal hypertension Excessive sitting
class class entity
medicine.risk_factor medicine.disease m.05b_k2l
medicine.risk_factor medicine.disease medicine.medical_treatment
Risk Factor Disease or medical condition Proctosedyl
none none none
medicine.disease.risk_factors medicine.disease.treatments
Risk Factors Treatments
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.risk_factor . 
?x1 :type.object.type :medicine.disease . 
VALUES ?x2 { :m.05b_k2l } 
?x1 :medicine.disease.risk_factors ?x0 . 
?x1 :medicine.disease.treatments ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND medicine.risk_factor (JOIN (R medicine.disease.risk_factors) (JOIN medicine.disease.treatments m.05b_k2l)))