Question: How many infectious conditions are indicated by headache or designated by MeSH Code C02.782.687.359.764 ?
Choices: 0
1
2
3
4
5
6
7
8
9
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.687.359.764" .  } UNION { ?e_1 <symptom_of> ?e . ?e_1 <pred:name> "headache" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: MeSH Code
C02.782.687.359.764
function: FilterConcept
dependencies: 1
inputs: infectious disease
function: Find
inputs: headache
function: Relate
dependencies: 3
inputs: symptom of
forward
function: FilterConcept
dependencies: 4
inputs: infectious disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2