Question: How many taxons are known under Virus name or by D-fructose (open structure) among their nutrients?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "taxon" .  { ?e <taxon_name> ?pv . ?pv <pred:value> "Virus" .  } UNION { ?e <nutrient> ?e_1 . ?e_1 <pred:name> "D-fructose (open structure)" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: taxon name
Virus
function: FilterConcept
dependencies: 1
inputs: taxon
function: Find
inputs: D-fructose (open structure)
function: Relate
dependencies: 3
inputs: nutrient
backward
function: FilterConcept
dependencies: 4
inputs: taxon
function: Or
dependencies: 2
5
function: Count
dependencies: 6