# Introduction to ontologies｜中文共读

Antonia Lock / EMBL-EBI · CC BY 4.0

原作：https://www.ebi.ac.uk/training/online/courses/bioinformatics-for-principal-investigators-collection/making-the-most-of-your-data/ontologies/

本机 Whisper base.en 对完整原片进行真实语音识别；中文为辅助译稿，部分术语参照幻灯片修订。122 个识别段按文字长度细分字幕时间，句内定位近似。未经逐句听审；英文仍可能有识别错误，不能作为官方逐字稿。

## 00:00:00.000

生命科学领域存在许多获取知识的障碍。现代研究需要的范围、规模和速度超出了人的处理能力。例如，当时 PubMed 有超过三千万条文献记录，PDB 有近二十万个结构，NAR 期刊介绍过约一千八百个数据库。

英文机器稿：So there's a lot of barriers to finding knowledge in life sciences. So for example, humans can't operate at the scope, scale or speed that's required by modern research today. So for example, there's over 30 million citations in PubMed, almost 200,000 structures in the PDB. And in the NAR journal, there's been around 1800.

## 00:00:30.000

这些都是生命科学数据库。因此，单个研究团队很难汇集如此庞大的数据和知识。

英文机器稿：So there's a lot of different life sciences databases described. So obviously, at the scale of an individual research groups, it's impossible to to collate all of this information in any sort of sensible way. There's just too much data.

## 00:00:49.000

除了在期刊发表结果，还可以把数据存入专业数据库。例如，把结构数据存入 PDB，把基因表达数据存入 Gene Expression Omnibus。

英文机器稿：And nowadays researchers, aside from publishing the finalist journals, they're often required to deposit often specialist data into different repositories, so for example, the PDB or Gene expression omnibus.

## 00:01:08.000

但数据存进去以后，别人可能仍然难以理解，数据质量也可能参差不齐。

英文机器稿：Once you find this data, it can be very difficult to interpret for other researchers. And sometimes it's also difficult to know what kind of quality the data is of.

## 00:01:21.000

讲者引用的一项研究估计，公开数据中有约三分之二难以使用。这里引用的是特定研究的历史结论。

英文机器稿：And in this paper that authors found that in their domain of life sciences, they've estimated the two thirds of public data might be unusable.

## 00:01:37.000

计算机不像人一样，能够直觉地理解语义和上下文。

英文机器稿：So in contrast, computers or machines, they are unlike humans, they have no intuitive sense of semantics or contextual cues.

## 00:01:49.000

计算机可以帮助处理数据规模，却不一定能理解背景。例如，bud initiation 这个词需要上下文。

英文机器稿：So they can deal with the scope scale and speed of data, but they can't cope with the context. So for example, if you have a concept such as bud initiation, humans would be able to pick out from the context.

## 00:02:05.000

它可能指牙胚形成、细胞出芽，也可能指花芽形成。

英文机器稿：So we're talking about tooth bud initiation, said about initiation of flower bud initiation.

## 00:02:12.000

生物策展人员帮助组织知识，寻找相关数据集和文献，整理数据存储库，并描述复杂的数据。

英文机器稿：So we curate is coming. Well, we organize the world of knowledge. So we find data sets publications different repositories. We describe and simplify often very complex data.

## 00:02:28.000

他们还会去除杂乱和重复的信息，制定标准。

英文机器稿：We try to remove cluster so redundancy in data. We develop standards.

## 00:02:34.000

这些工作包括淘汰过时知识、传播整理后的知识，同时保存历史记录。

英文机器稿：We also deprecate old knowledge, we disseminate information to to others, and we maintain archives of historical records.

## 00:02:48.000

2016 年发表的 FAIR 原则论文提出了四项原则。

英文机器稿：So in 2016, this paper was published describing the fair principles so the forefounding principles for good data management.

## 00:03:00.000

也就是可发现、可访问、可互操作和可复用。

英文机器稿：And it was done to improve the findability accessibility interoperability and reuse of different digital assets.

## 00:03:09.000

这些原则涉及数字对象、元数据，以及支持它们的基础设施。

英文机器稿：And it was referred to three types of entities so data or any other digital object metadata, which refers to information about that digital object and different infrastructure.

## 00:03:21.000

先来看可发现性。

