Question: How many infectious diseases are designated by MeSH Code C02.782.417.881 or indicative of cystic fibrosis?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "infectious disease" .  { ?e <MeSH_Code> ?pv . ?pv <pred:value> "C02.782.417.881" .  } UNION { ?e <symptom_of> ?e_1 . ?e_1 <pred:name> "cystic fibrosis" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: MeSH Code
C02.782.417.881
function: FilterConcept
dependencies: 1
inputs: infectious disease
function: Find
inputs: cystic fibrosis
function: Relate
dependencies: 3
inputs: symptom of
backward
function: FilterConcept
dependencies: 4
inputs: infectious disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2