Question: How many symptoms are with MeSH Code of C10.228.140.546, or, put obesity as one of the risk factors ?
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> "symptom" .  { ?e <MeSH_Code> ?pv . ?pv <pred:value> "C10.228.140.546" .  } UNION { ?e_1 <risk_factor> ?e . ?e_1 <pred:name> "obesity" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: MeSH Code
C10.228.140.546
function: FilterConcept
dependencies: 1
inputs: symptom
function: Find
inputs: obesity
function: Relate
dependencies: 3
inputs: risk factor
forward
function: FilterConcept
dependencies: 4
inputs: symptom
function: Or
dependencies: 2
5
function: Count
dependencies: 6