Question: How many governors have held the position of Vice President of the United States (the series ordinal of this statement is 4)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "governor" . ?e <officeholder> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <position_held> ?e_3 . ?e_3 <pred:name> "Vice President of the United States" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_3 ] <series_ordinal> ?qpv . ?qpv <pred:value> "4" .   }
Program:
function: Find
inputs: Vice President of the United States
function: Relate
dependencies: 0
inputs: position held
backward
function: QFilterStr
dependencies: 1
inputs: series ordinal
4
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: officeholder
backward
function: FilterConcept
dependencies: 4
inputs: governor
function: Count
dependencies: 5
Answer: 1