英文机器稿：So in order for data to be findable.

## 00:03:25.000

数据应当能被人和计算机发现，因此需要机器可读的元数据。

英文机器稿：Well, it should be easy to find for both humans and computers, and machine readable metadata essential for automatic discovery of data sets and services.

## 00:03:35.000

需要为数据设置标识符、提供元数据，并登记到可检索的资源库。

英文机器稿：To achieve this, you need to associate data with identifiers metadata and it needs to be deposited in the external searchable repository.

## 00:03:45.000

接下来是可访问性。

英文机器稿：In order for data to be accessible.

## 00:03:47.000

找到数据以后，用户需要知道怎样访问它。

英文机器稿：Once a user finds their required data, they need to know how they can access it.

## 00:03:53.000

这可能涉及身份验证和访问授权。

英文机器稿：And also, if they need any authentication authorization.

## 00:03:59.000

访问应使用标准化的通信协议。

英文机器稿：So data needs to be retrievable and accessible using standardized protocols.

## 00:04:04.000

然后是可互操作性。

英文机器稿：And for data to be interoperable.

## 00:04:06.000

数据需要与其他数据整合，并进入分析、存储和处理的工作流程。

英文机器稿：And it needs to be integrated with other data and interoperated with applications or workflows for analysis, storage and processing.

## 00:04:14.000

因此，要使用容易获取、广泛接受的知识表示语言。

英文机器稿：And it should be described using accessible and widely acceptable language.

## 00:04:22.000

FAIR 的最终目标是复用。数据及元数据应描述充分，便于重复和组合使用，并清楚说明来源和使用许可。

英文机器稿：So the ultimate goal of air is to optimize the use of data and metadata needs to be well described, so it can be replicated or combining different settings and the data probably needs to be clear and usage slices need to be clear as well.

## 00:04:41.000

生物数据整理会使用受控词表和本体，而不只是自由文本。

英文机器稿：And then, when we describe biological data with on curators tend to try and use control vocabularies and on top of this rather than free text.

## 00:04:53.000

自由文本适合人阅读，但计算机不容易处理。

英文机器稿：Free text again tends to be good for people but not so much for computers.

## 00:04:59.000

受控词表是在特定领域中规定的一组术语。

英文机器稿：So what's what are these so control vocabulary will contain fixed terms to describe concepts in a domain.

## 00:05:08.000

它有助于索引和检索，减少歧义。讲者用词汇列表作对比：本体进一步表达术语之间的关系，使知识可以被计算处理。

英文机器稿：This allows for indexing retrieval, avoids ambiguity and actual languages, but it's essentially a flat list of terms so it's more like a dictionary, whereas an ontology, they use control vocabularies but, but the terms are related to each other, in a structured and computable format.

## 00:05:28.000

本体中的类，有时也会被称作实体或术语。

英文机器稿：So, all of these will consist of different parts so there's classes, which are sometimes known as entities or terms.

## 00:05:35.000

类带有元数据，并通过关系连接；这些信息可以保存为不同格式的文件。

英文机器稿：There are some metadata associated with them with these relationships between them, and then you have different file formats and statements.

## 00:05:46.000

其中也可以包含逻辑陈述。

英文机器稿：Logical statements.

## 00:05:49.000

下面以 Gene Ontology，也就是基因本体为例。

英文机器稿：So I'm going to use the gene ontology throughout this talk as an example.

## 00:05:55.000

我们先看 Gene Ontology。

英文机器稿：So, I'm going to use the gene ontology.

## 00:05:57.000

它是生物学领域广泛使用的本体之一。

英文机器稿：And the gene ontology is probably the most famous bio ontology.

## 00:06:02.000

它描述基因产物的属性，包括蛋白质和非编码 RNA。

英文机器稿：It aims to capture biological knowledge and describe different attributes of the products which are proteins or noncoding RNAs.

## 00:06:11.000

它不局限于某一个物种。

英文机器稿：And it aims to do so in a species like most of the manner.

## 00:06:14.000

这些描述应能被人和机器理解。

英文机器稿：And in a language is interpretable by most, both humans and machines.

## 00:06:19.000

分子功能描述基因产物可以完成的单步任务，例如酶的催化活动。

英文机器稿：It describes these three different domains called molecular functions, which are single step tasks so different enzymes for example.

