Semantic Web. Ontology Pattern. Gerd Gröner, Matthias Thimm. Institute for Web Science and Technologies (WeST) University of Koblenz-Landau

Similar documents
Pattern-based design, part I

A Review on Ontology Design Methodology

H1 Spring C. A service-oriented architecture is frequently deployed in practice without a service registry

Ontology Design Patterns

Design Patterns. An introduction

Ontology Design Patterns and XD. Eva Blomqvist

Software Design Patterns. Background 1. Background 2. Jonathan I. Maletic, Ph.D.

DCMI Abstract Model - DRAFT Update

0.1 Knowledge Organization Systems for Semantic Web

Lessons Learned from a Greenhorn Ontologist

Ontology Design Patterns

The MUSING Approach for Combining XBRL and Semantic Web Data. ~ Position Paper ~

The Formal Syntax and Semantics of Web-PDDL

An Ontological Approach to Domain Engineering

The Zachman Framework

Simplified Approach for Representing Part-Whole Relations in OWL-DL Ontologies

21. Document Component Design

The OWL API: An Introduction

INFO216: Advanced Modelling

New Approach to Graph Databases

6. The Document Engineering Approach

Report from the W3C Semantic Web Best Practices Working Group

A tutorial report for SENG Agent Based Software Engineering. Course Instructor: Dr. Behrouz H. Far. XML Tutorial.

Software Design COSC 4353/6353 D R. R A J S I N G H

Domain-Driven Development with Ontologies and Aspects

H1 Spring B. Programmers need to learn the SOAP schema so as to offer and use Web services.

Graphical Notation for Topic Maps (GTM)

Description Logics and OWL

Transforming Enterprise Ontologies into SBVR formalizations

The architecture of Eiffel software 3.1 OVERVIEW classes clusters systems

Software Engineering - I An Introduction to Software Construction Techniques for Industrial Strength Software

SOME TYPES AND USES OF DATA MODELS

Semantic Exploitation of Engineering Models: An Application to Oilfield Models

Design Patterns. Hausi A. Müller University of Victoria. Software Architecture Course Spring 2000

Mapping provenance in ontologies

Knowledge Representation for the Semantic Web

An ontology for the Business Process Modelling Notation

FIBO Metadata in Ontology Mapping

FACULTY OF INFORMATICS B.E. 4/4 (IT) I Semester (Old) Examination, July Subject : Digital Image Processing (Elective III) Estelar

Extension and integration of i* models with ontologies

Lecture Telecooperation. D. Fensel Leopold-Franzens- Universität Innsbruck

Chapter 8: Enhanced ER Model

1 Executive Overview The Benefits and Objectives of BPDM

Produced by. Design Patterns. MSc in Communications Software. Eamonn de Leastar

OWL DL / Full Compatability

KARL HAMMAR & VALENTINA PRESUTTI TEMPLATE-BASED CONTENT ODP INSTANTIATION

Ontology Servers and Metadata Vocabulary Repositories

Jie Bao, Paul Smart, Dave Braines, Nigel Shadbolt

CHAPTER 9 DESIGN ENGINEERING. Overview

Extracting knowledge from Ontology using Jena for Semantic Web

CIS 1.5 Course Objectives. a. Understand the concept of a program (i.e., a computer following a series of instructions)

Modeling Decision Support Rule Interactions in a Clinical Setting

CPSC 310 Software Engineering. Lecture 11. Design Patterns

Modeling Issues Modeling Enterprises. Modeling

4 The StdTrip Process

SRI VENKATESWARA COLLEGE OF ENGINERRING AND TECHNOLOGY THIRUPACHUR,THIRUVALLUR UNIT I OOAD PART A

Exam in course TDT4215 Web Intelligence - Solutions and guidelines - Wednesday June 4, 2008 Time:

Table of Contents. iii

jcel: A Modular Rule-based Reasoner

University of Bath. Publication date: Document Version Publisher's PDF, also known as Version of record. Link to publication

