Question: How many food items have the USDA NDB number 01079 and originate in Oman?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "food" . ?e <USDA_NDB_number> ?pv . ?pv <pred:value> "01079" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Oman" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: USDA NDB number
01079
function: FilterConcept
dependencies: 1
inputs: food
function: Find
inputs: Oman
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: food
function: And
dependencies: 2
5
function: Count
dependencies: 6