Question: How many food ingredients do we know whose USDA NDB number is 11760 or whose pronunciation audio is Pa-ਟਮਾਟਰ.oga ?
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 <USDA_NDB_number> ?pv . ?pv <pred:value> "11760" .  } UNION { ?e <pronunciation_audio> ?pv . ?pv <pred:value> "Pa-ਟਮਾਟਰ.oga" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: USDA NDB number
11760
function: FilterConcept
dependencies: 1
inputs: food ingredient
function: FindAll
function: FilterStr
dependencies: 3
inputs: pronunciation audio
Pa-ਟਮਾਟਰ.oga
function: FilterConcept
dependencies: 4
inputs: food ingredient
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2