Question: How many Canada provinces have Canada as a country?
Choices:
8
9
10
11
12
13
14
15
16
17
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: Count
dependencies: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Canada" . ?e <country> ?e_1 . ?e_1 <pred:name> "Canada" .   }
Answer: 10