Sanitization of Social Network Data for Release to Semitrusted Third Parties