axiothOntology Hub

オントロジーとは何かを学ぶ

手を動かしながら進む短いレッスン。最初の考え方から R2RML、プロパティグラフ、SHACL まで、W3C 仕様に基づいて説明します。

選択した言語の翻訳がないため、Englishの内容を表示しています。

第 0 部 用語集

レッスンに出てくる用語を、1〜2 文でやさしく説明します。読みながら開いておくと便利です。

用語集を開く

第 1 部 基礎

オントロジーとは何か、トリプル・クラス・推論・クエリの仕組み。

  1. What an ontology is

    A shared blueprint of the concepts and relations in a field, written so people and programs read it the same way.

  2. Everything is a three-word sentence

    Subject, predicate and object form a triple; triples together form a graph.

  3. Classes, individuals and properties

    Separate what belongs in the blueprint from what belongs in the data.

  4. RDF, RDFS, OWL, SKOS, SHACL

    Many names, each with a different job.

  5. Finding facts nobody wrote

    Inference is new facts following from the rules in the blueprint.

  6. Asking questions, and building on others

    Query a graph with SPARQL, and reuse existing ontologies by linking to them.

第 2 部 データの表現と接続

ファイル形式、名前付きグラフ、リンクトデータ、RDF とプロパティグラフの違い、R2RML による表のマッピング。

  1. One graph, many file formats

    Turtle, JSON-LD, RDF/XML and N-Triples are different notations for the same triples.

  2. Who said so: named graphs and statements about statements

    Ways to attach source and time to a triple: named graphs, intermediate nodes, RDF 1.2.

  3. Linked data: data that connects like the web

    Use IRIs as addresses, return a description when one is opened, and link elsewhere.

  4. RDF graphs and property graphs (LPG)

    Both are graphs; they differ in how edges carry values, in identifiers and in standards.

  5. From tables to graphs: R2RML and mappings

    Rules that turn relational databases and CSV into triples that fit an ontology.

第 3 部 設計と品質

OWL の詳細、SHACL による検証、SKOS とマッピング、設計手法、実際の利用。

  1. OWL, one step further: property characteristics and class definitions

    Inverses, transitivity, disjointness and restrictions let a reasoner conclude more.

  2. SHACL: checking that data has the right shape

    Write required properties, counts and value types as shapes, and get violations reported.

  3. SKOS and mappings: connecting concept schemes

    A concept in a taxonomy is not a class. How to connect terms across schemes.

  4. Building an ontology, and upper ontologies

    Start from the questions to answer, reuse, and publish so it lasts.

  5. Where it is used: knowledge graphs, stores and LLMs

    Triple stores and SPARQL endpoints, federated queries, and working with language models.