An Introduction to RDF(S) and a Quick Tour of OWL

Slides:



Advertisements
Similar presentations
Metadata vocabularies and ontologies Dr. Manjula Patel Technical Research and Development
Advertisements

1 ISWC-2003 Sanibel Island, FL IMG, University of Manchester Jeff Z. Pan 1 and Ian Horrocks 1,2 {pan | 1 Information Management.
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Developing OWL Ontologies with Protégé 4
Method for developing the benchmark suites. October 10th © Raúl García-Castro Method for developing the benchmark suites Raúl García-Castro October.
Chronos: A Tool for Handling Temporal Ontologies in Protégé
RDF Schemata (with apologies to the W3C, the plural is not ‘schemas’) CSCI 7818 – Web Technologies 14 November 2001 Van Lepthien.
Semantic Web Thanks to folks at LAIT lab Sources include :
The Semantic Web – WEEK 4: RDF
1 RDF Tutorial. C. Abela RDF Tutorial2 What is RDF? RDF stands for Resource Description Framework It is used for describing resources on the web Makes.
1 UIM with DAML-S Service Description Team Members: Jean-Yves Ouellet Kevin Lam Yun Xu.
GridVine: Building Internet-Scale Semantic Overlay Networks By Lan Tian.
27 January Semantically Coordinated E-Market Semantic Web Term Project Prepared by Melike Şah 27 January 2005.
E © 2002 Dario Aganovic Resource Description Framework Schema (RDFS) Dario Aganovic Industrial PhD-student NPI Production Kista, Ericsson AB and Production.
CS570 Artificial Intelligence Semantic Web & Ontology 2
SIG2: Ontology Language Standards WebOnt Briefing Ian Horrocks University of Manchester, UK.
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
OWL TUTORIAL APT CSA 3003 OWL ANNOTATOR Charlie Abela CSAI Department.
1 Semantic Web Technologies: The foundation for future enterprise systems Okech Odhiambo Knowledge Systems Research Group Strathmore University.
Xiang Zhang Feb 25 th, 2011 RDF, RDFS, OWL and the Semantic Web.
1 An Introduction To The Semantic Web. 2 Information Access on the Web Find an mp3 of a song that was on the Billboard Top Ten that features a cowbell.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Descriptions Robert Grimm New York University. The Final Assignment…  Your own application  Discussion board  Think: Paper summaries  Web cam proxy.
The Semantic Web – WEEK 5: RDF Schema + Ontologies The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse]
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
Semantic Web Ontologies (continued) Expressing, Querying, Building CS 431 – April 6, 2005 Carl Lagoze – Cornell University.
Aidministrator nederland b.v. Adding formal semantics to the Web Jeen Broekstra, Michel Klein, Stefan Decker, Dieter Fensel,
Practical RDF Chapter 1. RDF: An Introduction
Okech Odhiambo Faculty of Information Technology Strathmore University
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
1 Representing Data with XML September 27, 2005 Shawn Henry with slides from Neal Arthorne.
OWL and SDD Dave Thau University of Kansas
Dept. Computer Science, Korea Univ. Intelligent Information System Lab. 1 Sohn Jong-Soo Intelligent Information System lab. Department of Computer Science.
Building an Ontology of Semantic Web Techniques Utilizing RDF Schema and OWL 2.0 in Protégé 4.0 Presented by: Naveed Javed Nimat Umar Syed.
OWL 2 in use. OWL 2 OWL 2 is a knowledge representation language, designed to formulate, exchange and reason with knowledge about a domain of interest.
Chapter 9. 9 RDFS (RDF Schema) RDFS Part of the Ontological Primitive layer Adds features to RDF Provides standard vocabulary for describing concepts.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Semantic Web - an introduction By Daniel Wu (danielwujr)
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
Of 35 lecture 5: rdf schema. of 35 RDF and RDF Schema basic ideas ece 627, winter ‘132 RDF is about graphs – it creates a graph structure to represent.
DAML+OIL: an Ontology Language for the Semantic Web.
Semantic Web Ontologies CS 431 – Carl Lagoze – Cornell University Acknowledgements: Alun Preece.
OIL and DAML+OIL: Ontology Languages for the Semantic Web Sungshin Lim TOWARDS THE SEMANTIC WEB: Ontology-driven Knowledge.
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
1 © The ATHENA Consortium. Resource Description Framework (RDF) A language for making simple statements about things (resources) Statements:
Semantic Web BY: Josh Rachner and Julio Pena. What is the Semantic Web? The semantic web is a part of the world wide web that allows data to be better.
6 Dec Rev. 14 Dec CmpE 583 Fall 2008OWL Intro 1 OWL Intro Notes off Lacy Ch. 4 Atilla Elçi.
OWL & Protege Introduction Dongfang Xu Ph.D student, School of Information, University of Arizona Sept 10, 2015.
The Semantic Web Riccardo Rosati Dottorato in Ingegneria Informatica Sapienza Università di Roma a.a. 2006/07.
ELIS – Multimedia Lab PREMIS OWL Sam Coppens Multimedia Lab Department of Electronics and Information Systems Faculty of Engineering Ghent University.
Representing Data with XML February 26, 2004 Neal Arthorne.
Practical RDF Chapter 12. Ontologies: RDF Business Models Shelley Powers, O’Reilly SNU IDB Lab. Taikyoung Kim.
Of 38 lecture 6: rdf – axiomatic semantics and query.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
Stefan Decker Stanford University Mike Dean BBN Technologies.
W3C’s (world wide web consortium) Semantic Web: - RDF and metadata markup efforts to represent data in a machine understandable form. DARPA started the.
06 Dec Rev. 14 Dec CmpE 583 Fall 2008 OWL Language 1 OWL Language off Lacy Ch. 10 Atilla Elçi.
Web Ontology Language (OWL). OWL The W3C Web Ontology Language (OWL) is a Semantic Web language designed to represent rich and complex knowledge about.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
BioHealth Informatics Group Copyright © 2005, The University of Manchester1 A Practical Introduction to Ontologies & OWL Additional Exercises: Common Errors.
Ccs.  Ontologies are used to capture knowledge about some domain of interest. ◦ An ontology describes the concepts in the domain and also the relationships.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
OWL Language off Textbook Ch. 10
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Ontology.
ece 720 intelligent web: ontology and beyond
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Ontology.
Presentation transcript:

