Skip to Content
语义Web 编程
book

语义Web 编程

by Toby Segaran, Colin Evans, Jamie Taylor
January 2019
Intermediate to advanced
276 pages
5h 43m
Chinese
China Machine Press
Content preview from 语义Web 编程
134
6
在语义数据建模中,具体化关系的模式很常见。它以更大的复杂性为代价增加了表达
性,因此尽管你可能不想使所有关系都具体化,但是当你的数据需要时,不要害怕遵循
具体化模式。
刚好够用的 OWL
Web 本体语言(Web Ontology Language, OWL)是 W3C 开发的一种 RDF 语言,用于
定义类和属性,并支持对关系进行更强大的推理。OWL 是作为 RDFS 的扩展而构建
的,RDFS 是一种更早、更简单的模式词汇表,并且基于以前开发本体语言的大量工作。
OWL 是目前定义语义 Web 模式的 W3C 标准,并且 OWL 的工具和 API 支持正在迅速
扩展。
OWL 是一种非常庞大的语言,有很多复杂的部分。OWL 自身被分成三种子语言,这三
种子语言的复杂性和表现力持续增加,它们分别被称为 OWL-lite(最简单的)、OWL DL
OWL Full。我们将介绍刚好够用的 OWL-lite 来定义类型和属性,因为它们是 OWL
最有用的应用。
OWL 的完整词汇表使用了 RDFRDFS OWL 名称空间中的 URI,并且还使用了
XML 模式(Schema)的文字(literal)定义。以下是创建本体的最重要的类:
owl:Thing
OWL 里所有对象所属的基类。所有类都隐式地继承于这个类,所有个体的 OWL
例都是隐式的 owl:Thing 实例。这个类的使用类似于某些面向对象编程语言中的
超类对象(Object)。带有 rdfs:Resource 的范围或域的属性可以用于任何实例 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

前端架构设计

前端架构设计

Micah Godbolt
精通模块化JavaScript

精通模块化JavaScript

Nicolás Bevacqua
Core JavaServer™ Faces

Core JavaServer™ Faces

David Geary, Cay S. Horstmann

Publisher Resources

ISBN: 9787111615873