Question: How many food ingredients have the nutrient dietary fiber or the USDA NDB number 01008?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "food ingredient" .  { ?e <nutrient> ?e_1 . ?e_1 <pred:name> "dietary fiber" .  } UNION { ?e <USDA_NDB_number> ?pv . ?pv <pred:value> "01008" .  } }
Program:
function: Find
inputs: dietary fiber
function: Relate
dependencies: 0
inputs: nutrient
backward
function: FilterConcept
dependencies: 1
inputs: food ingredient
function: FindAll
function: FilterStr
dependencies: 3
inputs: USDA NDB number
01008
function: FilterConcept
dependencies: 4
inputs: food ingredient
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 4