Question: What number of Canadian provinces are located in Canada?
Choices:
9
10
11
12
13
14
15
16
17
18
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Canada" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Canada" .   }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: Count
dependencies: 2