Question: How many medications have a MeSH Code of D27.505.954.122.085 or are a nutrient of Pyrus?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: MeSH Code
D27.505.954.122.085
function: FilterConcept
dependencies: 1
inputs: medication
function: Find
inputs: Pyrus
function: Relate
dependencies: 3
inputs: nutrient
forward
function: FilterConcept
dependencies: 4
inputs: medication
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> "medication" .  { ?e <MeSH_Code> ?pv . ?pv <pred:value> "D27.505.954.122.085" .  } UNION { ?e_1 <nutrient> ?e . ?e_1 <pred:name> "Pyrus" .  } }
Answer: 3