Question: How many diseases either have the ICD-9-CM of 567.89 or have the eMedicine of 962643?
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-9-CM> ?pv . ?pv <pred:value> "567.89" .  } UNION { ?e <eMedicine> ?pv . ?pv <pred:value> "962643" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ICD-9-CM
567.89
function: FilterConcept
dependencies: 1
inputs: disease
function: FindAll
function: FilterStr
dependencies: 3
inputs: eMedicine
962643
function: FilterConcept
dependencies: 4
inputs: disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6