二つの系譜:エージェントとオントロジー
Two Lineages: Agents and Ontologies
この章では、エージェントとオントロジーがどのような歴史をたどってきたかを見ます。講演の中心は、二つの言葉の歴史を覚えることではありません。それぞれが何を意味し、なぜ同じシステムで組み合わせられるのかを理解することです。
This chapter traces the histories of agents and ontologies. The main point of the talk is not to memorize the history of these two terms. It is to understand what each one means and why they can be combined in the same system.
歴史は背景です。実際に設計するときは、エージェントの働きと、オントロジーが表すモデルを使います。したがって、まず二つの系譜を分けて説明し、最後に共通する設計上の接点を確認します。
History provides the background. When we design a system, we use what an agent does and the model represented by an ontology. So we will first separate the two lineages, then confirm the design connection they share.
1. エージェントの系譜
1. The Lineage of Agents
講演では、エージェントという考え方を初期の人工知能(AI)の思想家たちまでさかのぼります。その後、この考え方は、周囲を知覚し、次に何をするかを決め、実際に行動するシステムへ発展しました。ここでいうエージェントは、文章を返すだけの仕組みではありません。知覚・決定・行動という流れを持つ仕組みです。
The talk traces the idea of an agent back to early thinkers in artificial intelligence (AI). The idea then developed into systems that perceive their surroundings, decide what to do next, and actually act. An agent here is not just a mechanism that returns text. It has a flow of perception, decision, and action.
例(補足):配達状況を調べるエージェント
Example (supplement): An Agent Checking Delivery Status
The following is an author-created example to make this definition concrete.
- 知覚:利用者の「荷物はどこですか」という依頼と、配送ツールからの情報を受け取ります。
- 決定:どの荷物を調べるか、また追加の確認が必要かを決めます。
- 行動:配送ツールを呼び出し、得られた状況を利用者に伝えます。
- Perception: It receives the user's request, “Where is my package?”, and information from a delivery tool.
- Decision: It decides which package to check and whether more confirmation is needed.
- Action: It calls the delivery tool and tells the user the resulting status.
この例で大切なのは、エージェントが入力を読んで終わらず、判断を次の行動につなげる点です。
The important point in this example is that the agent does not stop after reading the input. It connects its decision to a next action.
2. オントロジーの系譜
2. The Lineage of Ontologies
もう一つの系譜は、哲学における「存在とは何か」という問いから始まります。講演は、アリストテレスの存在の種類やカテゴリーに関する考えを出発点として、その後の形式化へ進みます。ここでの歴史的な話は、アリストテレスのカテゴリーがそのままソフトウェアの設計図になった、という意味ではありません。似た問題、つまり世界にあるものを種類に分け、関係を整理する問題への関心が、後の知識表現につながるという説明です。
The other lineage begins with the philosophical question, “What is being?” The talk starts with Aristotle's ideas about kinds and categories of being, then moves toward later formalization. This history does not mean that Aristotle's categories became a software blueprint unchanged. It means that interest in a similar problem—dividing what exists in the world into kinds and organizing relationships—leads toward later knowledge representation.
実務へつなぐ重要な定義として、講演はGruberによる1993年の表現を使います。オントロジーとは、**共有された概念化の形式的な仕様(a formal specification of a shared conceptualization)**です。つまり、ある分野に登場するもの、もの同士の関係、そして必要な性質を、明確な形で記述したモデルです。「共有」とは、個人だけが持つ単語のリストではありません。人やシステムが、同じ分野について同じモデルを参照できることを指します。
As an important bridge to practice, the talk uses Gruber's 1993 formulation. An ontology is a formal specification of a shared conceptualization. In other words, it is a model that describes the things in a domain, the relationships among them, and the properties that matter, in a clear form. “Shared” does not mean a word list held only by one person. It means that people and systems can refer to the same model of the same domain.
例(補足):図書館の概念化
Example (supplement): A Library Conceptualization
Consider this author-created example for a library.
- エンティティ(entity):本、利用者、貸出記録など、分野で扱うものです。
- 関係(relationship):利用者が本を借りる、というつながりです。
- プロパティ(property):本の題名や、貸出記録の日付など、ものが持つ性質です。
- Entities: Things handled in the domain, such as books, members, and loan records.
- Relationships: Connections such as a member borrowing a book.
- Properties: Attributes that things have, such as a book's title or a date on a loan record.
このモデルを共有すれば、「借りる」が本と利用者を結ぶ関係だと、人とシステムが同じように理解できます。これは講演の定義を説明するための例であり、講演が図書館の設計を提案しているわけではありません。
If this model is shared, people and systems can understand in the same way that “borrow” is a relationship connecting a member and a book. This example explains the talk's definition; the talk is not proposing a library design.
3. グラフデータベースと知識表現への橋渡し
3. The Bridge to Graph Databases and Knowledge Representation
オントロジーがエンティティ、関係、プロパティを記述すると、それをグラフとして表しやすくなります。グラフデータベースは、そのような項目とつながりを保存したり、たどったりするための仕組みです。一方、知識表現(knowledge representation)は、知識を機械が扱える構造で表す考え方です。講演は、オントロジーをグラフデータベースや知識表現へ自然につなげています。
When an ontology describes entities, relationships, and properties, it can be represented naturally as a graph. A graph database is a mechanism for storing and traversing such items and connections. Knowledge representation is the idea of expressing knowledge in a structure that machines can work with. The talk connects ontologies naturally to graph databases and knowledge representation.
ただし、オントロジーとグラフデータベースは同じものではありません。オントロジーは、分野をどう理解し、何を関係づけるかという概念モデルです。グラフデータベースは、そのモデルやデータを保存・利用する実装の一つです。この区別を保つと、「何を意味するか」と「どこに保存するか」を混同せずにすみます。
An ontology and a graph database are not the same thing, however. An ontology is a conceptual model of how to understand a domain and what to connect. A graph database is one implementation for storing and using that model or its data. Keeping this distinction prevents us from confusing “what something means” with “where it is stored.”
同じ理由で、哲学のカテゴリーとソフトウェアのエンティティも同一ではありません。哲学の議論は歴史的な出発点です。ソフトウェアでは、その分野に必要なエンティティ、関係、プロパティを、目的に合わせて定義します。歴史上のカテゴリーを、そのままデータベースの表やグラフのノードに変換する必要はありません。
For the same reason, philosophical categories and software entities are not identical. The philosophical discussion is a historical starting point. In software, we define the entities, relationships, and properties needed for the domain and its purpose. We do not need to convert historical categories directly into database tables or graph nodes.
4. エージェントに共有モデルを与える
4. Giving an Agent a Shared Model
この二つの系譜が交わるのは、エージェントに分野の概念化を与える場面です。エージェントが文章を確率的に生成したり、次の行動を計画したりするだけなら、その分野で重要なものや関係を一貫して扱えるとは限りません。オントロジーを共有モデルとして与えると、対象の種類、関係、性質を構造化して参照できます。その構造は、後の章で扱う推論や、エージェントの出力を確認するための土台になります。
The two lineages meet when we give an agent a conceptualization of a domain. If an agent only generates language probabilistically or plans its next action, it cannot necessarily handle the important things and relationships in that domain consistently. If we give it an ontology as a shared model, it can refer to the types, relationships, and properties of the domain in a structured way. That structure becomes a foundation for inference and for checking an agent's output, which later chapters discuss.
なお、講演の記録には、初期AIに関係する歴史上の人名が断片的に聞き取られている部分があります。たとえば、ある名前は「Von Quine」のように表記されていますが、正確なつづりはこの資料だけでは確定できません。ここでは、特定の人名を断定するのではなく、「初期AIの思想からエージェントへ」という講演の歴史的な順序を保ちます。
The talk's record contains fragmented renderings of some historical names related to early AI. For example, one name appears as “Von Quine,” but its exact spelling cannot be established from this material alone. This chapter therefore preserves the talk's historical sequence—“from early AI thought to agents”—without asserting a specific person's name.
- エージェントは、知覚・決定・行動の流れを持つシステムです。単に文章を生成するものとは区別します。
- オントロジーは、ある分野についての共有された概念化の形式的な仕様です。言葉を並べるだけではなく、エンティティ、関係、プロパティを整理します。
- アリストテレスから現代の知識表現までの歴史は背景です。哲学上のカテゴリーとソフトウェアのスキーマを同一視してはいけません。
- オントロジーをグラフや知識表現と結びつけると、エージェントが扱う分野のモデルを明示できます。
- その共有モデルが、後でエージェントの提案を推論し、ドメインのルールに照らして確認するための橋になります。
- An agent has a flow of perception, decision, and action. It is distinct from something that only generates text.
- An ontology is a formal specification of a shared conceptualization for a domain. It organizes entities, relationships, and properties rather than merely listing words.
- The history from Aristotle to modern knowledge representation is background. Philosophical categories must not be treated as identical to a software schema.
- Connecting an ontology with a graph or knowledge representation makes the model of the domain handled by an agent explicit.
- That shared model becomes a bridge for reasoning about an agent's proposal and checking it against domain rules later.