Do these two sentences from wikipedia have the same meaning?
While prostitution is illegal in Canada , most activities related to prostitution are legal .
While prostitution in Canada is illegal , most of the activities related to prostitution are legal .
yes