Knowledge-based inheritance and Material-based Inheritance