Question: How many ingredients are among the pizza parts, or show Z4KHF2C175 as their UNII ?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "food ingredient" .  { ?e <UNII> ?pv . ?pv <pred:value> "Z4KHF2C175" .  } UNION { ?e_1 <has_part> ?e . ?e_1 <pred:name> "pizza" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: UNII
Z4KHF2C175
function: FilterConcept
dependencies: 1
inputs: food ingredient
function: Find
inputs: pizza
function: Relate
dependencies: 3
inputs: has part
forward
function: FilterConcept
dependencies: 4
inputs: food ingredient
function: Or
dependencies: 2
5
function: Count
dependencies: 6