for conditions like inflammatory arthritis, how many prevention factors are there?
Value
2
class class entity
medicine.condition_prevention_factors medicine.disease m.06g7c
medicine.condition_prevention_factors medicine.disease medicine.disease
Condition prevention factors Disease or medical condition inflammatory arthritis
count none none
medicine.condition_prevention_factors.conditions_this_may_prevent medicine.disease.includes_diseases
Conditions This May Prevent Includes Diseases
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 (COUNT(?x0) AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :medicine.condition_prevention_factors . 
?x1 :type.object.type :medicine.disease . 
VALUES ?x2 { :m.06g7c } 
?x0 :medicine.condition_prevention_factors.conditions_this_may_prevent ?x1 . 
?x1 :medicine.disease.includes_diseases ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(COUNT (AND medicine.condition_prevention_factors (JOIN medicine.condition_prevention_factors.conditions_this_may_prevent (JOIN medicine.disease.includes_diseases m.06g7c))))