Question: What is the number of Winter Olympic Games that were officially opened by the person holding the position of President of the United States (the series ordinal of this statement is 37)?
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> "Winter Olympic Games" . ?e <officially_opened_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <position_held> ?e_2 . ?e_2 <pred:name> "President of the United States" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv . ?qpv <pred:value> "37" .   }
Program:
function: Find
inputs: President of the United States
function: Relate
dependencies: 0
inputs: position held
backward
function: QFilterStr
dependencies: 1
inputs: series ordinal
37
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: officially opened by
backward
function: FilterConcept
dependencies: 4
inputs: Winter Olympic Games
function: Count
dependencies: 5