Question: Who replaced Robert Smith, born on 3rd November 1757, in the position of United States Secretary of State?
Choices: Rick Perry
David Cameron
Nathaniel Pitcher
Dick Cheney
Joe Clark
Abraham Lincoln
United States of America
Harry S. Truman
John Major
James Monroe
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 ] <replaced_by> ?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
replaced by
Answer: James Monroe