Question: How many foods have the nutrient that is the chemical compound whose SPLASH is splash10-0f89-0960000000-5a6a6cb21e9fc0875f84?
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-0f89-0960000000-5a6a6cb21e9fc0875f84" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: SPLASH
splash10-0f89-0960000000-5a6a6cb21e9fc0875f84
function: FilterConcept
dependencies: 1
inputs: chemical compound
function: Relate
dependencies: 2
inputs: nutrient
backward
function: FilterConcept
dependencies: 3
inputs: food
function: Count
dependencies: 4