Lecture 1/2. Copyright 2007 STI - INNSBRUCK

Semantic Query Answering with Time-Series Graphs

Ontologies for Agents

A Reconnaissance on Design Patterns

ONTOLOGY DESIGN PATTERNS WITH APPLICATIONS TO SOFTWARE MEASUREMENT

Topics in Object-Oriented Design Patterns

Ontologies & Business Process modeling languages: two proposals for a fruitful pairing

Converting a thesaurus into an ontology: the use case of URBISOC

Towards a relation ontology for the Semantic Web

Model Driven Engineering with Ontology Technologies

CEN/ISSS WS/eCAT. Terminology for ecatalogues and Product Description and Classification

5 RDF and Inferencing

FIBO Shared Semantics. Ontology-based Financial Standards Thursday Nov 7 th 2013

OWL as a Target for Information Extraction Systems

NOTES ON OBJECT-ORIENTED MODELING AND DESIGN

Web Architecture Part 3

WHY WE NEED AN XML STANDARD FOR REPRESENTING BUSINESS RULES. Introduction. Production rules. Christian de Sainte Marie ILOG

An Architecture for Semantic Enterprise Application Integration Standards

Modelling in Enterprise Architecture. MSc Business Information Systems

ArchiMate 2.0. Structural Concepts Behavioral Concepts Informational Concepts. Business. Application. Technology

Languages and tools for building and using ontologies. Simon Jupp, James Malone

Networked Ontologies

Study and guidelines on Geospatial Linked Data as part of ISA Action 1.17 Resource Description Framework

Terminologies, Knowledge Organization Systems, Ontologies

Semantic Recognition of Ontology Refactoring

Where is the Semantics on the Semantic Web?

IBM Research Report. Model-Driven Business Transformation and Semantic Web

Ontology Development and Engineering. Manolis Koubarakis Knowledge Technologies

challenges in domain-specific modeling raphaël mannadiar august 27, 2009

BLU AGE 2009 Edition Agile Model Transformation

ISO/IEC INTERNATIONAL STANDARD. Information technology Multimedia content description interface Part 2: Description definition language

Starting Ontology Development by Visually Modeling an Example Situation - a User Study

In this Lecture you will Learn: Design Patterns. Patterns vs. Frameworks. Patterns vs. Frameworks

RiMOM Results for OAEI 2008

More on Design. CSCI 5828: Foundations of Software Engineering Lecture 23 Kenneth M. Anderson

<is web> Information Systems & Semantic Web University of Koblenz Landau, Germany

Smart Open Services for European Patients. Work Package 3.5 Semantic Services Definition Appendix E - Ontology Specifications

TBX in ODD: Schema-agnostic specification and documentation for TermBase exchange

Definition of Information Systems

Bayesian Ontologies for Semantically Aware Systems. Kathryn Blackmond Laskey C4I Center George Mason Univesity

Transcription:

Semantic Web Ontology Pattern Gerd Gröner, Matthias Thimm {groener,thimm}@uni-koblenz.de Institute for Web Science and Technologies (WeST) University of Koblenz-Landau July 18, 2013 Gerd Gröner, Matthias Thimm Semantic Web 1 / 31

Outline 1 Pattern-based ontology design Gerd Gröner, Matthias Thimm Semantic Web 2 / 31

Outline 1 Pattern-based ontology design Gerd Gröner, Matthias Thimm Semantic Web 3 / 31

Learning Goals Qualify in the engineering and design of an ontology. Reflect on different aspects when creating an ontology. Gerd Gröner, Matthias Thimm Semantic Web 4 / 31

Modeling in OWL OWL gives us logical language constructs, but does not give us any guidelines on how to use them in order to solve our tasks. E.g., modeling something as an individual, a class, or an object property can be quite arbitrary... OWL is not enough for building a good ontology and we cannot ask all web users either to learn logic, or to study ontology design Reusable solutions are described as Ontology Design Patterns, which help reducing arbitrariness without asking for sophisticated skills...... provided that tools are built for any user. Gerd Gröner, Matthias Thimm Semantic Web 5 / 31

