Question: How many diseases caused the death of James A. Garfield or have the MeSH Code of C23.888.821.214?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: James A. Garfield
function: Relate
dependencies: 0
inputs: cause of death
forward
function: FilterConcept
dependencies: 1
inputs: disease
function: FindAll
function: FilterStr
dependencies: 3
inputs: MeSH Code
C23.888.821.214
function: FilterConcept
dependencies: 4
inputs: 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> "disease" .  { ?e_1 <cause_of_death> ?e . ?e_1 <pred:name> "James A. Garfield" .  } UNION { ?e <MeSH_Code> ?pv . ?pv <pred:value> "C23.888.821.214" .  } }
Answer: 4