The Measure of a Man

Stardate: 42523.7. When Data's rights as a sentient individual are placed under trial, Starfleet forces Riker into a position where he must prove that Data is only an Android.