Question: How many taxa have the taxon name Allium cepa and are in the country of Canada?
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 <taxon_name> ?pv . ?pv <pred:value> "Allium cepa" . ?e <country> ?e_1 . ?e_1 <pred:name> "Canada" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: taxon name
Allium cepa
function: FilterConcept
dependencies: 1
inputs: taxon
function: Find
inputs: Canada
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: taxon
function: And
dependencies: 2
5
function: Count
dependencies: 6