Question: How many chemical compound that may be a nutrient of ice cream or whose ZVG value is 11990
Choices:
24
25
26
27
28
29
30
31
32
33
Program:
function: Find
inputs: ice cream
function: Relate
dependencies: 0
inputs: nutrient
forward
function: FilterConcept
dependencies: 1
inputs: chemical compound
function: FindAll
function: FilterStr
dependencies: 3
inputs: ZVG number
11990
function: FilterConcept
dependencies: 4
inputs: chemical compound
function: Or
dependencies: 2
5
function: Count
dependencies: 6
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> "ice cream" .  } UNION { ?e <ZVG_number> ?pv . ?pv <pred:value> "11990" .  } }
Answer: 30