An Introduction to RDF(S) and a Quick Tour of OWL

RDF - Resource Description Framework RDF is a graphical language used for representing information about resources on the web. It is a basic ontology language. Resources are described in terms of properties and property values using RDF statements. Statements are represented as triples, consisting of a subject, predicate and object. [S, P, O] Resources might not necessarily be retrievable - For example a web page might describe people. We can specify that the web page describes people and then go into further detail by describing the people. Should think of resources as entities. RDF is intended for situations where information needs to be processed by applications rather than humans. It was designed to represent web resource META-DATA.

RDF Example Subject: Nick Predicate: hasColleague Object: Matthew

Naming Resources In RDF RDF uses URIs - Unique Resource Identifiers to identify resources. Actually, to be more precise RDF uses URIRefs to identify resources. A URIRef consists of a URI and an optional Fragment Identifier separated from the URI by the hash symbol #. For the sake of brevity we often use the XML namespace mechanism to associate a namespace prefix with a namespace, using this to form a QName as shown http://www.co-ode.org/people#hasColleague coode:hasColleague

Vocabularies A set of URIRefs is known as a vocabulary The RDF Vocabulary - The set of URIRefs used in descibing the RDF concepts e.g. rdf:Property, rdf:Resource, rdf:type. The RDFS Vocabulary - The set of URIRefs used in describing the RDF Schema langauge e.g. rdfs:Class, rdfs:domain The ‘Pizza Ontology’ Vocabulary - pz:hasTopping, pz:Pizza, pz:VegetarianPizza

Linking Statements The subject of one statement may be the object of another statement. A set of linked statements (triples) forms an RDF Graph.

An RDF Graph Example

RDF Serialisation RDF/XML <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:coode="http://www.co-ode.org/people#" xml:base="http://www.co-ode.org/people"> <rdf:Description rdf:ID="mh"> <coode:hasHomepage rdf:resource="http://www.cs.man.ac.uk/~horridgm"/> <coode:hasName>Matthew Horridge</coode:hasName> </rdf:Description> <rdf:Description rdf:ID="nd"> <coode:hasName>Nick Drummond</coode:hasName> <coode:hasColleage rdf:resource="#mh"/> </rdf:RDF> The W3C recommended syntax is RDF/XML - others such as N3 As can be seen this syntax is UGLY! These serialisations both represent the SAME graph <?xml version="1.0"?> <rdf:RDF xmlns:coode="http://www.co-ode.org/people#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xml:base="file:/Users/matthewhorridge/Desktop/Test.rdf"> <rdf:Description rdf:about="http://www.co-ode.org/people#nd"> <coode:hasName>Nick Drummond</coode:hasName> <coode:hasColleage> <rdf:Description rdf:about="http://www.co-ode.org/people#mh"> <coode:hasName>Matthew Horridge</coode:hasName> <coode:hasHomepage rdf:resource="http://www.cs.man.ac.uk/~horridgm"/> </rdf:Description> </coode:hasColleage> </rdf:RDF>

