Introduction to Protégé. Federico Chesani, 18 Febbraio 2010

Similar documents
Main topics: Presenter: Introduction to OWL Protégé, an ontology editor OWL 2 Semantic reasoner Summary TDT OWL

A Heuristic Approach to Explain the Inconsistency in OWL Ontologies Hai Wang, Matthew Horridge, Alan Rector, Nick Drummond, Julian Seidenberg

Knowledge Engineering. Ontologies

! Assessed assignment 1 Due 17 Feb. 3 questions Level 10 students answer Q1 and one other

Protege Tutorial Part One

Ontology Building. Ontology Building - Yuhana

Protégé-2000: A Flexible and Extensible Ontology-Editing Environment

OWL a glimpse. OWL a glimpse (2) requirements for ontology languages. requirements for ontology languages

1. Represent each of these relations on {1, 2, 3} with a matrix (with the elements of this set listed in increasing order).

protege-tutorial Documentation

The OWL API: An Introduction

OWLViz A visualisation plugin for the Protégé OWL Plugin

Summarizing the Structure of the Pizza Ontology: Ontology Development with Partial-area Taxonomies and the Ontology Abstraction Framework

OWL 2 Profiles. An Introduction to Lightweight Ontology Languages. Markus Krötzsch University of Oxford. Reasoning Web 2012

Description Logic. Eva Mráková,

Logik für Informatiker Logic for computer scientists. Ontologies: Description Logics

Bryan Smith May 2010

OWL Tutorial. LD4P RareMat / ARTFrame Meeting Columbia University January 11-12, 2018

Presented By Aditya R Joshi Neha Purohit

Knowledge Engineering with Semantic Web Technologies

l A family of logic based KR formalisms l Distinguished by: l Decidable fragments of FOL l Closely related to Propositional Modal & Dynamic Logics

Developing Biomedical Ontologies using Protégé

Reasoning with the Web Ontology Language (OWL)

Semantic Web Test

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

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

DAML+OIL: an Ontology Language for the Semantic Web

CC LA WEB DE DATOS PRIMAVERA Lecture 4: Web Ontology Language (I) Aidan Hogan

GraphOnto: OWL-Based Ontology Management and Multimedia Annotation in the DS-MIRF Framework

Semantic Web Tools. Federico Chesani 18 Febbraio 2010

CHAPTER 2. Overview of Tools and Technologies in Ontology Development

Semantic Query Answering with Time-Series Graphs

A Practical Introduction to Protégé OWL

Ontology mutation testing

Ontologies Growing Up: Tools for Ontology Management. Natasha Noy Stanford University

Semantic Web Ontologies

Ontology Engineering for the Semantic Web and Beyond

OWL 2 Update. Christine Golbreich

DEVELOPMENT OF ONTOLOGY-BASED INTELLIGENT SYSTEM FOR SOFTWARE TESTING

OWL 2 The Next Generation. Ian Horrocks Information Systems Group Oxford University Computing Laboratory

Table of Contents. iii

OWL and tractability. Based on slides from Ian Horrocks and Franz Baader. Combining the strengths of UMIST and The Victoria University of Manchester

Adding formal semantics to the Web

Mandatory exercises. INF3580/4580 Semantic Technologies Spring 2017 Lecture 12: OWL: Loose Ends. Outline. Make it simple!

Extracting knowledge from Ontology using Jena for Semantic Web

COMP718: Ontologies and Knowledge Bases

INF3580 Semantic Technologies Spring 2012

Ontologies and OWL. Riccardo Rosati. Knowledge Representation and Semantic Technologies

Knowledge Representations. How else can we represent knowledge in addition to formal logic?

Ontology Development. Farid Naimi

Ontological Modeling: Part 7

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

1. Introduction to SWRL

OWL 2 Syntax and Semantics Sebastian Rudolph

Deep integration of Python with Semantic Web technologies

OWL DL / Full Compatability

Ontology Visualization

Helmi Ben Hmida Hannover University, Germany

Ontologies and The Earth System Grid

SOFTWARE ENGINEERING ONTOLOGIES AND THEIR IMPLEMENTATION

Ontology Development Tools and Languages: A Review

Web Ontology Language: OWL

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

Knowledge Representation for the Semantic Web

