Thanks Holger,

I wasn't aware of the attachment aspect.  I went back to my ontology and 
change the base URI back what it was originally and all of the saved 
snapsots reappeared!  Several hours of work recovered, I'm very happy.  I 
should have tried that sooner.

I did another test that you'll want to be aware of when you work on a bug 
fix for the first problem, it impacts graph snapshots attached to a 
resource following a base uri change.  The formula:

1) Create a new ontology, give the Base URI:  http://test.foo 

2) Create the namespace prefix:   test:  http://test.foo#

3) Create two subclasses of owl:Thing:  test:Thing_1  , test:Thing_2

4) Load test:Thing_1 into the Form view

5) Go to the Graph view, drag in test:Thing_2

6) Click "Add to snapshots", give the name "Test" (verify) .  The graph 
snapshot should be attached to test:Thing_1

7) Return to the ontology "Overview" tab and change the Base URI to  
http://test.foo/bar 

8) Return to the Graph View and select "Test" from the Snapshot dropdown 
menu.   The graph view will now appear very differently [This is the Bug].

9) Return to the ontology "Overview" tab and reset the Base URI to the 
original http://test.foo

10) Return to the Graph View and select "Test" from the Snapshot dropdown 
menu.  The graph will appear OK, as per the original definition.


thanks,

-Daniel



On Monday, May 7, 2012 12:29:51 AM UTC-4, Holger Knublauch wrote:
>
> Thanks, Daniel. Recorded. Graph snapshots are attached to the selected 
> resource, and I guess in this case TBC does not handle renaming the 
> owl:Ontology itself (base URI) correctly. Work around is to attach the 
> snapshots to other resources. 
>
> Holger 
>
>
> On 5/7/2012 3:45, Daniel Mekonnen wrote: 
> > I experienced a problem where saved graphs in the Graph View can 
> > disappear unexpectedly.  A formula to reproduce: 
> > 
> > 1) Create a new ontology, give the Base URI:  http://test.foo 
> > 
> > 2) Go to the graph view, drag in owl:Thing 
> > 
> > 3) Right click the right side of the owl:Thing rectangle and select 
> "All" 
> > 
> > 4) Click "Add to snapshots", give the name "Test" (verify by checking 
> > for "Test" in the drop down menu). 
> > 
> > 5) Return to the "Overview" tab and change the Base URI to 
> > http://test.foo/bar 
> > 
> > 6) Return to the Graph View, click the dropdown menu for snapshots, 
> > "Test" will be gone. 
>

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
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-users?hl=en

Reply via email to