Question: what is the number of infectious disease that is a risk factor of asthma or that has a ICD-10-CM is N30.0
Choices:
2
3
4
5
6
7
8
9
10
11
Program:
function: Find
inputs: asthma
function: Relate
dependencies: 0
inputs: risk factor
backward
function: FilterConcept
dependencies: 1
inputs: infectious disease
function: FindAll
function: FilterStr
dependencies: 3
inputs: ICD-10-CM
N30.0
function: FilterConcept
dependencies: 4
inputs: infectious disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "infectious disease" .  { ?e <risk_factor> ?e_1 . ?e_1 <pred:name> "asthma" .  } UNION { ?e <ICD-10-CM> ?pv . ?pv <pred:value> "N30.0" .  } }
Answer: 2