Dean Allemang is the chief scientist at TopQuadrant, Inc.-the first company in the United States devoted to consulting, training, and products for the Semantic Web. He co-developed (with Professor Hendler) TopQuadrant's successful Semantic Web training series, which he has been delivering on a regular basis since 2003. He has served as an invited expert on numerous international review boards, including a review of the Digital Enterprise Research Institute-the world's largest Semantic Web research institute - and the Innovative Medicines Initiative, a collaboration between 10 pharmaceutical companies and the European Commission to set the roadmap for the pharmaceutical industry for the near future.
Semantic Web for the Working Ontologist: Effective Modeling in RDFS and OWL, Second Edition, discusses the capabilities of Semantic Web modeling languages, such as RDFS (Resource Description Framework Schema) and OWL (Web Ontology Language). Organized into 16 chapters, the book provides examples to illustrate the use of Semantic Web technologies in solving common modeling problems. It uses the life and works of William Shakespeare to demonstrate some of the most basic capabilities of the Semantic Web. The book first provides an overview of the Semantic Web and aspects of the Web. It then discusses semantic modeling and how it can support the development from chaotic information gathering to one characterized by information sharing, cooperation, and collaboration. It also explains the use of RDF to implement the Semantic Web by allowing information to be distributed over the Web, along with the use of SPARQL to access RDF data. Moreover, the reader is introduced to components that make up a Semantic Web deployment and how they fit together, the concept of inferencing in the Semantic Web, and how RDFS differs from other schema languages. Finally, the book considers the use of SKOS (Simple Knowledge Organization System) to manage vocabularies by taking advantage of the inferencing structure of RDFS-Plus. This book is intended for the working ontologist who is trying to create a domain model on the Semantic Web. - Updated with the latest developments and advances in Semantic Web technologies for organizing, querying, and processing information, including SPARQL, RDF and RDFS, OWL 2.0, and SKOS- Detailed information on the ontologies used in today's key web applications, including ecommerce, social networking, data mining, using government data, and more- Even more illustrative examples and case studies that demonstrate what semantic technologies are and how they work together to solve real-world problems
Front Cover 1
Semantic Web for the Working Ontologist 2
Semantic Web for the Working Ontologist 4
Copyright 5
Contents 6
Preface to the second edition 8
Preface to the first edition 9
Acknowledgments 12
About the authors 14
Chapter 1 -What is the Semantic Web? 16
What Is a Web? 17
Smart Web, Dumb Web 17
Semantic Data 19
Summary 26
Chapter 2 -Semantic modeling 28
Modeling for Human Communication 29
Explanation and Prediction 32
Mediating variability 33
Expressivity in modeling 37
Summary 39
Chapter 3 -RDF—The basis of the Semantic Web 42
Distributing Data across the Web 43
Merging Data from Multiple Sources 47
Namespaces, URIs, and Identity 48
Identifiers in the RDF Namespace 53
Challenge: RDF and Tabular Data 55
Higher-order Relationships 57
Alternatives for Serialization 59
RDF/XML 61
Blank Nodes 62
Summary 64
Chapter 4 -Semantic Web application architecture 66
RDF Parser/Serializer 67
RDF Store 69
Application Code 71
Data Federation 73
Summary 74
Chapter 5 -Querying the Semantic Web—SPARQL 76
Tell-and-Ask Systems 77
RDF as a Tell-and-Ask System 81
SPARQL—Query Language for RDF 81
Construct Queries in SPARQL 101
Using Results of CONSTRUCT Queries 102
SPARQL rules—Using SPARQL as a Rule Language 103
Advanced Features of SPARQL 113
Aggregates and Grouping (SPARQL 1.1) 116
Subqueries (SPARQL 1.1) 119
Union 120
Assignments (SPARQL 1.1) 121
Federating SPARQL Queries 124
Summary 127
Chapter 6 -RDF and inferencing 128
Inference in the Semantic Web 129
Where Are the Smarts? 132
When Does Inferencing Happen? 136
Summary 137
Chapter 7 -RDF schema 140
Schema Languages and Their Functions 141
The RDF Schema Language 142
RDFS Modeling Combinations and Patterns 148
Set Union 150
Challenges 153
Modeling with Domains and Ranges 161
Nonmodeling Properties in RDFS 165
Summary 166
Chapter 8 -RDFS-Plus 168
Inverse 169
Symmetric Properties 175
Transitivity 177
Equivalence 185
Computing Sameness—Functional Properties 193
A Few More Constructs 197
Summary 199
Chapter 9 -Using RDFS-Plus in the wild 202
Open Government Data 203
Data.gov Summary 210
FOAF 211
Facebook’s Open Graph Protocol 218
Summary 220
Chapter 10 -SKOS—managing vocabularies with RDFS-Plus 222
Simple Knowledge Organization System (SKOS) 222
Semantic Relations in SKOS 225
Concept Schemes 229
SKOS Integrity 231
SKOS in Action 232
Summary 233
Chapter 11 -Basic OWL 236
Restrictions 236
Challenge Problems 252
Solution 256
Solution 260
Alternative Descriptions of Restrictions 261
Summary 263
Chapter 12 -Counting and sets in OWL 264
Unions and Intersections 265
Differentiating Multiple Individuals 270
Cardinality 272
Set Complement 277
Disjoint Sets 279
Prerequisites Revisited 281
Contradictions 285
Unsatisfiable Classes 286
Inferring Class Relationships 288
Reasoning with Individuals and with Classes 291
Summary 293
Chapter 13 -Ontologies on the Web—putting it all together 294
The Good Relations Ontology 295
Inferencing in the Good Relations Ontology 298
Composing Files 300
Summary 302
Quantities, Units, and Dimensions 302
Converting Units with QUDT 304
Dimension Checking in QUDT 309
Summary 312
Biological Ontologies 313
CHEBI as Unambiguous Reference 313
CHEBI for Complex Search 314
Summary 319
Chapter 14 -Good and bad modeling practices 322
Getting Started 322
Modeling for Reuse 325
Common Modeling Errors 327
Summary 338
Chapter 15 -Expert modeling in OWL 340
Owl Subsets and Modeling Philosophy 341
OWL 2 Modeling Capabilities 343
Summary 347
Chapter 16 -Conclusions 350
Appendix -Frequently asked questions 354
Further reading 358
Selected Books 358
Selected Articles 358
World Wide Web Consortium Publications on RDF, RDFS, and OWL 360
Index 362
Preface to the second edition
Since the first edition of Semantic Web for the Working Ontologist came out in June 2008, we have been encouraged by the reception the book has received. Practitioners from a wide variety of industries—health care, energy, environmental science, life sciences, national intelligence, and publishing, to name a few—have told us that the first edition clarified for them the possibilities and capabilities of Semantic Web technology. This was the audience we had hoped to reach, and we are happy to see that we have.
Since that time, the technology standards of the Semantic Web have continued to develop. SPARQL, the query language for RDF, became a Recommendation from the World Wide Web Consortium and was so successful that version 2 is already nearly ready (it will probably be ratified by the time this book sees print). SKOS, which we described as an example of modeling “in the wild” in the first edition, has raced to the forefront of the Semantic Web with high-profile uses in a wide variety of industries, so we gave it a chapter of its own. Version 2 of the Web Ontology Language, OWL, also appeared during this time.
Probably the biggest development in the Semantic Web standards since the first edition is the rise of the query language SPARQL. Beyond being a query language, SPARQL is a powerful graph-matching language which pushes its utility beyond simple queries. In particular, SPARQL can be used to specify general inferencing in a concise and precise way. We have adopted it as the main expository language for describing inferencing in this book. It turns out to be a lot easier to describe RDF, RDFS, and OWL in terms of SPARQL.
The “in the wild” sections became problematic in the second edition, but for a good reason—we had too many good examples to choose from. We're very happy with the final choices, and are pleased with the resulting “in the wild” chapters (9 and 13). The Open Graph Protocol and Good Relations are probably responsible for more serious RDF data on the Web than any other efforts. While one may argue (and many have) that FOAF is getting a bit long in the tooth, recent developments in social networking have brought concerns about privacy and ownership of social data to the fore; it was exactly these concerns that motivated FOAF over a decade ago. We also include two scientific examples of models “in the wild”—QUDT (Quantities, Units, Dimensions, and Types) and The Open Biological and Biomedical Ontologies (OBO). QUDT is a great example of how SPARQL can be used to specify detailed computation over a large set of rules (rules for converting units and for performing dimensional analysis). The wealth of information in the OBO has made them perennial favorites in health care and the life sciences. In our presentation, we hope to make them accessible to an audience who doesn't have specialized experience with OBO publication conventions. While these chapters logically build on the material that precedes them, we have done our best to make them stand alone, so that impatient readers who haven't yet mastered all the fine points of the earlier chapters can still appreciate the “wild” examples.
We have added some organizational aids to the book since the first edition. The “Challenges” that appear throughout the book, as in the first edition, provide examples for how to use the Semantic Web technologies to solve common modeling problems. The “FAQ” section organizes the challenges by topic, or, more properly, by the task that they illustrate. We have added a numeric index of all the challenges to help the reader cross-reference them.
We hope that the second edition will strike a chord with our readers as the first edition has done.
On a sad note, many of the examples in Chapter 5 use “Elizabeth Taylor” as an example of a “living actress.” During postproduction of this book, Dame Elizabeth Taylor succumbed to congestive heart failure and died. We were too far along in the production to make the change, so we have kept the examples as they are. May her soul rest in peace.
Preface to the first edition
In 2003, when the World Wide Web Consortium was working toward the ratification of the Recommendations for the Semantic Web languages, RDF, RDFS, and OWL, we realized that there was a need for an industrial-level introductory course in these technologies. The standards were technically sound, but, as is typically the case with standards documents, they were written with technical completeness in mind rather than education. We realized that for this technology to take off, people other than mathematicians and logicians would have to learn the basics of semantic modeling.
Toward that end, we started a collaboration to create a series of trainings aimed not at university students or technologists but at Web developers who were practitioners in some other field. In short, we needed to get the Semantic Web out of the hands of the logicians and Web technologists, whose job had been to build a consistent and robust infrastructure, and into the hands of the practitioners who were to build the Semantic Web. The Web didn't grow to the size it is today through the efforts of only HTML designers, nor would the Semantic Web grow as a result of only logicians' efforts.
After a year or so of offering training to a variety of audiences, we delivered a training course at the National Agriculture Library of the U.S. Department of Agriculture. Present for this training were a wide variety of practitioners in many fields, including health care, finance, engineering, national intelligence, and enterprise architecture. The unique synergy of these varied practitioners resulted in a dynamic four-day investigation into the power and subtlety of semantic modeling. Although the practitioners in the room were innovative and intelligent, we found that even for these early adopters, some of the new ways of thinking required for modeling in a World Wide Web context were too subtle to master after just a one-week course. One participant had registered for the course multiple times, insisting that something else “clicked” each time she went through the exercises.
This is when we realized that although the course was doing a good job of disseminating the information and skills for the Semantic Web, another, more archival resource was needed. We had to create something that students could work with on their own and could consult when they had questions. This was the point at which the idea of a book on modeling in the Semantic Web was conceived. We realized that the readership needed to include a wide variety of people from a number of fields, not just programmers or Web application developers but all the people from different fields who were struggling to understand how to use the new Web languages.
It was tempting at first to design this book to be the definitive statement on the Semantic Web vision, or “everything you ever wanted to know about OWL,” including comparisons to program modeling languages such as UML, knowledge modeling languages, theories of inferencing and logic, details of the Web infrastructure (URIs and URLs), and the exact current status of all the developing standards (including SPARQL, GRDDL, RDFa, and the new OWL 1.1 effort). We realized, however, that not only would such a book be a superhuman undertaking, but it would also fail to serve our primary purpose of putting the tools of the Semantic Web into the hands of a generation of intelligent practitioners who could build real applications. For this reason, we concentrated on a particular essential skill for constructing the Semantic Web: building useful and reusable models in the World Wide Web setting.
Many of these patterns entail several variants, each embodying a different philosophy or approach to modeling. For advanced cases such as these, we realized that we couldn't hope to provide a single, definitive answer to how these things should be modeled. So instead, our goal is to educate domain practitioners so that they can read and understand design patterns of this sort and have the intellectual tools to make considered decisions about which ones to use and how to adapt them. We wanted to focus on those trying to use RDF, RDFS, and OWL to accomplish specific tasks and model their own data and domains, rather than write a generic book on ontology development. Thus, we have focused on the “working ontologist” who was trying to create a domain model on the Semantic Web.
The design patterns we use in this book tend to be much simpler. Often a pattern consists of only a single statement but one that is especially helpful when used in a particular context. The value of the pattern isn't so much in the complexity of its realization but in the awareness of the sort of situation in which it can be used.
This “make it useful” philosophy also motivated the choice of the examples we use to illustrate these patterns in this book. There are a number of competing criteria for good example domains in a book of this sort. The examples must be understandable to a wide variety of audiences, fairly compelling, yet complex enough to reflect real modeling situations. The actual examples we have encountered in our customer modeling situations satisfy the last condition but either are too specialized—for example, modeling complex molecular biological data; or, in some cases, they are too business-sensitive—for example, modeling particular investment policies—to publish for a general audience.
We also had to struggle with a tension between the coherence of the...
Erscheint lt. Verlag | 5.7.2011 |
---|---|
Sprache | englisch |
Themenwelt | Geisteswissenschaften ► Sprach- / Literaturwissenschaft |
Mathematik / Informatik ► Informatik ► Datenbanken | |
Mathematik / Informatik ► Informatik ► Grafik / Design | |
Informatik ► Programmiersprachen / -werkzeuge ► XML | |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Informatik ► Theorie / Studium ► Künstliche Intelligenz / Robotik | |
Mathematik / Informatik ► Informatik ► Web / Internet | |
ISBN-10 | 0-12-385966-2 / 0123859662 |
ISBN-13 | 978-0-12-385966-2 / 9780123859662 |
Haben Sie eine Frage zum Produkt? |
Größe: 19,5 MB
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
Größe: 11,1 MB
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belletristik und Sachbüchern. Der Fließtext wird dynamisch an die Display- und Schriftgröße angepasst. Auch für mobile Lesegeräte ist EPUB daher gut geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.