Question: What is the number of diseases that have the CD-10-CM E84.1 or are a type of health specialty of infectious disease?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "disease" .  { ?e <ICD-10-CM> ?pv . ?pv <pred:value> "E84.1" .  } UNION { ?e <health_specialty> ?e_1 . ?e_1 <pred:name> "infectious disease" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ICD-10-CM
E84.1
function: FilterConcept
dependencies: 1
inputs: disease
function: Find
inputs: infectious disease
function: Relate
dependencies: 3
inputs: health specialty
backward
function: FilterConcept
dependencies: 4
inputs: disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2