You can compare the two because both did have slaves and women had no part and could have a part in government and anything associated with such. But in contrast with he two Athens believed and practiced democracy and Sparta was ruled very strictly as a military state.
Hope this helps!