Question: How many infectious diseases are a risk factor of asthma or are used for the treatment of copper?
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 <risk_factor> ?e_1 . ?e_1 <pred:name> "asthma" .  } UNION { ?e <drug_used_for_treatment> ?e_1 . ?e_1 <pred:name> "copper" .  } }
Program:
function: Find
inputs: asthma
function: Relate
dependencies: 0
inputs: risk factor
backward
function: FilterConcept
dependencies: 1
inputs: infectious disease
function: Find
inputs: copper
function: Relate
dependencies: 3
inputs: drug used for treatment
backward
function: FilterConcept
dependencies: 4
inputs: infectious disease
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1