My guess is that you are referring to James Smithson, who funded the establishment of the Smithsonian Institution. For the life of me, however, I don't know to whom he was related in the Lincoln story. I do know that he was an illegitimate son of a British duke and Elizabeth Macie and that he had his name changed later to his father's original name of Smithson.