Question: How many foods have as a nutrient the chemical compound whose SPLASH is splash10-015a-9600000000-770f56ddeb6a5596548f?
Choices:
7
8
9
10
11
12
13
14
15
16
Answer: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "food" . ?e <nutrient> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "chemical compound" . ?e_1 <SPLASH> ?pv . ?pv <pred:value> "splash10-015a-9600000000-770f56ddeb6a5596548f" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: SPLASH
splash10-015a-9600000000-770f56ddeb6a5596548f
function: FilterConcept
dependencies: 1
inputs: chemical compound
function: Relate
dependencies: 2
inputs: nutrient
backward
function: FilterConcept
dependencies: 3
inputs: food
function: Count
dependencies: 4