Semantic Web, the next generation Web, stands out from the traditional Web by incorporating meaning to the information that is accessible to the users. Hence in effect a Web of data is formed, represented through ontologies. Most of the data in the traditional Web is being stored in the form of relational databases. Hence for the common man to start with ontologies, this paper tries to propose a mechanism that efficiently stores an entire ontology as a database. To move along with this transition from the traditional Web to Semantic Web, all data must be converted to a form that complies to the Semantic Web concepts.