The ontology generation is an automatic process which
encodes and stores the ontology physically as an RDF file that
includes declarations of classes, properties and instances. In
addition, the ontology also includes the semantics that
describe the meaning of the data included in it. Typically, the
file is given the file extension owl. The first part of the
encoding process of ontology is the generation of the header.
The body of the ontology includes the classes, the properties
and the instances. The final part is the trailer. Figure 2 shows
these stages diagrammatically.