Shared content-vocabularies: Ontologies

Similar documents
Semantic Web OWL. Dieter Fensel and Federico Facca

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

Semantic Web Technologies: Web Ontology Language

Ontological Modeling: Part 7

Web Ontology Language: OWL

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

Pragmatics of RDF/OWL

Overview. Pragmatics of RDF/OWL. The notion of ontology. Disclaimer. Ontology types. Ontologies and data models

Housekeeping points. Introduction to Ontology Engineering. Outline. Part I. Introduction to ontologies. Outline. Background

Table of Contents. iii

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

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services

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

Description Logic. Eva Mráková,

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

Semantic Technologies

Web Ontology Language: OWL

SEMANTIC WEB AND COMPARATIVE ANALYSIS OF INFERENCE ENGINES

Adding formal semantics to the Web

Deep integration of Python with Semantic Web technologies

Helmi Ben Hmida Hannover University, Germany

OWL 2 Update. Christine Golbreich

Jacco van Ossenbruggen, Lynda Hardman. Multimedia and Human-Computer Interaction CWI Amsterdam

Web Ontology Language: OWL by Grigoris Antoniou Frank van Harmelen

OWLET: An Object-Oriented Environment for OWL Ontology Management

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

Semantic Web Ontologies

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

CHAPTER 2. Overview of Tools and Technologies in Ontology Development

OWL an Ontology Language for the Semantic Web

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

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

TRIPLE An RDF Query, Inference, and Transformation Language

Extracting knowledge from Ontology using Jena for Semantic Web

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

An Introduction to the Semantic Web. Jeff Heflin Lehigh University

Web Ontology Language (OWL)

Logical reconstruction of RDF and ontology languages

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

Enabling knowledge representation on the Web by extending RDF Schema

Knowledge Representation on the Web

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

Logical Foundations for the Semantic Web

Ontological Modeling: Part 14

RDF(S) Resource Description Framework (Schema)

Chapter 2 AN INTRODUCTION TO THE OWL WEB ONTOLOGY LANGUAGE 1. INTRODUCTION. Jeff Heflin Lehigh University

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

Chapter 13: Advanced topic 3 Web 3.0

2 nd International Semantic Web Conference (ISWC2003)

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

Chapter 4 Web Ontology Language: OWL

COMP718: Ontologies and Knowledge Bases

Efficient Querying of Web Services Using Ontologies

For return on 19 January 2018 (late submission: 2 February 2018)

Querying Data through Ontologies

OWL Full and UML 2.0 Compared

Semantic Web Technologies Web Ontology Language (OWL) Part II. Heiko Paulheim

RDF /RDF-S Providing Framework Support to OWL Ontologies

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

Ontologies, OWL, OWL profiles

Semantic Web. MPRI : Web Data Management. Antoine Amarilli Friday, January 11th 1/29

Web Ontology Language: OWL

Semantic Web In Depth: Resource Description Framework. Dr Nicholas Gibbins 32/4037

Controlled Natural Language as Interface Language to the Semantic Web

OWL DL / Full Compatability

Semantic Web. Part 3 The ontology layer 1: Ontologies, Description Logics, and OWL

Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, Version 3. RDFS RDF Schema. Mustafa Jarrar. Birzeit University

Linked data basic notions!

Semistructured Data Management Part 3 (Towards the) Semantic Web

The Semantic Web. Mansooreh Jalalyazdi

LINKING BACKGROUND INFORMATION

Enabling Knowledge Representation on the Web by Extending RDF Schema

Intelligent Agents. Pınar Yolum Utrecht University. Spring 2018 Pınar Yolum

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

A Framework for OWL DL based Ontology Construction from Relational Database using Mapping and Semantic Rules

DAML+OIL: an Ontology Language for the Semantic Web

Semantic Web KM: A Knowledge Machine for Semantic Webs

Automatic Transformation of Relational Database Schema into OWL Ontologies

Ontological Modeling: Part 11

RDF Schema. Mario Arrigoni Neri

Limitations of the WWW

XML and Semantic Web Technologies. III. Semantic Web / 1. Ressource Description Framework (RDF)

BUILDING THE SEMANTIC WEB

Web Data and Declarative Programming

Defining Several Ontologies to Enhance the Expressive Power of Queries

OWL-based reasoning with retractable inference

RDF. Resource Description Framework

12th ICCRTS. On the Automated Generation of an OWL Ontology based on the Joint C3 Information Exchange Data Model (JC3IEDM)

Racer - An Inference Engine for the Semantic Web

Presented By Aditya R Joshi Neha Purohit

