Question: How many taxon are a risk factor of heart failure or whose EPPO Code is ALLCE?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: heart failure
function: Relate
dependencies: 0
inputs: risk factor
backward
function: FilterConcept
dependencies: 1
inputs: taxon
function: FindAll
function: FilterStr
dependencies: 3
inputs: EPPO Code
ALLCE
function: FilterConcept
dependencies: 4
inputs: taxon
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> "taxon" .  { ?e <risk_factor> ?e_1 . ?e_1 <pred:name> "heart failure" .  } UNION { ?e <EPPO_Code> ?pv . ?pv <pred:value> "ALLCE" .  } }
Answer: 2