Help Classes View Dissapearing

6 views
Skip to first unread message

John Perdoni

unread,
May 27, 2010, 10:11:33 AM5/27/10
to TopBraid Suite Users
I wonder if you can help, I have just been looking at some of the
preferences available when entering data into instances, and went to
forms and changed the "Automatically add empty rows " to for all
properties, and defalt forms layout to layout with labels, when I
clicked on ok it gave me message with regard to changing form layout,
sorry I cannot remember what it was.

Anyway i didnt like the way it was set up , so i changed back to the
default options, but now whenever I add, change or do almost anything
really the classes view loses all its classes , and I have to close
the window and reopen it.

On further investigation it seems to stop happening if i turn off
incremental infrerencing at edit time under the TopSpin options. I
have tried resetting all i can to default but to no avail.

This problem has also happened on my laptop, so I know its not the
hardware or an installation issue, is there anyway of completely
ressetting all to default or a know solution to this problem, as all
was working fine until an hour ago.

thanks in advance

John

Scott Henninger

unread,
May 27, 2010, 11:25:50 AM5/27/10
to TopBraid Suite Users
John; There is a Restore Defaults in the Preferences. If you've also
changed form layout for any classes, you can re-set them by choosing
the Form Layout class and deleting the layout ('X' in upper-right of
form). This an some other preferences, such as instance view layout,
inference configuration, etc are stored in the .tbc file. If you
delete these, this preferences will be reset the next time the file is
opened.

I tried but wasn't able to reproduce your problem. If there was any
error message with these operations, please let us know. The Error
Log view is opened from Window > Show View > Error Log.

-- Scott

John Perdoni

unread,
May 27, 2010, 2:59:48 PM5/27/10
to TopBraid Suite Users
Scott, no joy I am afraid, the problem is definately with theTopSpin
engine, I trashed the whole insallation of TBC, including the project
files, extracted to a new folder, created the file below. If I use
owllim i get no issues, if i change to TopSpin with incremental
inferencing on then when i change the value in the instance the engine
kicks in , and promptly kills the classes view. There is nothing in
the error log

Sorry to be such a pain but any other ideas.

Also many thanks for the time you put into answering my previous post.

Regards

John

# Saved by TopBraid on Thu May 27 19:49:55 BST 2010
# baseURI: http://example.org/unnamed0
# imports: http://topbraid.org/spin/owlrl-all
# imports: http://spinrdf.org/spin

@prefix : <http://example.org/unnamed0#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://example.org/unnamed0>
rdf:type owl:Ontology ;
owl:imports <http://topbraid.org/spin/owlrl-all> , <http://
spinrdf.org/spin> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .

:Chapter1
rdf:type owl:Class ;
rdfs:subClassOf owl:Thing ;
owl:equivalentClass
[ rdf:type owl:Restriction ;
owl:hasValue 1 ;
owl:onProperty :hasChapterNumber
] .

:Text
rdf:type owl:Class ;
rdfs:subClassOf owl:Thing ;
owl:equivalentClass
[ rdf:type owl:Restriction ;
owl:maxCardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty :hasChapterNumber
] .

:Text_1
rdf:type :Text ;
:hasChapterNumber 1 .

:hasChapterNumber
rdf:type owl:DatatypeProperty ;
rdfs:range xsd:integer .


On May 27, 4:25 pm, Scott Henninger <shennin...@topquadrant.com>
wrote:

> > John- Hide quoted text -
>
> - Show quoted text -

Holger Knublauch

unread,
May 27, 2010, 7:41:55 PM5/27/10
to topbrai...@googlegroups.com
Hi John,

there is indeed a small bug in the Classes View. It erases the root class if someone edits a triple rdfs:subClassOf owl:sameAs rdfs:subClassOf. This triple happens to be generated by TopSPIN when OWL RL is used.

Fortunately this inference is very redundant and inefficient anyway, so I have used this opportunity to deactivate it in the SPIN version of OWL RL. The new version of owlrl-all.rdf 0.9.1 is online and also attached. Please copy this into the SPIN folder of your workspace (under TopBraid) and restart. I hope this fixes the underlying problem. Note that we have never tested incremental inferencing with OWL RL, and it may not do what you want. I would rather deactivate it with OWL RL.

I have also fixed the more general problem with the Classes view for 3.4.

Thanks for your patience and issue report.
Holger

> --
> You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> To post to this group, send email to
> topbrai...@googlegroups.com
> To unsubscribe from this group, send email to
> topbraid-user...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/topbraid-users?hl=en

owlrl-all.rdf

John Perdoni

unread,
May 28, 2010, 2:59:35 AM5/28/10
to TopBraid Suite Users
Just glad I could return the favour

John
>  owlrl-all.rdf
> 4KViewDownload- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages