Legal Issues in the Data Selection Phase