Input (grade 13): The dog (Canis lupus familiaris,, nicknamed: Man's Best Friend) is a domesticated subspecies of the Gray Wolf, a member of the Canidae family of the order Carnivora.
Output (grade 9): The dog (Canis lupus familiaris) is a mammal from the family Canidae.