Modeling in OWL OWL gives us logical language constructs, but does not give us any guidelines on how to use them in order to solve our tasks. E.g., modeling something as an individual, a class, or an object property can be quite arbitrary... OWL is not enough for building a good ontology and we cannot ask all web users either to learn logic, or to study ontology design Reusable solutions are described as Ontology Design Patterns, which help reducing arbitrariness without asking for sophisticated skills...... provided that tools are built for any user. Gerd Gröner, Matthias Thimm Semantic Web 5 / 31

Modeling in OWL OWL gives us logical language constructs, but does not give us any guidelines on how to use them in order to solve our tasks. E.g., modeling something as an individual, a class, or an object property can be quite arbitrary... OWL is not enough for building a good ontology and we cannot ask all web users either to learn logic, or to study ontology design Reusable solutions are described as Ontology Design Patterns, which help reducing arbitrariness without asking for sophisticated skills...... provided that tools are built for any user. Gerd Gröner, Matthias Thimm Semantic Web 5 / 31

Ontology Design Pattern (OP) Definition An ontology design pattern is a reusable solution to a recurrent modeling problem. Gerd Gröner, Matthias Thimm Semantic Web 6 / 31

Pattern-based Design Pattern-based ontology design is the activity of searching, selecting, and composing different patterns Logical, Reasoning, Architectural, Naming, Correspondence, Reengineering, Content Common framework to understand modeling choices (the solution space ) with respect to task- and domain-oriented requirements (the problem space ) http://www.ontologydesignpatterns.org Gerd Gröner, Matthias Thimm Semantic Web 7 / 31

Types of OPs There are Ontology Design Patterns not really Ontology Patterns (indifferent) Ontology Design Anti-Patterns (AntiOPs) Gerd Gröner, Matthias Thimm Semantic Web 8 / 31

Namping OPs Naming OPs are conventions on how to create names for namespaces, files, and ontology elements in general (classes, properties, etc.). Naming OPs are good practices that boost ontology readability and understanding by humans, by supporting homogeneity in naming procedures. Example: Class names singular, capital letter Human readable names not only numeric values Use of suffixes or prefixes Gerd Gröner, Matthias Thimm Semantic Web 9 / 31

Annotation OPs Annotation OPs provide annotation properties or annotation property schemas that are meant to improve the understandability of ontologies and their elements Example: Use of RDF Schema labels and comments (crucial for manual selection and evaluation) Each class and property should be annotated with meaningful labels (also: different language) Each ontology and ontology element should be annotated with the rationale they are based on using rdfs:comment Gerd Gröner, Matthias Thimm Semantic Web 10 / 31

Correspondence OPs Correspondence OPs include Reengineering OP, Mapping OP. OPs provide designers Reengineering with solutions to the problem of transforming a conceptual model, which can even be a non-ontological resource, into a new ontology. Mapping OPs are patterns for creating semantic associations between two existing ontologies. Gerd Gröner, Matthias Thimm Semantic Web 11 / 31

Reengineering OPs Reengineering OPs are transformation rules applied in order to create a new ontology (target model) starting from elements of a source model The target model is an ontology, while the source model can be either an ontology, or a non-ontological resource e.g., a thesaurus concept, a data model pattern, a UML model, a linguistic structure, etc. Two types: Schema reengineering OPs are rules for transforming a non-owl DL metamodel into an OWL DL ontology Refactoring OPs provide designers with rules for transforming, i.e., refactoring, an existing OWL DL source ontology into a new OWL DL target ontology e.g., a guideline to reengineer a piece of an OWL ontology in presence of a requirement change, as when moving from individuals to classes, or from object properties to classes. Gerd Gröner, Matthias Thimm Semantic Web 12 / 31

