Question: What is the number of chemical compound that is a nutrient of Allium cepa ?
Choices: 24
25
26
27
28
29
30
31
32
33
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:name> "Allium cepa" .   }
Program:
function: Find
inputs: Allium cepa
function: Relate
dependencies: 0
inputs: nutrient
forward
function: FilterConcept
dependencies: 1
inputs: chemical compound
function: Count
dependencies: 2
Answer: 29