What is {member of} of {Benjamin Franklin} that is {start time} is {1786-0-0} ?
In 1786, who became a member of Benjamin Franklin?
Who became a member of Benjamin Franklin in 1786?
SELECT ?m WHERE { resource:Benjamin_Franklin property:member_of ?l . ?l property:start_time ?n . ?l property:member_of ?m . FILTER ( CONTAINS ( YEAR ( ?n ) , '1786' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34969> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P463> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P580> <1786-0-0>
} 

SELECT ?obj WHERE { wd:Q34969 p:P463 ?s . ?s ps:P463 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'1786')) }