Question: How many products either have the USDA NDB number of 01084 or are the product or material produced by Gannett Company?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "product" .  { ?e <USDA_NDB_number> ?pv . ?pv <pred:value> "01084" .  } UNION { ?e_1 <product_or_material_produced> ?e . ?e_1 <pred:name> "Gannett Company" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: USDA NDB number
01084
function: FilterConcept
dependencies: 1
inputs: product
function: Find
inputs: Gannett Company
function: Relate
dependencies: 3
inputs: product or material produced
forward
function: FilterConcept
dependencies: 4
inputs: product
function: Or
dependencies: 2
5
function: Count
dependencies: 6