Question: How many position match the head of government of the Canadian province whose short name is Que. ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "position" . ?e_1 <office_held_by_head_of_government> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "province of Canada" . ?e_1 <short_name> ?pv . ?pv <pred:value> "Que." .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
Que.
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: Relate
dependencies: 2
inputs: office held by head of government
forward
function: FilterConcept
dependencies: 3
inputs: position
function: Count
dependencies: 4