Robots learn socially accepted behavior by reading and understanding children's books, particularly stories about chivalry. Researchers developed a technology called 'Quixote' that can teach robots how to align their goals with proper human behavior in social settings.