what number of infectious diseases are caused by the type of infectious agent called a meningococcus?
Value
2
class entity
medicine.infectious_disease m.069mgv
medicine.infectious_disease medicine.type_of_infectious_agent
Infectious Disease meningococcus
count none
medicine.infectious_disease.infectious_agent_type
Type of infectious agent
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.infectious_disease . 
VALUES ?x1 { :m.069mgv } 
?x0 :medicine.infectious_disease.infectious_agent_type ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND medicine.infectious_disease (JOIN medicine.infectious_disease.infectious_agent_type m.069mgv)))