## 00:06:26.000

生物过程描述一系列事件，例如柠檬酸循环；细胞组分描述这些活动发生的位置。

英文机器稿：There's one ontology for biological processes, which are like a series of events, like the citric acid cycle, or where processes and functions take part so different cell components.

## 00:06:41.000

讲者在这里强调 GO 所描述的正常生物学功能与疾病、病理过程之间的范围区别。

英文机器稿：And go only covers normal biological phenomena, not pathological processes. So no diseases.

## 00:06:51.000

每个本体类可以表示一个概念，例如内吞作用。

英文机器稿：So the basic unit within an ontology are classes, which are things that exist in a domain. So for example, in the gene ontology and the cytosys.

## 00:07:04.000

其他本体的类还可以表示过氧化氢、脆性 X 综合征等概念。

英文机器稿：In a chemical ontology, you might find a term, such as hydrogen products side or in a disease ontology Fred Alex syndrome.

## 00:07:14.000

类具有稳定、通常不直接编码语义的标识符。即使名称或定义调整，标识符仍有助于保持引用稳定。

英文机器稿：And these classes should be associated with stable and somatic phi identifiers to promote stability, even though term or class names might change, or the definition of the names might change these these stable identifiers should always point to the same thing.

## 00:07:34.000

有时，两个类可能会被合并。

英文机器稿：But they might be merged.

## 00:07:36.000

被合并类的标识符可以保留为替代标识符或次级标识符。

英文机器稿：And then alternate ideas are maintained as a very identifiers, and they could also be obsolete.

## 00:07:43.000

过时的类会被标记为废弃，保留历史记录，但不再用于新的注释。

英文机器稿：And usually when you obsolete the term, you don't use it for further annotation, but it still stays in the ontology for historical records so that people can look it up.

## 00:07:55.000

废弃类的元数据可以说明原因，并指向建议的替代类。

英文机器稿：And there might be, and this term opposite terms might contain metadata, the point to alternative terms that should be used instead. So for example,

## 00:08:06.000

例如，这里的 pathogenesis 类被废弃，因为它涉及两个生物体在特定条件下的相互作用，不能简单当作单一生物体的正常过程。

英文机器稿：the term pathogenesis was obviously didn't go because it describes the interaction between two organisms under specific conditions, rather than a real natural process.

## 00:08:22.000

页面会建议使用更合适的概念，例如共生体对宿主过程的调节。

英文机器稿：And in this obsolete terms, there are some suggestions for what terms you could use instead. So, for example, modulation by symbiontal force process.

## 00:08:36.000

下面看描述这些类的元数据。

英文机器稿：So metadata is information that are associated with classes.

## 00:08:45.000

定义是其中非常重要的部分。

英文机器稿：So one very important part of the metadata is the term definition.

## 00:08:51.000

文本定义帮助人理解，逻辑定义帮助机器理解。

英文机器稿：So you have a textual definition, which is aimed at humans and a logical definition that it's aimed at computers.

## 00:09:00.000

例如，糖蛋白生物合成过程，是形成糖蛋白的生物合成过程。

英文机器稿：So for example, the human textual definition might define glycoprotein biosynthesis as a biological process that results in the formation of a glycoprotein.

## 00:09:12.000

糖蛋白则是至少具有一个糖基化残基的蛋白质。

英文机器稿：And a glycoprotein is a protein that includes at least one glycosylate residue.

## 00:09:19.000

逻辑定义可以将其表达为：生物合成过程，并且直接产出某种糖蛋白。

英文机器稿：Whereas in the logical definition, glycoprotein biosynthesis is equivalent to biosynthesis, which has output, something like a protein.

## 00:09:32.000

做注释时应依据定义，而不是只看术语名称。

英文机器稿：And as curators is worth pointing out that we always annotate to the term definition, not the term name because the term definition should state exactly what what the term encompass.

## 00:09:44.000

一个术语可能有一个看起来熟悉的名字。

英文机器稿：Whereas the term name.

## 00:09:49.000

但不同的人可能对名字有不同理解。定义帮助明确这个过程究竟包括什么。

英文机器稿：People might interpret that differently, the starting and over process so it needs to be unit down to the definition.

## 00:09:59.000

