Question: For the product whose OSM tag or key is Key:ice_cream, how many chemical elements are a nutrient?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OSM tag or key
Key:ice_cream
function: FilterConcept
dependencies: 1
inputs: product
function: Relate
dependencies: 2
inputs: nutrient
forward
function: FilterConcept
dependencies: 3
inputs: chemical element
function: Count
dependencies: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "chemical element" . ?e_1 <nutrient> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "product" . ?e_1 <OSM_tag_or_key> ?pv . ?pv <pred:value> "Key:ice_cream" .   }
Answer: 7