How can I map an ontology components to a relational database?
Question: I already have an owl ontology which contains classes, instances and object
properties. How can I map them to a relational data base such as MYSQL using a
Python as a programming language(I prefer Python) ?  
**For example** , an ontology can contains the classes: "Country and city" and
instances like: "United states and NYC". So I need manage to store them in
relational data bases' tables. I would like to know if there is some Python
libraries to so.


Answer: If I understand you well, I think you could use SQLite with python. SQLite is
great because you have just to import the library with :

    
    
    import sqlite3
    

And then, there is no need for a server. Things are stored in a file, gerenaly
ending with : `.db`

Have a look at the doc, the example are helpful :
<https://docs.python.org/2/library/sqlite3.html>

**EDIT :** To review or create your database and tables, I advise you tu use
sqlitebrowser, which is light and easy to use : <http://sqlitebrowser.org/>

