what are the risks of a medical condition which may prevent heparin?
Entity
m.0kts_12
Superficial vein thrombosis
class class entity
medicine.risk_factor medicine.disease m.01jjpv
medicine.risk_factor medicine.disease medicine.condition_prevention_factors
Risk Factor Disease or medical condition Heparin
none none none
medicine.risk_factor.diseases medicine.condition_prevention_factors.conditions_this_may_prevent
Diseases with this Risk Factor Conditions This May Prevent
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.01jjpv } 
?x0 :medicine.risk_factor.diseases ?x1 . 
?x2 :medicine.condition_prevention_factors.conditions_this_may_prevent ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND medicine.risk_factor (JOIN medicine.risk_factor.diseases (JOIN (R medicine.condition_prevention_factors.conditions_this_may_prevent) m.01jjpv)))