couple of mods to show-classtree

2 views
Skip to first unread message

Alan Ruttenberg

unread,
Oct 25, 2006, 1:46:45 AM10/25/06
to lsw-d...@groups.google.com
The argument :use-labels (default t) controls whether to
preferentially use rdfs:labels in the the classtree view.

The argument :dont-show takes a list of classes which shouldn't be
shown in the graph (none of their children are shown either).

So now you can get a reasonable view of OBI with:

(show-classtree "http://svn.sourceforge.net/viewvc/*checkout*/fugo/
trunk/ontology/OBI.owl" :dont-show (list !obi:OBI_250))

!obi:OBI_250 is the class _deleted_classes, just being kept around in
case they might be useful, but not part of the ontology per se.

-Alan


or

(show-classtree "http://svn.sourceforge.net/viewvc/*checkout*/fugo/
trunk/ontology/OBI.owl"
:dont-show (list !obi:OBI_250 !protege-owl:PAL-CONSTRAINT !
protege-owl:DIRECTED-BINARY-RELATION))

if the other protege internals bother you.


Reply all
Reply to author
Forward
0 new messages