When did Charles Lyell hold the position of  President of the Geological Society of London?
SELECT ?value WHERE { wd:Q5333 p:P39 ?s . ?s ps:P39 wd:Q7241336 . ?s pq:P580 ?value}
charles lyell: Q5333 president of the geological society of london: Q7241336