for diseases treated by laser, what is the risk factor?
Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0jwqt m.02zsn m.05zppz m.05blzjy m.0ldpy m.012lyw m.05vqh7 m.04nk466 m.06_k7mf
Acne Female Male Poor hygiene Adolescence Stress Pregnancy Ultraviolet radiation exposure Family history of acne
class class entity
medicine.risk_factor medicine.disease m.04gh1
medicine.risk_factor medicine.disease medicine.medical_treatment
Risk Factor Disease or medical condition Laser
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.04gh1 } 
?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.04gh1)))