what is the {end time} for {Richard Wright} has {member of political party} as {Communist Party USA} ?
Name the date on which Richard Wright dropped out of the United States Communist Party.
When did Richard Wright cease to be a member of the Communist Party USA?
SELECT ?n WHERE { resource:Richard_Wright property:member_of_political_party ?l . ?l property:member_of_political_party resource:Communist_Party_USA . ?l property:end_time ?n }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q319820> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P102> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q308714> .
?statement <http://www.wikidata.org/entity/P582> ?value. 
} 

SELECT ?value WHERE { wd:Q319820 p:P102 ?s . ?s ps:P102 wd:Q308714 . ?s pq:P582 ?value}