|
|
Index
| Recent Threads
| Who's Online
| User List
| Search
| Help
| |
|
Forum has been closed down This forum has been closed down due to extensive spamming activities. Please use the mailing list instead. |
![]() |
openRDF.org Forum » General: Other » Thread: How to store an ontology |
|
Total posts in this thread: 3 |
[Add To My Favorites] [Watch this Thread] |
| Author |
|
|
Mar 1, 2007 12:51:38 PM
skouk Visitor
|
Hi guys, I am new in this forum as well so pls bear with me:) I am currently working on a project in which I want to include ontologies. I have already created my OWL file. I have difficulty in deciding how to store it (the classic ontology question!). Two basic options exist: - either I store ontology as an OWL graph using a framework (will Sesame do or is it only for RDF formats?) - separate the data form the ontology management information into different repositories to enable quicker access and queries. But I am not sure how the second is feasible technically. In general, this is an architecture choice but I have difficulties seeing the large image and reaching a decision. Can anyone with some experience help? |
||
|
|
Mar 1, 2007 1:56:19 PM
james OpenRDF.org Consultant Canada Joined: Jul 21, 2005 Posts: 650 Status: Offline |
An OWL ontology is itself RDF data, so Sesame can store both the ontology and the domain data. Storing the ontology with the data is usually a good idea as this enables the possibility of reasoning on the data. When storing both the ontology and the data in the same repository it is a good idea to store the resources in a different namespace, so as not to confuse the two. With Sesame2 you also have the option of storing the ontology in its own context. This makes the ontology easier to update later. ---------------------------------------- Sesame Consultant http://leighnet.ca http://jamesrdf.blogspot.com |
||
|
|
Apr 13, 2010 10:56:13 AM
ravish Regular
|
I have a potentially embarrassing question. How do I retrieve an entire ontology into a model object (like jena model or sesame model object in Java)? I want to make sure that the model includes all classes, properties etc, plus if it refers to another ontology, also includes all linked classes/properties into an object that I can traverse over. Edit: However, it should exclude all other ontologies and classes that may be present but not linked to ontology I am trying to load. I want to do this without having to resort to a lot of SPARQL/SeRQL statements. If anyone can help me with a brief code snippet, I will really appreciate it. Thanks,. ---------------------------------------- [Edit 1 times, last edit by ravish at Apr 13, 2010 10:57:30 AM] |
|||
|
| [Show Printable Version of Thread] |