Editing RDF(S) IsaViz RDF Editor Protege-OWL in RDF(S) mode <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns="http://www.owl-ontologies.com/unnamed.owl#" xml:base="http://www.owl-ontologies.com/unnamed.rdf"> <rdfs:Class rdf:ID="Person"/> <rdf:Property rdf:ID="hasFather"/> <Person rdf:ID="Matthew"> <hasFather> <Person rdf:ID="Peter"/> </hasFather> </Person> </rdf:RDF> Wouldn’t want to edit RDF/XML by hand <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns="http://www.owl-ontologies.com/unnamed.owl#" xml:base="http://www.owl-ontologies.com/unnamed.rdf"> <rdfs:Class rdf:ID="Person"/> <rdf:Property rdf:ID="hasFather"/> <Person rdf:ID="Matthew"> <hasFather> <Person rdf:ID="Peter"/> </hasFather> </Person> </rdf:RDF>

RDF Schema (RDFS) - The RDF Vocabulary Description Language RDF Schema ‘semantically extends’ RDF to enable us to talk about classes of resources, and the properties that will be used with them. It does this by giving special meaning to certain rdf properties and resources. RDF Schema provides the means to describe application specific RDF vocabularies. - In general, RDF is too basic to be able to represent information, communities need things like classes. They need to be able to specify how properties can be used etc. - Example of special classes rdfs:Class, rdfs:subClassOf - RDFS is also known as the RDF Vocabulary Description language (i.e. it allows us to specify the classes and properties, and how they are used together for a vocabulary)

Describing Classes with RDFS To describe classes we can use built in RDF Schema resources: rdfs:Class rdfs:subClassOf These are used in conjunction with the rdf:type property.

Describing Properties with RDF(S) RDF Schema allows us to describe properties. (Properties are instances of the class rdf:Property!) We can specify a domain using rdfs:domain. We can specify a range using rdfs:range.

Other RDFS Built-In Properties rdfs:subPropertyOf rdfs:comment rdfs:label rdfs:seeAlso rdfs:isDefinedBy

RDF(S) Summary RDF - The Resource Description Framework allows us to describe resources by specifying their properties and property values. RDF Statements are triples of the form [Subject, Predicate, Object] A set of RDF triples forms an RDF Graph RDF Schema semantically extends RDF by providing a means to describe RDF Vocabularies.

RDF(S) Summary RDF and RDF Schema provide basic capabilities for describing vocabularies that describe resources. However, certain other capabilities are desirable e.g.: Cardinality constraints, specifying that properties are transitive, specifying inverse properties, specifying the ‘local’ range and/or cardinality for property when used with a given class, the ability to describe new classes by combining existing classes (using intersections and unions), negation (using ‘not’). RDF(S) is a minimalist modelling language with Classes, Properties, SubClasses and SubProperties, Domain and Range, comments and labels

OWL Latest standard in ontology languages from the World Wide Web Consortium (W3C). Built on top of RDF (OWL semantically extends RDF(S)), and based on its predecessor language DAML+OIL. OWL has a rich set of modelling constructors. OWL-Lite and OWL-DL have well understood, formal semantics, with their foundations being Description Logics. This means these species are amenable to automated reasoning.

The “Layer Cake”

Components of an OWL Ontology Individuals Properties Classes - Individuals - Instances, Objects - Properties - Slots, Roles (maybe attributes) - Classes - Concepts - Range of livesInCountry is Country - livesInCountry is functional - Domain of hasPet is Person - OWL-DL, Classes, Properties and Individuals are disjoint. This means that classes can’t be instances of other classes (or themselves) as they can in RDF Schema - Properties are further divided into Datatype Properties and Object Properties.

Reasoning For ontologies that fall into the scope of OWL-DL, we can use a reasoner to infer information that isn’t explicitly represented in an ontology. Subsumption - check knowledge is correct Equivalence - check knowledge is minimally redundant Consistency - check knowledge is meaningful Instantiation - check if an individual is an instance of a class ALL Reducible to consistency checking

The Three Species of OWL OWL-Full - No restrictions on how/where language constructs can be used. The union of OWL and RDF(S). OWL-Full is not decidable. OWL-DL - Restricted version of OWL-Full. Corresponds to a description logic. Certain restrictions on how/where language constructs can be used in order to guarantee decidability. OWL-Lite - A subset of OWL-DL. The simplest and easiest to implement of the three species.

OWL Summary OWL is the latest standard in ontology languages. It is layered on top of RDF and RDFS, and has a rich set of constructs. There are three species of OWL: OWL-Lite, OWL-DL and OWL-Full. We can perform automated reasoning over ontologies that are written in OWL-Lite and OWL-DL.

More Information W3C OWL Web Site CO-ODE Web Site Protege-OWL Web Site http://www.w3.org/2004/OWL/ CO-ODE Web Site http://www.co-ode.org Protege-OWL Web Site http://protege.stanford.edu/plugins/owl