Question: What are the count of dog that originates from Rio de Janeiro  (the one whose ISO 3166-2 code is BR-RJ)
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Rio de Janeiro
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
BR-RJ
function: Relate
dependencies: 1
inputs: country of origin
backward
function: FilterConcept
dependencies: 2
inputs: dog
function: Count
dependencies: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "dog" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Rio de Janeiro" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> "BR-RJ" .   }
Answer: 0