Reengineering OPs Reengineering OPs are transformation rules applied in order to create a new ontology (target model) starting from elements of a source model The target model is an ontology, while the source model can be either an ontology, or a non-ontological resource e.g., a thesaurus concept, a data model pattern, a UML model, a linguistic structure, etc. Two types: Schema reengineering OPs are rules for transforming a non-owl DL metamodel into an OWL DL ontology Refactoring OPs provide designers with rules for transforming, i.e., refactoring, an existing OWL DL source ontology into a new OWL DL target ontology e.g., a guideline to reengineer a piece of an OWL ontology in presence of a requirement change, as when moving from individuals to classes, or from object properties to classes. Gerd Gröner, Matthias Thimm Semantic Web 12 / 31

Refactoring Pattern Example Cyclic SubClassOf Problem: An explicitly defined cyclic chain of subclassof axioms. This is sometimes difficult to understand Ontology description: There are the following axioms: A C 1 C 1 C 2... C n A equivalent classes: Solution (Refactoring): Replace the cyclic subclassof chain by an equivalent class axiom. Gerd Gröner, Matthias Thimm Semantic Web 13 / 31

Structural OPs Structural OPs affect the shape / structure of an ontology. Two kinds of structural OPs: Architectural OPs Logical OPs Gerd Gröner, Matthias Thimm Semantic Web 14 / 31

Architectural OPs Architectural OPs affect the overall shape of the ontology: their aim is to constrain how the ontology should look like Architectural OPs emerged as design choices motivated by specific needs e.g., computational complexity constraints. They are useful as reference documentation for those initially approaching the design of an ontology Gerd Gröner, Matthias Thimm Semantic Web 15 / 31

Architectural OPs (2) Architectural OPs can be of two types: internal APs and external APs Internal APs are defined in terms of collections of Logical OPs that have to be exclusively employed when designing an ontology e.g., an OWL species, or the varieties of description logics: http://www.cs.man.ac.uk/~ezolin/dl/ External APs are defined in terms of meta-level constructs e.g., the modular architecture consists of an ontology network, where the involved ontologies play the role of modules. The modules are connected by the import operation. Gerd Gröner, Matthias Thimm Semantic Web 16 / 31

Logical OPs A Logical OP is a formal expression, whose only parts are expressions from a logical vocabulary e.g., OWL DL, that solves a problem of expressivity Logical OPs are independent from a specific domain of interest they are content-independent Logical OPs depend on the expressivity of the logical formalism that is used for representation They help to solve design problems where the primitives of the representation language do not directly support certain logical constructs They can be of two types: logical macros, and transformation patterns Gerd Gröner, Matthias Thimm Semantic Web 17 / 31

Logical Macros Logical macros provide a shortcut to model a recurrent intuitive logical expression Example: the macro: R.C colloquially means every R must be a C formally: R.T R.C this would be expressed in OWL as the combination of an owl:allvaluesfrom restriction with an owl:somevaluesfrom restriction. Gerd Gröner, Matthias Thimm Semantic Web 18 / 31

Transformation Patterns Transformation patterns translate a logical expression from one logical language into another. The semantics of the first is approximated, in order to find a trade-off between requirements and expressivity. Example: N-ary relations that cannot be directly expressed in OWL. An approximation of an N-ary relation in OWL is to create a new class representing the relation and indicate the arguments through properties. Gerd Gröner, Matthias Thimm Semantic Web 19 / 31

Content Ontology Design Pattern (CP) CPs encode conceptual, rather than logical design patterns. Logical OPs solve design problems independently of a particular conceptualization CPs are patterns for solving design problems for the domain classes and properties that populate an ontology, therefore they address content problems Gerd Gröner, Matthias Thimm Semantic Web 20 / 31

Content Ontology Design Pattern (CP) (2) CPs are instantiations of Logical OPs (or of compositions of Logical OPs) they have an explicit non-logical vocabulary for a specific domain of interest they are content-dependent Modeling problems solved by CPs have two components: domain and requirements one domain many requirements same requirement different domains typical way of capturing requirements is by means of competency questions Gerd Gröner, Matthias Thimm Semantic Web 21 / 31