A Tool for Storing OWL Using Database Technology

Reasoning with DAML+OIL:

OOPS! OntOlogy Pitfalls Scanner!

Multi-agent and Semantic Web Systems: Representation

KDI OWL. Fausto Giunchiglia and Mattia Fumagallli. University of Trento

jcel: A Modular Rule-based Reasoner

Extracting Ontologies from Standards: Experiences and Issues

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

OWL 2 Profiles. An Introduction to Lightweight Ontology Languages. Маркус Крёч (Markus Krötzsch) University of Oxford. KESW Summer School 2012

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

Developing University Ontology using protégé OWL Tool: Process and Reasoning

Ontology as Knowledge Base for Spatial Data Harmonization

Ontology engineering. How to develop an ontology? ME-E4300 Semantic Web additional material

CSc 8711 Report: OWL API

Overcoming Challenges Using the CIM as a Semantic Model for Energy Applications

Interoperability of Protégé using RDF(S) as Interchange Language

Semantic Web. Ontology and OWL. Morteza Amini. Sharif University of Technology Fall 95-96

AI Fundamentals: Knowledge Representation and Reasoning. Maria Simi

University of Huddersfield Repository

The OWL API: An Introduction

OWL Pizzas: Practical Experience of Teaching OWL-DL: Common Errors and Common Patterns

Semantics Modeling and Representation. Wendy Hui Wang CS Department Stevens Institute of Technology

Semantics. Matthew J. Graham CACR. Methods of Computational Science Caltech, 2011 May 10. matthew graham

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

Chronos: A Tool for Handling Temporal Ontologies

Logic and Reasoning in the Semantic Web (part I RDF/RDFS)

Web Ontology Language (OWL)

Semantic Web. Ontology Engineering and Evaluation. Morteza Amini. Sharif University of Technology Fall 95-96

Description Logics and OWL

USING DECISION MODELS METAMODEL FOR INFORMATION RETRIEVAL SABINA CRISTIANA MIHALACHE *

Semantic Web Technologies: Web Ontology Language

SEMANTICS. Retrieval by Meaning

SEMANTIC WEB AND COMPARATIVE ANALYSIS OF INFERENCE ENGINES

Appendix 1. Description Logic Terminology

Appendix 1. Description Logic Terminology

Ontological Modeling: Part 8

Transcription:

Introduction to Protégé Federico Chesani, 18 Febbraio 2010

Ontologies An ontology is a formal, explicit description of a domain of interest Allows to specify: Classes (domain concepts) Semantci relation between classes/properties associated to a concept (slots, and possibly restrictions, facets) Possibly, a further logic level (axioms and rules) Classes instances Ontology + Istances = Knowledge Base

Ontologies Starting point: a deep analysis, complete(?) and correct(?) of an application domain. The knowledge can be then represented/formalized by means of an ontology Uses: Export Application export Knowledge export Modelling Fundamental in every step of teh developing process Interoperability between different applications

Ontologis and Semantic Web Two proposals within the SW Initiative: RDF Schema (RDFS), RDF extensions with proper terms for ontological concepts OWL (Ontology Web Language), extend RDFS OWL Lite OWL DL OWL Full Based on Description Logics

OWL and Description Logic Description Logics are a family of logics Each fragment depend on which operators are supported in the logic More supported operators higher the complexity OWL-DL supports the following operators:

Protégé An ontology editor Many different editors: WebODE, http://webode.dia.fi.upm.es/webodeweb/index.html ICOM, http://www.inf.unibz.it/~franconi/icom/ DOME, http://dome.sourceforge.net/ (many many others) Protégé, http://protege.stanford.edu/ Developed at Stanford (US) Open Source, java based, extendible Plug-in architecture, lot of plug-ins available Exports ontology in many formats (rdfs, owl)

Developing an ontology A possible development process: 1. Analyze the domai and the goal of the ontology 2. Consider to reuse existing ontologies 3. Determine the key concepts of the domain 4. Organize concepts in classes e hierarchies among classes 5. Determine the properties of the classes 6. Add constraints (allowed values) on the properties 7. Create the instances 8. Assigns values to the properties for each instance

Protégé Developing an ontology Editing function are split in different tabs Tab Classes : classes editor Tab Object Properties Tab Data Properties Tab Individuals Tab Forms : Allows to define forms for the data insertion phase

