以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 Semantic Web(语义Web)/描述逻辑/本体 』  (http://bbs.xml.org.cn/list.asp?boardid=2)
----  请教:protege-2000保存在数据库中的数据格式  (http://bbs.xml.org.cn/dispbbs.asp?boardid=2&rootid=&id=9620)


--  作者:雨儿
--  发布时间:8/30/2004 4:22:00 PM

--  请教:protege-2000保存在数据库中的数据格式
请教:protege-2000形成的文件以其save in format保存在数据库中的数据格式有点看不明白。
其中属性字段名有:frame、slot、facet、is_template、value_index、value_type、slot_or_facet_value、long_slot_or_facet_value.这些字段分别代表什么?

--  作者:whale
--  发布时间:8/30/2004 4:53:00 PM

--  
下面的词汇也许有助于你的理解!

This Glossary defines terms used in this description of Protégé-2000. It is not meant to be an exhaustive list of terminology associated with object-oriented modeling.

Abstract Class
An abstract class cannot have instances and is identified with an  icon.
  
Allowed Classes
A constraint on the values of a type-instance slot. The value of the slot can only be an instance of the class (or any of its children) in the Allowed Classes list.
  
Application
The program that combines the Protégé-2000 knowledge base with a problem-solving method so that end users can use a Protégé-2000 knowledge base to solve a problem.
  
Boolean
A type of slot with a true or false value that appears as a checkbox in Protégé-2000. A checked box equals a true value.
  
Browser Key
The browser key of a class is one of its slots whose value is displayed when instances of this class are referred to by other instances' forms.
  
Cardinality
A slot facet that describes whether the slot has just one value (single) or more than one value (multiple). In Protégé-2000, Single is the default.
  
Class
An abstract representation of a concept in a domain as a collection of related classes. For example, a medical model might have protocol, guidelines, and patient data as classes. A class appears with one of the following icons in Protégé-2000: , , or . A class can have a set of slots that represent the attributes of the class.
  
Classes Tab
The Protégé-2000 part used to create, view, revise, and save classes.
  
Concrete Class
Concrete classes can have instances and are identified by the lack of an .
  
Direct Slot
A slot attached directly to a class (in contrast to a slot which is inherited).
  
Domain
A particular field of knowledge, such as breast cancer.
  
Facets
The attributes of a slot. Some facets depend on the value of the type facet. For example, an integer slot type has facets for Minimum and Maximum.
  
Float
A positive or negative real numeric value (e.g., 1.0, 3.4e10, -0.3e-3) used as a slot value.
Forms Tab
The Protégé-2000 part used to create the forms for acquiring instances of classes. It may also be used to view, revise, and save the forms.
  
Inheritance
A parent-child (superclass-subclass) relationship between two classes. A child (subclass) inherits the slots of its parent classes (superclasses).
  
Inherited Slot
A slot that is attached to a class via inheritance from a parent class.
  
Instance (KB value)
Concrete occurrence of information about a domain that is entered into a knowledge base. For example, Fran Smith might be an instance for a Name slot. An instances is entered via a form generated by Protégé-2000.
  
Instance (slot type)
A type of slot whose value is the instance of a class.
  
Instances Tab
The Protégé-2000 part used to acquire instances of classes. It may also be used to view, revise, and save the instances.
  
Integer
A positive or negative whole number (e.g., 1, 2, -4) used as a slot value.
Knowledge-acquisition tool
A tool used to build a knowledge base by acquiring instances. In  Protégé-2000, the forms comprise the KA tool.
  
Knowledge base (KB)
A set of instances of classes which may be used by PSMs.
  
Knowledge-based system
A computer system that includes a knowledge base about a domain and programs that include rules for processing the knowledge and for solving problems relating to the domain.
  
Ontology
A model of a particular field of knowledge - the concepts and their attributes, as well as the relationships between the concepts. In Protégé-2000, an ontology is represented as a set of classes with their associated slots.
  
.pins file
A Protégé-2000 file in clips format that contains instances.
  
.pont file
A Protégé-2000 file in clips format that contains an ontology.
  
.pprj file
A Protégé-2000 file that contains a project. A project file contains the customized form information and references to external sources of the domain information.
  
Problem-solving method (PSM)
A computer program used in conjunction with a knowledge base to answer questions or solve problems.
  
Slot
An attribute of a class. For example, a physician class might have name, title, and phone number as slots.
  
Slots Tab
The Protégé-2000 part that allows you to create, view, edit, and delete slots.
  
Symbol
An enumerated list of slot values, such as red, blue, green.
Type
A slot facet that identifies the kind of values a slot may have - Any, boolean, float, instance, integer, string, or symbol.


--  作者:雨儿
--  发布时间:8/30/2004 5:53:00 PM

--  
不是这个意思,数据库里存储的是一些数字,不知道这些数字之间有什么关系?
frame       slot        facet       is_template value_index value_type slot_or_facet_value                                                                                                                                                                                                                                            long_slot_or_facet_value                                                                                                                                                                                                                                         
----------- ----------- ----------- ----------- ----------- ---------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1004        2007        0           0           0           6          10971                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           1           6          10972                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           2           6          10973                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           3           6          10974                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           4           6          10975                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           5           6          10976                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           6           6          10977                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           7           6          10978                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           8           6          10979                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           9           6          10980                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           10          6          10981                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           11          6          10982                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           12          6          10983                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           13          6          10984                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           14          6          10985                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           15          6          10986                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           16          6          10987                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           17          6          10988                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           18          6          10989                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           19          6          10990                                                                                                                                                                                                                                                          NULL
1004        2007        0           0           20          6          10991
--  作者:雨儿
--  发布时间:8/30/2004 5:56:00 PM

--  
哎呀,怎么提交上来就成这个样子了,NULL是long_slot_or_facet_value 的值。                                                                                                                                                                                                            

--  作者:micky
--  发布时间:8/31/2004 12:05:00 PM

--  
仔细看看就弄明白了。

前面的是每个对象(概念、属性、个体等)的编号,相应的有其每个对象的基本描述,每个描述对应的对象编号或者具体的值则在最后一个字段进行关联。每个对象的描述一般有相应的几个记录来加以描述。比如对于某个个体实例,对它的描述可能就包括这个实例属于哪个概念,有哪些属性,属性值是什么等。


--  作者:LUET
--  发布时间:10/16/2005 10:17:00 AM

--  
不错,长知识了,呵呵
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
234.375ms