Modularity in Ontologies: Introduction (Part A)

3/6/08. Introduction to Ontology Web Language (OWL) Graphs. Representing knowledge. Graphs as knowledge 2. Graphs as knowledge 1

OWL 2 Syntax and Semantics Sebastian Rudolph

Semantic Web Update W3C RDF, OWL Standards, Development and Applications. Dave Beckett

Semantic Web Test

OWL Web Ontology Language

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

Formalising the Semantic Web. (These slides have been written by Axel Polleres, WU Vienna)

SEMANTIC WEB DATA MANAGEMENT. from Web 1.0 to Web 3.0

Description Logics and OWL

Transcription:

Semantic Web Languages: RDF, RDF Schema, OWL Frank van Harmelen Vrije Universiteit Amsterdam Shared content-vocabularies: Ontologies Formal, explicit specification of a shared conceptualisation machine processable concepts, properties, relations, functions Consensual knowledge Abstract model of some domain 1

What s inside an ontology? Classes + class-hierarchy instances slots/values inheritance (multiple? defaults?) restrictions on slots (type, cardinality) properties of slots (symm., trans., ) relations between classes (disjoint, covers) reasoning tasks: classification, subsumption Stack of languages 2

Stack of languages XML: Surface syntax, no semantics XML Schema: Describes structure of XML documents RDF: Datamodel for relations between things RDF Schema: RDF Vocabulary Definition Language OWL: A more expressive Vocabulary Definition Language Bluffer s guide to RDF (1) Object ->Attribute-> Value triples pers05 Author-of objects are web-resources Value is again an Object: triples can be linked data-model = graph ISBN... pers05 Author-of ISBN... Publby MIT Author-of ISBN... Publby 3

Bluffer s guide to RDF (2) Every identifier is a URL = world-wide unique naming! Has XML syntax <rdf:description rdf:about= #pers05 > <authorof>isbn...</authorof> </rdf:description> Any statement can be an object graphs can be nested NYT claims pers05 Author-of ISBN... What does RDF Schema add? Defines vocabulary for RDF Organizes this vocabulary in a typed hierarchy Class, subclassof, type Property, subpropertyof domain, range subclassof Person subclassof Supervisor domain supervises range Student type Frank supervises Marta type 4

RDF(S) syntax: graphics Turtle <http://sem-web-primer> dc:author dc:title "Semantic Web Primer" "Frank van Harmelen" fullname homepage http://www.cs.vu.nl/~frankh RDF(S) syntax: XML <rdf:rdf> <rdf:description rdf:about="http://sem-web-primer" dc:title="semantic Web Primer"> <dc:author> <rdf:description fullname="frank van Harmelen"> <homepage rdf:resource="http://www.cs.vu.nl/~frankh"/> </rdf:description> </dc:author> </rdf:description> </rdf:rdf> 5

RDF(S) syntax: Turtle <http://sem-web-primer> dc:title "Semantic Web Primer" ; dc:author [ fullname "Frank van Harmelen"; homepage <http://www.cs.vu.nl/~frankh> ]. RDF(S)/XML relationship XML is a just a syntax for RDF(S) (one of many) RDF(S) assigns meaning to some terms (XML doesn't) This allows greater interoperability: tools/tools thesaurus/thesaurus tools/thesaurus 6

Crucial RDF(S) property: All identifiers are URL's Allows total decoupling of data ontology meta-data [<x> IsOfType <T>] meta-data data different owners & locations ontology RDF(S) is a logic only ground binary predicates only conjunction limited form of (anonymous individuals) implication between predicates (subsumption) 7

RDF(S) is a logic (Non-standard) model-theory (Pat Hayes) E.g: classes members of themselves Simple model-theoretic properties: Entailment, skolemisation, (strong) Herbrand property, interpolation theorem Axiomatisations (Stanford, Essen, Lyon) Some of these machine verified RDF(S) have a (very small) formal semantics Defines what other statements are implied by a given set of RDF(S) statements Ensures mutual agreement on minimal content between parties without further contact Sound & complete entailment rules Very simple to compute (and not explosive in practice, compute full closure of > 10 9 statements) 8

Things RDF(S) can t do (in)equality enumeration boolean algebra Union, complement number restrictions Single-valued/multi-valued Optional/required values inverse, symmetric, transitive Beyond RDF: OWL OWL extends RDF Schema to a full-fledged knowledge representation language. logical expressions data-typing cardinality quantifiers OWL is simply a Description Logic SHOIN(D) with an RDF/XML syntax 9

