What is {member of sports team} of {Sourav Ganguly} that is {start time} is {2005-0-0} ?
Which was the first team in 2005 where Sourav Ganguly started?
What team did Sourav Ganguly play for starting in 2005?
SELECT ?l WHERE { FILTER ( CONTAINS ( YEAR ( ?y ) , '2005' ) ) . ?b property:member_of_sports_team ?l . resource:Sourav_Ganguly property:member_of_sports_team ?b . ?b property:start_time ?y }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q561487> .
?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> <2005-0-0>
} 

SELECT ?obj WHERE { wd:Q561487 p:P54 ?s . ?s ps:P54 ?obj . ?s pq:P580 ?x filter(contains(YEAR(?x),'2005')) }