Question: How many infectious diseases are a risk factor of heart failure or whose UMLS CUI is C0008354?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
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> "heart failure" .  } UNION { ?e <UMLS_CUI> ?pv . ?pv <pred:value> "C0008354" .  } }
Program:
function: Find
inputs: heart failure
function: Relate
dependencies: 0
inputs: risk factor
backward
function: FilterConcept
dependencies: 1
inputs: infectious disease
function: FindAll
function: FilterStr
dependencies: 3
inputs: UMLS CUI
C0008354
function: FilterConcept
dependencies: 4
inputs: infectious disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6