这样才能提高不同策展人员之间的一致性。

英文机器稿：And good definition is really important because it promotes intercurator annotation agreements so we all mean the same by the same term, which I just to do the two.

## 00:10:09.000

本体还要整合不同领域的知识；即使是专家，也可能不熟悉其他领域的术语。

英文机器稿：And it facilitates integration because it allows known experts and experts to understand unfamiliar terms and enable them to use terms from external top piece.

## 00:10:22.000

明确的定义还帮助本体开发者与推理器检查知识结构。

英文机器稿：And it allows on totally developers to use assisting tools such as recenters, which I will mention a little bit more about later.

## 00:10:34.000

合并后的类可能保留次级标识符。

英文机器稿：And then secondary IDs is another type of metadata that's associated with a term. So you might get that from term mergers.

## 00:10:43.000

元数据还可以包括废弃标记、同义词，以及 EC、Rhea 等外部资源的交叉引用。

英文机器稿：You can also find a solution flags in names cross references to alternative databases and so on. So for example in goal we cross reference, easy and rare for reactions.

## 00:10:54.000

也可以记录支持该类定义的文献。

英文机器稿：And we also link to publication supporting the existence of a class.

## 00:11:00.000

这里有两个例子，可以看到名称、定义和注释等元数据。

英文机器稿：And then we also link to the two terms, as to example of two terms and some of the metadata that's associated with it so seen the names definition, perhaps a comment and so on.

## 00:11:13.000

注释可以进一步说明这个类应当怎样使用。

英文机器稿：So comments for examples of the intent, use of usage of a term.

## 00:11:21.000

接下来讨论关系。

英文机器稿：And then we also mention there are relationships.

## 00:11:25.000

关系把本体中的类连接起来，形成从一般到具体的层次结构。例如分子功能下面有更具体的功能。

英文机器稿：So classes are arranged in a hierarchy. So from more general terms in the ontology. So this is the root node in the bottom of the couple of ontology to the highest level term.

## 00:11:41.000

这些连接构成了本体的结构。

英文机器稿：And it goes down to more specific terms, which provides structure to the ontology.

## 00:11:47.000

为什么层次结构如此重要？

英文机器稿：And then we also mention that the other terms are important, the fact that different terms are linked to each other in a hierarchy because it can enable us to.

## 00:11:59.000

因为注释可以沿着适用的关系向上继承。

英文机器稿：It enables transitive inheritance of annotations, which means that if you annotate.

## 00:12:06.000

如果一个蛋白质被注释为具有某种具体功能，它也可能属于相应的更一般功能类别。

英文机器稿：For example, in the in the in the in the case of genome quality if you annotate the protein to a very specific term, the protein or spillose inherit all these more general terms.

## 00:12:21.000

通向根节点的每条路径，都应在生物学上成立；否则就需要修改本体。

英文机器稿：And this is possible because the path from a term back to the root node must be developed by a lot of collectorate or the or you have to revise your ontology.

## 00:12:29.000

例如，囊泡介导的运输是一种运输，而运输又属于定位过程。

英文机器稿：So if if a protein if you assert that approach in this world in this called mediated transport, it has to be involved in transport and it has to be involved in localization.

## 00:12:41.000

本体中还会有不同类型的关系。

英文机器稿：So different relationships assist and the link together terms in ontology.

## 00:12:46.000

简单的树形层次中，一个父节点可以有多个子节点，但一个子节点只有一个父节点。

英文机器稿：You can have a very simple ontology, which takes on this sort of tree structure where you were one parent may have many children, but each child only has one parent term or more general term so so a child is a more specific term and a parent is a more general term.

## 00:13:06.000

这里主要使用 is_a，也就是“是一种”的关系。

英文机器稿：And these very simple hierarchies only have one single relationship, which is, is that.

## 00:13:14.000

很多生物学本体采用更复杂的有向无环图结构。

英文机器稿：And most by on top of this today, not all but most of them are structured as these more complex graphs, called directed ic

## 00:13:31.300

这时一个类可以有多个更一般的上位类。

英文机器稿：specific term might be linked to multiple more general terms.

## 00:13:39.300

图中可以有多种关系，但这里所讨论的结构不包含循环。

英文机器稿：And you can get more than one type of relationships, this more than is a relationships, but no circles are allowed.

