Question: What is the number of armies that bear allegiance to Elizabeth II and have the official name Canadian Army?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Elizabeth II
function: Relate
dependencies: 0
inputs: allegiance
backward
function: FilterConcept
dependencies: 1
inputs: army
function: FindAll
function: FilterStr
dependencies: 3
inputs: official name
Canadian Army
function: FilterConcept
dependencies: 4
inputs: army
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "army" . ?e <allegiance> ?e_1 . ?e_1 <pred:name> "Elizabeth II" .  ?e <official_name> ?pv . ?pv <pred:value> "Canadian Army" .  }
Answer: 0