What is {member of sports team} of {Zlatan Ibrahimović} that is {end time} is {1999-0-0} ?
zlatan ibrahimovic stopped playing for what time in 1999?
For what sports team did Zlatan Ibrahimovic stop playing in 1999?
SELECT ?y WHERE { ?p property:end_time ?a . FILTER ( CONTAINS ( YEAR ( ?a ) , '1999' ) ) . resource:Zlatan_Ibrahimović property:member_of_sports_team ?p . ?p property:member_of_sports_team ?y }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q46896> .
?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/P582> <1999-0-0>
} 

SELECT ?obj WHERE { wd:Q46896 p:P54 ?s . ?s ps:P54 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1999')) }