Question: What team did Mahela Jayawardene play for until 2010?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q2739165 p:P54 ?s . ?s ps:P54 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'2010')) }