## 00:13:51.300

这就是单一继承与多重继承的区别。

英文机器稿：So single inheritance versus multiple inheritance so here I said that a child only has one parent.

## 00:14:00.300

讲者以解剖学本体中的指骨为例。

英文机器稿：But that's not too typically in in life sciences. So for example, in this example, this is an example from the FMA ontology, which is an anatomical ontology.

## 00:14:17.300

这里讨论的是手指的指骨。

英文机器稿：And you see that the phalanx on the finger.

## 00:14:22.300

中指的近节指骨是一种中指指骨，而中指指骨又是一种手指指骨。

英文机器稿：The phalanx, the proximal phalanx of middle finger is a phalanx of middle finger is a phalanx of finger.

## 00:14:30.300

但它也属于手指的近节指骨。如果只允许一个上位类，就可能漏掉这种分类。

英文机器稿：And if you only allow one is a relationship as you go up the ontology, then you miss out on saying that proximal phalanx on middle finger is proximal phalanx of finger.

## 00:14:45.300

这样一来，从另一条分类路径检索时，可能会遗漏相关的注释。

英文机器稿：And that has the implication for the user that if you search for the proximal phalanx of any finger, you won't find things annotate this because there's no link in them or ontology.

## 00:15:01.300

因此，保留适当的多重分类关系很重要。

英文机器稿：So having all these multiple relationships in on top of this really important.

## 00:15:09.300

常见关系包括 is_a，表示子类型关系。例如沃尔沃汽车是一类汽车，线粒体是一类细胞器。

英文机器稿：And we have a lot of relationships I've already mentioned, and that just means that something is an instance of something else. So, for example, a Volvo is a car or the mitochondria is an organelle.

## 00:15:28.300

另一种关系是 part_of。例如，车轮是汽车的一部分。

英文机器稿：Part of specifies when something implies is part of something else. So, for example, a wheel is part of a car, but a wheel is not a car.

## 00:15:40.300

车轮并不是一种汽车，这与 is_a 不同。

英文机器稿：So it's different from the relationship.

## 00:15:42.300

同样，线粒体腔是线粒体的一部分。

英文机器稿：Or the mitochondria lumen is part of the mitochondria.

## 00:15:47.300

有些关系是领域特有的。例如 ChEBI 化学本体中的互变异构关系。

英文机器稿：Some relationships are very specific to some domains so can be, for instance, includes chemistry specific relationships so it's a taught Merle.

## 00:15:57.300

解剖学本体可能使用位于某处，或者由某结构发育而来的关系。

英文机器稿：Or in an anatomical ontology might find things like has location or develops from.

## 00:16:05.300

某些关系具有传递性：如果 A 与 B 有这种关系，B 与 C 也有这种关系，就可以推出 A 与 C 的关系。

英文机器稿：And I mentioned transitivity before so if you have a term where you have a relation B and B relation C, then a relation C so that was the visit committee to transport.

## 00:16:21.300

例如，囊泡介导的运输属于运输，而运输属于定位过程。

英文机器稿：So, this comedian transport is a transport is a localization.

## 00:16:29.300

讲者随后讨论另一种关系方向的性质；这里需要把具体关系的形式定义核对清楚。

英文机器稿：But you might have other instances when you have a is only be if he has some sort of relationship today.

## 00:16:41.300

囊泡介导的运输包括多个有序步骤。

英文机器稿：So here's an example again just showing how things might relate to each other in various ways so we've come here transport has a lot of different parts of the confusion is part of.

## 00:16:55.300

图中蓝色的 part_of 连线表示囊泡融合、停靠、脱包被等步骤属于这个过程。

英文机器稿：So in blue it shows the part of relationship. So this confusion is part of this committee transport so it's this conducting and this colon and coating.

## 00:17:05.300

黑色的 is_a 连线则把这些步骤连到各自的分类中，例如细胞器融合、蛋白质解聚等。

英文机器稿：And the black arrows show the relationship and they are very unrelated between these three terms so his confusion is an organ number fusion, this colon coating is probably a conversation and this conducting is organ or local organ or localization by membrane.

## 00:17:26.300

过去常用 OBO 格式表示本体，后来越来越多地采用基于逻辑的 OWL。

