Towards the Design of Intelligent CAD Systems: an Ontological Approach