Layered language OWL Lite: Classification hierarchy Simple constraints OWL DL: Maximal expressiveness While maintaining tractability Standard formalisation OWL Full: Very high expressiveness Loosing tractability Non-standard formalisation All syntactic freedom of RDF (self-modifying) Full DL Lite Syntactic layering Semantic layering OWL Light (sub)classes, individuals (sub)properties, domain, range conjunction (in)equality cardinality 0/1 datatypes inverse, transitive, symmetric hasvalue somevaluesfrom allvaluesfrom Language Layers RDF Schema Full DL Lite OWL DL Negation Disjunction Full Cardinality Enumerated types OWL Full Allow meta-classes etc 10

Language Layers: Full No restriction on use of vocabulary (as long as legal RDF) Classes as instances (and much more) RDF style model theory Reasoning using FOL engines via axiomatisation Full Semantics should correspond with OWL DL for suitably restricted KBs Language Layers: DL Use of OWL vocabulary restricted Can t be used to do nasty things (I.e., modify OWL) No classes as instances DL Defined by abstract syntax Standard FOL model theory (definitive) Direct correspondence with FOL Reasoning via DL engines Reasoning for full language via FOL engines No need for axiomatisation (unlike full) Would need built in datatypes for performance 11

Language Layers: Lite No explicit negation or union Restricted cardinality (0/1) No nominals (oneof) Semantics as in DL Reasoning via DL engines (+datatypes) E.g., FaCT, RACER, Cerebra Lite OWL also has a formal semantics Defines what other statements are implied by a given set of statements Ensures mutual agreement on content (both minimal and maximal) between parties without further contact Can be used for integrity/consistency checking Hard to compute (and rarely/sometime/always explosive in practice) 12

Different syntaxes for OWL RDF Official exchange syntax Hard for humans UML Large user base Masahiro Hori, IBM Japan XML Not the RDF syntax Better for humans Masahiro Hori, IBM Japan Abstract syntax Human readable/writeable <owl:class rdf:id="wine"> <rdfs:subclassof rdf:resource="potableliquid"/> <rdfs:subclassof> <owl:restriction> <owl:onproperty rdf:resource="#madefromgrape"/> <owl:mincardinality>1</owl:mincardinality> </owl:restriction> </rdfs:subclassof> <rdfs:subclassof> <owl:restriction> <owl:onproperty rdf:resource="#hasmaker" /> /> <owl:allvaluesfrom rdf:resource="#winery" /> /> </owl:restriction> </rdfs:subclassof> <owl:equivalentclass rdf:resource= Vin"/> </owl:class> 13

Things OWL doesn t do default values closed world option property chaining arithmetic string operations partial imports view definitions procedural attachment Illustrating OWL in its abstract syntax 14

Class(professor partial) Class(associateProfessor partial academicstaffmember) DisjointClasses(associateProfessor assistantprofessor) DisjointClasses(professor associateprofessor) Class(faculty complete academicstaffmember) DatatypeProperty(age range(xsd:nonnegativeinteger)) ObjectProperty(lecturesIn) ObjectProperty(isTaughtBy domain(course) range(academicstaffmember)) SubPropertyOf(isTaughtBy involves) ObjectProperty(teaches inverseof(istaughtby) domain(academicstaffmember) range(course)) EquivalentProperties(lecturesIn teaches) ObjectProperty(hasSameGradeAs Transitive Symmetric domain(student) range(student)) 15

Individual(949318 type(lecturer)) Individual(949352 type(academicstaffmember) value(age "39"^^&xsd;integer)) ObjectProperty(isTaughtBy Functional) Individual(CIT1111 type(course) value(istaughtby 949352) value(istaughtby 949318)) DifferentIndividuals(949318 949352) DifferentIndividuals(949352 949111 949318) Class(firstYearCourse partial restriction(istaughtby allvaluesfrom (Professor))) Class(mathCourse partial restriction(istaughtby hasvalue (949352))) Class(academicStaffMember partial restriction(teaches somevaluesfrom (undergraduatecourse))) Class(course partial restriction(istaughtby mincardinality(1))) Class(department partial restriction(hasmember mincardinality(10)) restriction(hasmember maxcardinality(30))) 16

Class(course partial complementof(staffmember)) Class(peopleAtUni complete unionof(staffmember student)) Class(facultyInCS complete intersectionof(faculty restriction(belongsto hasvalue (CSDepartment)))) Class(adminStaff complete intersectionof(staffmember complementof(unionof(faculty techsupportstaff)))) EnumeratedClass(weekdays Monday Tuesday Wednesday Thursday Friday Saturday Sunday) 17