Question: How many  administrative territorial entities of Canada are located in the sovereign state whose demonym is  קנדי (the involved part of this statement is masculine) ?
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> "administrative territorial entity of Canada" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <demonym> ?pv . ?pv <pred:value> "קנדי" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv . ?qpv <pred:value> "masculine" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
קנדי
function: QFilterStr
dependencies: 1
inputs: applies to part
masculine
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity of Canada
function: Count
dependencies: 5
Answer: 5