Characteristics of CPs (Small) ontology morphing being a part of something at some time Downward subsumption of at least one element being a component of a system at some time Mostly graphs of classes and properties that are self-connected through axioms (subclassof, equivalentclass, domain, range, disjointfrom) Usually there is an underlying n-ary relation (sometimes polymorphic) For instance: Consumer connect.producer Supplied Gerd Gröner, Matthias Thimm Semantic Web 22 / 31

Example: Agent role Intent / modeling problem: To represent agents and the roles they play. Competency question: Which agent does play this role? Consequence / solution: This CP allows designers to make assertions on roles played by agents without involving the agents that play that roles, and vice versa. It does not allow to express temporariness of roles. Gerd Gröner, Matthias Thimm Semantic Web 23 / 31

Example: Agent role instantiation Gerd Gröner, Matthias Thimm Semantic Web 24 / 31

Example: PartOf pattern Pattern type: Content pattern Intent / modeling problem: To represents entities and their parts. Competency question: What is this entity part of? and What are the parts of this entity? Consequence / solution: this content OP allows designers to represent entities and their parts i.e., part-whole relations. this pattern is extracted from DUL (DOLCE+DnS Ultralite) core ontology, upper ontology (for purpose of re-use) Gerd Gröner, Matthias Thimm Semantic Web 25 / 31

Example: PartOf pattern extracted from DUL Gerd Gröner, Matthias Thimm Semantic Web 26 / 31

Example: PartOf pattern usage use this pattern, e.g., in a medical domain: Gerd Gröner, Matthias Thimm Semantic Web 27 / 31

Example: Time interval Pattern type: Content pattern Intent / modeling problem: To represent time intervals. Competency question: What is the end time of this interval?, What is the starting time of this interval? and What is the date of this time interval? Consequence / solution: The dates of the time interval are not part of the domain of discourse, they are datatype values. Note: If there is the need of reasoning about dates this Content OP should be used in composition with the region Content OP. (This pattern is a basic one, which allows to talk about attributes/parameters/dimensions, while still referring to their values-) Gerd Gröner, Matthias Thimm Semantic Web 28 / 31

Example: Time-indexed participation Pattern type: Content pattern Intent / modeling problem: To represent participants in events at some time. To represent participants in parts of events. Competency question: When something participated in some event? and At what time an event had some participant? Consequence / solution: This pattern uses the situation pattern to add temporal information to participation of objects into events. The situation pattern is a more general content OP: Gerd Gröner, Matthias Thimm Semantic Web 29 / 31

Reuse of pattern Matching pattern to your situation / ontology Precise or redundant matching Broader or narrower matching Partial matching Content Pattern creation and reuse for specific ontology relies on a set of operations: import specialization generalization (converse of specialization) composition expansion clone Gerd Gröner, Matthias Thimm Semantic Web 30 / 31

Example reuse of patterns: composition Gerd Gröner, Matthias Thimm Semantic Web 31 / 31

Summary Content Pattern Content ontology design patterns (CPs) come from the experience of ontology engineers in modeling foundational, core, or domain ontologies Engineering principle (engineering way): Specialization, generalization, expansion and composition of other CPs Extraction from other (reference) ontologies sure, the same holds for (re-)using of CPs Gerd Gröner, Matthias Thimm Semantic Web 32 / 31

Summary Patterns are used in many areas as templates or abstract descriptions encoding best practices of some field. inspiration taken from the architecture field and Christopher Alexander Software patterns are probably most well known as Design Patterns, as in the GoF book from 1995. carrying this principle to ontology / knowledge engineering Remember: An ontology design pattern is a reusable successful solution to a recurrent modeling problem. Most important pattern: Structural OPs: Logical OPs and Architectural OPs Correspondence OPs: Reengineering OPs and Alignment OPs Content OPs (CPs) Reasoning OPs Presentation OPs: Naming OPs and Annotation OPs Gerd Gröner, Matthias Thimm Semantic Web 33 / 31