Search Mailing List Archives
[protege-discussion] Attaching data to classes and querying it
Terence Fitzgerald
terence.fitzgerald at relegence.com
Wed Apr 2 12:57:39 PDT 2008
Thanks, Samson, for your quick reply. I clearly hadn't gotten to
metaclasses yet, but I'll be using them now!
Best,
Terence
Terence,
You need to create your own metaclasses so that you can attach
class-specific information and query for them. See [1] and subsequent
pages on creating metaclasses and instances of metaclasses. The basic
idea is that a class is an instance of some metaclass, just as normal
instances are instances of classes. So you can treat classes as
instances if they are instances of appropriate metaclasses.
[1]http://protege.stanford.edu/doc/users_guide/classes/metaclasses/metac
lass_intro.html
--
Samson Tu email: swt at stanford.edu
Senior Research Scientist web: www.stanford.edu/~swt/
Center for Biomedical Informatics Research phone: 1-650-725-3391
Stanford University fax: 1-650-725-7944
More information about the protege-discussion
mailing list