Question: How many chemical compounds are considered to be a nutrient of the food ingredient with an UNII of L56Z1JK48B?
Choices:
25
26
27
28
29
30
31
32
33
34
Answer: 29
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "chemical compound" . ?e_1 <nutrient> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "food ingredient" . ?e_1 <UNII> ?pv . ?pv <pred:value> "L56Z1JK48B" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: UNII
L56Z1JK48B
function: FilterConcept
dependencies: 1
inputs: food ingredient
function: Relate
dependencies: 2
inputs: nutrient
forward
function: FilterConcept
dependencies: 3
inputs: chemical compound
function: Count
dependencies: 4