Question: How many chemical compound that is a nutrient of taxon which commonly known as garden onion?
Choices: 20
21
22
23
24
25
26
27
28
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> "taxon" . ?e_1 <taxon_common_name> ?pv . ?pv <pred:value> "garden onion" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: taxon common name
garden onion
function: FilterConcept
dependencies: 1
inputs: taxon
function: Relate
dependencies: 2
inputs: nutrient
forward
function: FilterConcept
dependencies: 3
inputs: chemical compound
function: Count
dependencies: 4
Answer: 29