Hi Dalia, I just discovered a bug in TBC: if you change the base URI of an Oracle file then the .oracle file is not adjusted to reflect that new base URI. As a result, although the changes are written to the actual database, the connection metadata (.oracle) file is not updated, and the next time you open it the database is out of synch with it. This means that you won't see an owl:Ontology and no owl:imports when you open the .oracle file. Changing the base URI in TBC will always change the URI of the owl:Ontology, and this is crucial to resolve imports.
While I have just fixed this for the next release (after 3.2), the work-around is to open the .oracle file in a text editor and adjust the sml:baseURI entry in that file. Regards Holger On Nov 2, 2009, at 3:39 PM, Dalia E Varanka wrote: > > After I changed the Base URI, I was no longer able to open the .n3 > file. > I had to replace it with an earlier version and lost my work. > > Does a conflict arise if the Base URI is not the same as the folder/ > file path name? > > > > ----- Forwarded by Dalia E Varanka/GEOG/USGS/DOI on 11/02/2009 05:37 > PM ----- > From: Scott Henninger <[email protected]> > To: TopBraid Composer Users <[email protected]> > Date: 11/02/2009 02:06 PM > Subject: [tbc-users] Re: URI to match Oracle database > Sent by: [email protected] > > > > > > Dalia; There are a lot of moving parts here, so I'm not sure I can do > much more than as some follow-up questions. > > <I manually created an ontology from some standards lists, but when I > wanted to link it to Oracle data...> > > An existing Oracle RDF data store? Or did you create a new one? How? > Or are you referring to a relational store? > > <I can't seem to get the names to change, and even when I am able to > manually type in the new url,> > > The base URI? Go to the ontology home, unlink the base URI and > default namespace, enter the new base URI or default namespace, and > hit "return". Note that the text is not entered until the text box > transition form a thick black line to a think black line. Also see: > Help > User Interface Overview > Resource Editor > Ontology Overview > > <Since there are many classes in this ontology, I would rather not > change them all individually.> > > There are a number of ways to refactor URIs: > Help > How to? > Refactor ontologies > > <the uri to the same url as my database> > > Is the general issue that you have resources in modelX that you want > to have the same URIs in the Oracle data store? If so, the > refactoring ontologies should help. The bottom line is that you will > need to modify the resources in your modelX to agree with the Oracle > resources. > > <do you think this is the reason I was not able to get Oracle > instances when I created a new Oracle database?> > > You'd have to explain what is happening here in more detail. > > -- Scott > > > > > On Nov 2, 1:46 pm, Dalia E Varanka <[email protected]> wrote: > > Hi - I manually created an ontology from some standards lists, but > when I > > wanted to link it to Oracle data, I moved it to a new workspace > and I > > wanted to change the base uri, the default namespace and the > prefix to the > > url of the database I want to link the ontology to. I can't seem > to get > > the names to change, and even when I am able to manually type in > the new > > url, it almost always reverts back to the original uri. > > Since there are many classes in this ontology, I would rather not > change > > them all individually. Besides, doing that makes them appear with a > > prefix, whereas the rest of them have stand-alone class names. > > > > My question(s) is/are: > > > > How can I change the uri to the same url as my database, without > > recreating the entire ontology I copied from a different > workspace, and do > > you think this is the reason I was not able to get Oracle > instances when I > > created a new Oracle database? > > > > thanks > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
