了解什么是本体
边学边动手的短课:从基本概念到 R2RML、属性图和 SHACL,内容以 W3C 规范为依据。
暂无所选语言的译文,当前显示English内容。
第零部分:术语表
用一两句通俗的话解释课程中出现的每个术语。学习时可随时查阅。
The big picture
Ontology, Vocabulary, Taxonomy, Thesaurus …
7 个术语
What a graph is made of
Triple, Subject, predicate, object, IRI, Prefix and namespace …
9 个术语
Parts of the blueprint
Class, Individual, Property, Object and datatype properties …
9 个术语
Languages and standards
RDF, RDFS, OWL, SKOS …
14 个术语
Inference and validation
Inference, Reasoner, Open-world assumption, Closed-world assumption …
8 个术语
Connecting and reusing
Linked data, Content negotiation, Import, Term reuse …
10 个术语
Storing and using
Triple store, SPARQL endpoint, Federated query, Property graph …
8 个术语
第一部分:基础
什么是本体,以及三元组、类、推理和查询如何运作。
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.
Everything is a three-word sentence
Subject, predicate and object form a triple; triples together form a graph.
Classes, individuals and properties
Separate what belongs in the blueprint from what belongs in the data.
RDF, RDFS, OWL, SKOS, SHACL
Many names, each with a different job.
Finding facts nobody wrote
Inference is new facts following from the rules in the blueprint.
Asking questions, and building on others
Query a graph with SPARQL, and reuse existing ontologies by linking to them.
第二部分:数据的表示与连接
文件格式、命名图、关联数据、RDF 与属性图的比较,以及用 R2RML 映射表格。
One graph, many file formats
Turtle, JSON-LD, RDF/XML and N-Triples are different notations for the same triples.
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.
Linked data: data that connects like the web
Use IRIs as addresses, return a description when one is opened, and link elsewhere.
RDF graphs and property graphs (LPG)
Both are graphs; they differ in how edges carry values, in identifiers and in standards.
From tables to graphs: R2RML and mappings
Rules that turn relational databases and CSV into triples that fit an ontology.
第三部分:设计与质量
更深入的 OWL、用 SHACL 校验、SKOS 与映射、设计方法以及实际应用。
OWL, one step further: property characteristics and class definitions
Inverses, transitivity, disjointness and restrictions let a reasoner conclude more.
SHACL: checking that data has the right shape
Write required properties, counts and value types as shapes, and get violations reported.
SKOS and mappings: connecting concept schemes
A concept in a taxonomy is not a class. How to connect terms across schemes.
Building an ontology, and upper ontologies
Start from the questions to answer, reuse, and publish so it lasts.
Where it is used: knowledge graphs, stores and LLMs
Triple stores and SPARQL endpoints, federated queries, and working with language models.