What is {member of} of {Margaret Thatcher} that is {end time} is {2013-4-8} ?
Did Margaret Thatcher stop being a member on 2013/4/8?
Was the period of Margaret Thatcher ended as member ended on 2013-4-8?
SELECT ?y WHERE { ?r property:member_of ?y . resource:Margaret_Thatcher property:member_of ?r . FILTER ( CONTAINS ( YEAR ( ?o ) , '2013' ) ) . ?r property:end_time ?o }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q7416> .
?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/P582> <2013-4-8>
} 

SELECT ?obj WHERE { wd:Q7416 p:P463 ?s . ?s ps:P463 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'2013')) }