英文机器稿：So we have various different ontology specific file formats so go was initially represented in in a language or in a file for a call, but now they've moved to something called owl, which is a logic based language.

## 00:17:45.300

OWL 具有形式化语义。

英文机器稿：Characterized performance semantics.

## 00:17:49.300

在 OWL 中，本体陈述有明确的逻辑含义。

英文机器稿：And then within owl, you have these statements, which have a definite logical meaning.

## 00:17:56.300

类的成员是实例；逻辑公理约束类的定义，并适用于这个类的所有成员。

英文机器稿：So classes have different instances members, and then you have these logical statements that define constraints or plus definitions that apply to all these class members members.

## 00:18:08.300

例如，羧酸是一种碳含氧酸，意味着所有羧酸实例也都是碳含氧酸的实例。

英文机器稿：So for example, in the statement carboxylic acid, and is a carbon oxo acid, it has a logical meaning that all instances of carboxylic acid or also instances of carbon oxo acid.

## 00:18:22.300

幻灯片还展示了否定形式的例子：无尾，可以用“不具有某个尾巴部分”来表达。

英文机器稿：And you have lots of different other ones so you can also negate, for example, tail and tail is is equivalent to not has part some tail.

## 00:18:34.300

表格中还有其他逻辑构造的例子，可以进一步查阅。

英文机器稿：And there's a few other examples here and I've linked to where I got this table from.

## 00:18:46.300

下面介绍工具。讲者提到自己使用过 OBO-Edit。

英文机器稿：So there's various different tools used in the development of the theology, for example, oh be edit, which is the only one I've really tried using.

## 00:18:56.300

专业本体开发者也会使用 Protégé。

英文机器稿：And then I apply on total distance data security, or protece, which I think they all use now.

## 00:19:06.300

编辑工具提供界面，用于修改类、关系、公理和元数据。

英文机器稿：And ontology editing comprise, well, you have the editing interface.

## 00:19:13.300

推理器可以帮助检查逻辑定义中的错误。

英文机器稿：And there's a recenter, which is one to check for errors in your logical definitions.

## 00:19:20.300

工具还可以支持本体可视化和元数据检索。

英文机器稿：And you might have some support for ontology visualization, or for metadata searching and so on.

## 00:19:31.300

另外还有本体浏览器，其中一些专门面向某一个本体。

英文机器稿：And there's different ways that ontologies can be browsed. So many different ontologies will have their own browsing interfaces that are specific to the ontology.

## 00:19:42.300

例如可以浏览 Mondo 疾病本体。

英文机器稿：So, for example, Mondo has a link to their browser.

## 00:19:50.300

讲者说课程幻灯片会提供给大家，便于之后查看链接。

英文机器稿：I think that these slides will be made available after the talk. So if you can get the links from there.

## 00:20:00.300

浏览 Gene Ontology 可以使用 QuickGO 或 AmiGO；讲者比较习惯使用 QuickGO。

英文机器稿：And the goal, there's two main browsers for go. So there's quick go and I'm a go. I really like quick go for viewing the ontology.

## 00:20:07.300

它可以查看一个类的上位结构，把术语放进集合，并展示关系，帮助完成注释工作。

英文机器稿：And then you have this really handy little ontology ancestor view thing so you can put terms in your basket, and then see how they are related in the ontology and what relationships exist between different terms, which is really handy when you're annotating.

## 00:20:27.300

也有能够检索多个本体的通用浏览器。

英文机器稿：And there's also different generic browsers, where you can view multiple different ontologies as well.

## 00:20:36.300

例如 EMBL-EBI 的 Ontology Lookup Service，简称 OLS，收录生物医学本体。

英文机器稿：So for example, there's the OS or ontology lookup service which is an EBI service, which is a repository for for many different biomedical ontologies.

## 00:20:47.300

相关工具还包括 ZOOMA，可以把输入的词语或文本映射到本体术语。

英文机器稿：And they also provide access to some tools, which are pretty cool like summa that you can use to map different terms if you input terms or text.

## 00:21:01.300

这些工具帮助寻找合适的本体概念。

英文机器稿：You can map them to two different ontologies.

## 00:21:05.300

另外还有 Ontobee 和 NCBO BioPortal。

英文机器稿：And this was on to be or the NCBI bioporto.