Question: What number of illnesses have an ICD-10 of F15 or a UMLS CUI of C0346647?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "disease" .  { ?e <ICD-10> ?pv . ?pv <pred:value> "F15" .  } UNION { ?e <UMLS_CUI> ?pv . ?pv <pred:value> "C0346647" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ICD-10
F15
function: FilterConcept
dependencies: 1
inputs: disease
function: FindAll
function: FilterStr
dependencies: 3
inputs: UMLS CUI
C0346647
function: FilterConcept
dependencies: 4
inputs: disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6