Owlready
Re: Storing ontology in graph database
Posted by
Jiba
on
URL:
http://owlready.306.s1.nabble.com/Storing-ontology-in-graph-database-tp370p377.html
The documentation is there:
http://owlready2.readthedocs.io/en/latest/world.html#persistent-world-storing-the-quadstore-in-an-sqlite3-file
Just do:
default_world.set_backend(filename = "/path/to/your/file.sqlite3")
And the quadstore will be stored in the given SQLite3 file (a new file is created if needed).
Then, call default_world.save() to save the quadstore on disk.
Free forum by Nabble
Edit this page