Question: What team with head coach Rick Carlisle did Jason Kidd play for?
Answer(s):
answer: Dallas Mavericks

SPARQL query:
PREFIX ns: <http://rdf.freebase.com/ns/>
SELECT DISTINCT ?x
WHERE {
FILTER (?x != ns:m.02cg2v)
FILTER (!isLiteral(?x) OR lang(?x) = '' OR langMatches(lang(?x), 'en'))
ns:m.02cg2v ns:sports.pro_athlete.teams ?y .
?y ns:sports.sports_team_roster.team ?x .
?x ns:basketball.basketball_team.head_coach ns:m.02zxw4 . 
}