Question: How many governors have the position that is the position of the person who holds the position of Governor of New York (the start time of this statement is 1777)?
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> "governor" . ?e_1 <position_held> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <position_held> ?e_3 . ?e_3 <pred:name> "Governor of New York" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_3 ] <start_time> ?qpv . ?qpv <pred:year> 1777 .   }
Program:
function: Find
inputs: Governor of New York
function: Relate
dependencies: 0
inputs: position held
backward
function: QFilterYear
dependencies: 1
inputs: start time
1777
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: position held
forward
function: FilterConcept
dependencies: 4
inputs: governor
function: Count
dependencies: 5