Question: What is the number of taxon that is the main food source of cattle and whose NBN System Key is NBNSYS0000002249 ?
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> "taxon" . ?e_1 <main_food_source> ?e . ?e_1 <pred:name> "cattle" .  ?e <NBN_System_Key> ?pv . ?pv <pred:value> "NBNSYS0000002249" .  }
Program:
function: Find
inputs: cattle
function: Relate
dependencies: 0
inputs: main food source
forward
function: FilterConcept
dependencies: 1
inputs: taxon
function: FindAll
function: FilterStr
dependencies: 3
inputs: NBN System Key
NBNSYS0000002249
function: FilterConcept
dependencies: 4
inputs: taxon
function: And
dependencies: 2
5
function: Count
dependencies: 6