-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the ability to save RDF models #17
Comments
Example of writing model to file in Turtle
|
The preferred method for saving models is to use Output Streams, the writer can have character encoding issues. Also, there is a
|
When saving/editing models there is a need for caution with the type of Class being used to handle the model. A user's data model can be handled using Similarly, if a user's data model is passed to a reasoner with a schema; the resulting inferred model will contain triples not in the original data model (and likely not wanted) and should not be written out or edited. |
Thanks for looking into this! In the future, we may want to have separate A reminder: when doing I/O, please use try-with-resources blocks so that we always close the file properly. |
At the moment, the driver can only read RDF documents. At some point we need to add the ability to create new RDF resources, link them together, add properties, and save back the result.
This would probably have to wait until we have thought out the MOF2RDF mapping.
The text was updated successfully, but these errors were encountered: