Question: How many chemical compounds whose SPLASH is splash10-053r-9000000000-61a3602d80bc0d54c579 or that has the nutrient sugar?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "chemical compound" .  { ?e <SPLASH> ?pv . ?pv <pred:value> "splash10-053r-9000000000-61a3602d80bc0d54c579" .  } UNION { ?e <nutrient> ?e_1 . ?e_1 <pred:name> "sugar" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: SPLASH
splash10-053r-9000000000-61a3602d80bc0d54c579
function: FilterConcept
dependencies: 1
inputs: chemical compound
function: Find
inputs: sugar
function: Relate
dependencies: 3
inputs: nutrient
backward
function: FilterConcept
dependencies: 4
inputs: chemical compound
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2