Question: How many chemical elements with UNII code J41CSQ7QDS are nutrients contained in pork ?
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> "chemical element" . ?e_1 <nutrient> ?e . ?e_1 <pred:name> "pork" .  ?e <UNII> ?pv . ?pv <pred:value> "J41CSQ7QDS" .  }
Program:
function: Find
inputs: pork
function: Relate
dependencies: 0
inputs: nutrient
forward
function: FilterConcept
dependencies: 1
inputs: chemical element
function: FindAll
function: FilterStr
dependencies: 3
inputs: UNII
J41CSQ7QDS
function: FilterConcept
dependencies: 4
inputs: chemical element
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1