Question: What is the number of food ingredients that have the nutrient L-Arginine or the nutrient D-fructose (open structure)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: L-Arginine
function: Relate
dependencies: 0
inputs: nutrient
backward
function: FilterConcept
dependencies: 1
inputs: food ingredient
function: Find
inputs: D-fructose (open structure)
function: Relate
dependencies: 3
inputs: nutrient
backward
function: FilterConcept
dependencies: 4
inputs: food ingredient
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> "food ingredient" .  { ?e <nutrient> ?e_1 . ?e_1 <pred:name> "L-Arginine" .  } UNION { ?e <nutrient> ?e_1 . ?e_1 <pred:name> "D-fructose (open structure)" .  } }
Answer: 5