Object types(对象类型)¶
An object type is the schema definition of a real-world entity or event. An object or object instance refers to a single instance of an object type; an object corresponds to a single real-world entity or event. An object set refers to a collection of multiple object instances; that is, an object set represents a group of real-world entities or events.
For example, in the Ontology Manager, you may create an Employee object type that defines the characteristics for “All employees” or all objects of that type. An object refers to a single instance of the Employee object type, like the notional employees “Melissa Chang”, “Akriti Patel”, or “Diego Rodriguez.” A group of objects like “All tenured employees” represents an object set.
Similarly, in the Ontology Manager, you may create a Flight object type that defines characteristics for “All flights” or all objects of that type. An object refers to a single instance of the Flight object type, like “JFK → SFO 2021-02-24” or “TLV → LHR 2020-04-16.” A group of objects like “All arrived flights” represents an object set.
The concepts underpinning the Ontology have analogous concepts in the structure of a dataset. The definition of an object type in the Ontology is analogous to that of a dataset, while the definition of an object is analogous to that of a row in the dataset. The definition of an object set is analogous to a filtered set of rows in a dataset. For example, an Employee dataset may define the schema for “All employee rows.” In this case, a single row refers to a single employee, like “Melissa Chang,” “Akriti Patel,” or “Diego Rodriguez." If you filter the dataset based on tenure, you will have a set of rows that represent “All tenured employees.”
Rather than being an abstract data model, the Foundry Ontology maps each ontological concept to an organization's actual data, enabling this data asset to power real-world applications. Objects are created and displayed in user applications by adding backing datasources to an object type in the Ontology Manager. To create objects of type Employee, an organization will add backing datasources to the Employee object type and connect their employee directory and other enterprise data into the Ontology.
Get started by learning how to create an object type.
中文翻译¶
对象类型¶
对象类型(Object type) 是对现实世界实体或事件的模式定义。 对象或对象实例(Object/Object instance) 指对象类型的单个实例;一个对象对应一个现实世界的实体或事件。 对象集(Object set) 指多个对象实例的集合;也就是说,对象集代表一组现实世界的实体或事件。
例如,在本体论管理器(Ontology Manager)中,您可以创建一个 Employee 对象类型,用于定义"所有员工"或该类型所有对象的特征。一个对象指 Employee 对象类型的单个实例,比如名义上的员工"Melissa Chang"、"Akriti Patel"或"Diego Rodriguez"。像"所有终身员工"这样的对象组就代表一个对象集。
同样,在本体论管理器中,您可以创建一个 Flight 对象类型,用于定义"所有航班"或该类型所有对象的特征。一个对象指 Flight 对象类型的单个实例,比如"JFK → SFO 2021-02-24"或"TLV → LHR 2020-04-16"。像"所有已到达航班"这样的对象组就代表一个对象集。
支撑本体论(Ontology)的概念在数据集(dataset)的结构中有类似的概念。本体论中对象类型的定义类似于数据集的定义,而对象的定义则类似于数据集中的行(row)。对象集的定义类似于数据集中经过筛选的行集合。例如,一个 Employee 数据集可能定义了"所有员工行"的模式。在这种情况下,单行指代单个员工,如"Melissa Chang"、"Akriti Patel"或"Diego Rodriguez"。如果您根据任期筛选数据集,就会得到代表"所有终身员工"的行集合。
Foundry 本体论并非抽象的数据模型,而是将每个本体论概念映射到组织的实际数据,使这一数据资产能够驱动实际应用。通过在本体论管理器中为对象类型添加支持数据源(backing datasource),对象得以在用户应用中创建和显示。要创建 Employee 类型的对象,组织需要为 Employee 对象类型添加支持数据源,并将其员工目录和其他企业数据连接到本体论中。
开始学习如何创建对象类型。