Protégé Classes editor Assertions Necessary and Sufficient (complete definition) (C1 equivalent to C2) Necessary (partial definition) (C1 has superclass C2) Inherited Assertions are about Properties and Restriction on properties Disjoints (individuals of this class cannot be also individuals of another class) By default, OWL classes have some overlap!!!!!!

Protégé - Properties Properties are binary relations between two things. Object properties: relation between two individuals Datatype properties: relation between an individual and a primitive data type Annotation properties (metadata )

Protégé Inverse properties For each object property it is possible to specify the inverse property E.g.: individuals: federico, francesco Properties: hasparent, haschild Sentence: francesco hasparent federico Now, define haschild as inverse property of hasparent It is possible to automatically infer that : federico haschild francesco

Functional Properties Functional Properties: a property is functional if, for a given individual, it can be in relation (through such property) with only another individual E.g.: francesco hasfather federico Note: the fact that a property is functional is not usedas a constraint, but as axiom for the inference. E.g., if we add francesco hasfather chicco, we can say: 1. federico and chicco are the same individual 2. (provided federico!= chicco) the two sentences are inconsistent Inverse Functional Properties: the inverse property is functional

Transitive and Symmetric Properties Transitive Properties E.g., hasancestor Symmetric Properties E.g., hasbrother federico hasbrother paolo allows to infer also paolo hasbrother federico Antisymmetric Properties (if a rel b, it can never be b rel a ) E.g., haschild: federico haschild francesco

Reflexive Properties Reflexive properties: if rel is reflexive, then it always holds a rel a, for every indidual a. E.g., knows: federico knows federico Irreflexive properties (it can never be a rel a ) E.g., fatherof

Properties Domain and Range Properties relates individuals from a domain from individuals from a range Domain and range are not constraints but rather axioms used in the inference process E.g.: given the classes Pizza and PizzaToppings, the relation hastopping is defined: Pizza as domain PizzaToppings as range If we add icecream hastopping pepperoni, then the inference engine derives that icecream is an instance of Pizza Such behaviour can couse problems initially Note: for inverse properties, there is the inversion of domain and range

Descrbing and Defining a class Description of a class: necessary conditions for an individual to belong to a class Definition of a class: necessary and sufficient conditions for an individual to belong to a class Are are descripted/defined by means of Expressions (conjunction/disjunction of named/anonymous classes and subclassof relation) and (intersection), or (union) and not (complement) Property Restrictions (in Protégé 4.0 everything has been reconducted to a restriction)

Property Restrictions Quantifier Restrictions Existential Restrictions: individuals that are related through property prop with at least an individual member of the specified class (keyword some, somevaluefrom ) Universal Restrictions: individuals that are related through property prop only with individuals members of the specified class (keyword only, allvaluesfrom ) Cardinality Restrictions (possibly qualified) min n: individuals that are related through property prop with at least n other individuals exactly n max n hasvalue Restrictions: individuals that are related through property prop with a certain defined indivdual

Protégé Reasoning Computation of the inferred ontology User defined/described ontologies are called asserted hierarchy. Protégé can invoke a reasoner ( a plug-in) to compute the inferred hierarchy Consistency checking: for each class, can exists at least an individual that could belong to such class? Attention: OWL uses the Open World Assumption If needed, Closure Axioms

Protégé - Individuals It is possible to define also single individuals DL Reasoners supports also the classification task

Protégé A short exercise Starts from the Pizza ontology Add the description of a new, ChesaniPizza It must have cheese It must have a topping based on meat It must be an interesting pizza It must vegetarian Should we make the intersection of these concepts or the union? Do you think ChesaniPizza is consistent? Why? Transform the description of ChesaniPizza into a definition Which pizza are subsumed by ChesaniPizza?

Protégé A short exercise Create an individual, e.g., pizzatonight Add some topping Mozz_bufala Luganega (o lucaneca) Pomodoro_di_pachino Melanzane Create pizzatonight with these topping Try to classify it: to which class this pizza belong? Why?

Few Links Protégé, http://protege.stanford.edu/ Protégé-OWL, with tutorials, exrcise, howto etc. etc.: http://www.co-ode.org/ OWL and other standards: http://www.w3.org/2001/sw/