What is {member of sports team} of {Kareem Abdul-Jabbar} and {end time}
What sports group did Kareem Abdul-Jabbar play for and when did he take off the team?
What sports team did Kareem Abdul-Jabbar play for and when did he leave the team?
SELECT ?w ?r WHERE { resource:Kareem_Abdul-Jabbar property:member_of_sports_team ?a . ?a property:member_of_sports_team ?r . ?a property:end_time ?w . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q179051> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P54> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q179051 p:P54 ?s . ?s ps:P54 ?obj . ?s pq:P582 ?value1 . }