Question: What is the series ordinal of Robert Smith (the one whose date of birth is 1757-11-03) who is United States Secretary of State?
Choices: 15
8
45
6
39
14
2
42
151
1
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Robert Smith" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1757-11-03"^^xsd:date . ?e_2 <pred:name> "United States Secretary of State" . ?e_1 <position_held> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: Robert Smith
function: FilterDate
dependencies: 0
inputs: date of birth
1757-11-03
=
function: Find
inputs: United States Secretary of State
function: QueryRelationQualifier
dependencies: 1
2
inputs: position held
series ordinal
Answer: 6