Question: How many foods are a natural product of cattle or include vitamin B6 as a part?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "food" .  { ?e <natural_product_of_taxon> ?e_1 . ?e_1 <pred:name> "cattle" .  } UNION { ?e <has_part> ?e_1 . ?e_1 <pred:name> "vitamin B6" .  } }
Program:
function: Find
inputs: cattle
function: Relate
dependencies: 0
inputs: natural product of taxon
backward
function: FilterConcept
dependencies: 1
inputs: food
function: Find
inputs: vitamin B6
function: Relate
dependencies: 3
inputs: has part
backward
function: FilterConcept
dependencies: 4
inputs: food
function: Or
dependencies: 2
5
function: Count
dependencies: 6