Tutorial on Semantic Web

Slides:



Advertisements
Similar presentations
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Advertisements

RDF Tutorial.
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
Chapter 3 RDF Syntax 1. Topics Basic concepts of RDF resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals and Qnames.
SEMANTIC WEB TECHNOLOGIES David Ben-David & Roi Adadi Built on W3C “Tutorial on Semantic Web Technologies” presentation.
Dr. Alexandra I. Cristea RDF.
A year on the Semantic W3C (or: what is happening these days?) Semantic Web Meetup, Seattle, Ivan Herman, W3C.
Chapter 3A Semantic Web Primer 1 Chapter 3 Describing Web Resources in RDF Grigoris Antoniou Frank van Harmelen.
Knowledge Technologies Manolis Koubarakis 1 An Introduction to RDF Schema.
More RDF CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
JOSH FLECK Semantic Web. What is Semantic Web? Movement led by W3C that promotes common formats for data on the web Describes things in a way that computer.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
TAPP-09 23/02/2009Giorgos Flouris1 On Explicit Provenance Management in RDF/S Graphs Institute of Computer Science Foundation for Research and Technology.
RDF Semantics by Patrick Hayes W3C Recommendation Presented by Jie Bao RPI Sept 4, 2008 Part 1 of RDF/OWL Semantics Tutorial.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Okech Odhiambo Faculty of Information Technology Strathmore University
Logics for Data and Knowledge Representation
RDF – Resource Description Framework M. Missikoff – F. Taglino LEKS, IASI-CNR Una piattaforma inferenziale per il Web Semantico: Jena2 Roma, 2006 Web Semantico.
© Copyright 2008 STI INNSBRUCK RDF and RDF Schema Semantic Web Lecture Lecture III – xx 2009 Dieter Fensel Slides.
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.
CC L A W EB DE D ATOS P RIMAVERA 2015 Lecture 2: RDF Model & Syntax Aidan Hogan
Part I: Set Constructs. RDF Schema (RDFS) RDF does not provide mechanisms to define domain classes and properties RDFS is a vocabulary that provides many.
RDF and XML 인공지능 연구실 한기덕. 2 개요  1. Basic of RDF  2. Example of RDF  3. How XML Namespaces Work  4. The Abbreviated RDF Syntax  5. RDF Resource Collections.
Chapter 3 RDF and RDFS Semantics. Introduction RDF has a very simple data model But it is quite liberal in what you can say Semantics can be given using.
Turtle – RDF Graph. Turtle – Basic Syntax Triples are terminated with a full stop URLs are encoded in angle brackets ( ) Literals are enclosed by double.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
Part II. Property domain and range restriction RDFS allows us to put restriction on the properties by specifying their domain and range, providing the.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
Practical RDF Ch.6 Creating an RDF Vocabulary DongHyuk Im SNU OOPSLA Lab. Shelley Powers, O’Reilly August 19, 2004.
1 Tutorial on the Semantic Web (Last update: 26 May 2009) adapted from (C) Ivan Herman, W3C Given at WE course by Peter Dolog Adapted: October 2010.
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.
RDF Schema (RDFS) RDF user communities need to define the vocabularies (terms) to indicate that they  are describing specific kinds or classes of resources.
Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about the resources of the.
OIL and DAML+OIL: Ontology Languages for the Semantic Web Sungshin Lim TOWARDS THE SEMANTIC WEB: Ontology-driven Knowledge.
Understanding RDF. 2/30 What is RDF? Resource Description Framework is an XML-based language to describe resources. A common understanding of a resource.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
1 Tutorial on the Semantic Web cntd. (Last update: 26 May 2009) adapted from (C) Ivan Herman, W3C Given at WE course by Peter Dolog Adapted: October.
Doc.: IEEE /0169r0 Submission Joe Kwak (InterDigital) Slide 1 November 2010 Slide 1 Overview of Resource Description Framework (RFD/XML) Date:
Of 38 lecture 6: rdf – axiomatic semantics and query.
Knowledge Technologies Manolis Koubarakis 1 Some Other Useful Features of RDF.
An Optimization Technique for RDFS Inference using the Application Order of RDFS Entailment Rules Kisung Kim, Taewhi Lee
Linked Data & Semantic Web Technology The Semantic Web Part 7. RDF Semantics Dr. Myungjin Lee.
Semantic Web in Depth RDF Schema Dr Nicholas Gibbins –
Semantics of RDF(S) and OWL Ivan Herman, W3C (Last update: 28 Sep 2007) Ivan Herman.
Introduction to RDF Sandro Hawke, Semantic Web Tutorial ISWC 2010.
Service-Oriented Computing: Semantics, Processes, Agents
Tutorial on Semantic Web
Charlie Abela Department of Intelligent Computer Systems
Tutorial on Semantic Web
An Introduction to RDF Schema
The Semantic Web Part 6. RDF Vocabularies: RDF Schema
CC La Web de Datos Primavera Lecture 3: RDF Schema and Semantics
Service-Oriented Computing: Semantics, Processes, Agents
Introduction to the Semantic Web (tutorial) 2009 Semantic Technology Conference San Jose, California, USA June 15, 2009 Ivan Herman, W3C
Service-Oriented Computing: Semantics, Processes, Agents
CmpE 583- Web Semantics: Theory and Practice INTRODUCTION TO RDF
INF385T: Information Modeling — Class 14 Semantic Web Vocabulary Systems RDF, RDFS, OWL Slides for November 30, 2016 Karen Wickett
RDF For Semantic Web Dhaval Patel 2nd Year Student School of IT
ece 720 intelligent web: ontology and beyond
Introduction to RDF and RDFS Editor: MR3
CC La Web de Datos Primavera 2016 Lecture 2: RDF Model & Syntax
RDF 1.1 Concepts and Abstract Syntax
ece 720 intelligent web: ontology and beyond
Resource Description Framework (RDF)
Semantic Web Basics (cont.)
Semantic-Web, Triple-Strores, and SPARQL
Presentation transcript:

Tutorial on Semantic Web Ivan Herman, W3C Last update: 2012-04-09 This is just a generic slide set. Should be adapted, reviewed, possibly with slides removed, for a specific event. Rule of thumb: on the average, a slide is a minute…

One level higher up: RDFS, Datatypes Nexus Simulation Credit Erich Bremmer

Need for RDF schemas First step towards the “extra knowledge”: define the terms we can use what restrictions apply what extra relationships are there? Officially: “RDF Vocabulary Description Language” the term “Schema” is retained for historical reasons…

Classes, resources, … Think of well known traditional vocabularies: use the term “novel” “every novel is a fiction” “«The Glass Palace» is a novel” etc. RDFS defines resources and classes: everything in RDF is a “resource” “classes” are also resources, but… …they are also a collection of possible resources (i.e., “individuals”) “fiction”, “novel”, …

Classes, resources, … (cont.) Relationships are defined among resources: “typing”: an individual belongs to a specific class “«The Glass Palace» is a novel” to be more precise: “«http://.../000651409X» is a novel” “subclassing”: all instances of one are also the instances of the other (“every novel is a fiction”) RDFS formalizes these notions in RDF

Classes, resources in RDF(S) rdf:type #Novel http://…isbn/000651409X rdfs:Class RDFS defines the meaning of these terms (these are all special URI-s, we just use the namespace abbreviation)

Schema example in RDF/XML The schema part: <rdf:Description rdf:ID="Novel"> <rdf:type rdf:resource="http://www.w3.org/…/rdf-schema#Class"/> </rdf:Description> The RDF data on a specific novel: <rdf:Description rdf:about="http://…/isbn/000651409X"> <rdf:type rdf:resource="http://…/bookSchema.rdf#Novel"/> </rdf:Description>

An aside: typed nodes in RDF/XML A frequent simplification rule: instead of <rdf:Description rdf:about="http://..."> <rdf:type rdf:resource="http://..../something#ClassName"> ... </rdf:Description> use: <yourNameSpace:ClassName rdf:about="http://..."> ... </yourNameSpace:ClassName> ie: <a:Novel rdf:about="http://…/isbn/000651409X"> ... </a:Novel>

Further remarks on types A resource may belong to several classes rdf:type is just a property… “«The Glass Palace» is a novel, but «The Glass Palace» is also an «inventory item»…” i.e., it is not like a datatype! The type information may be very important for applications e.g., it may be used for a categorization of possible nodes probably the most frequently used RDF property… (remember the “Person” in our example?)

(<http://…/isbn/000651409X> rdf:type #Fiction) Inferred properties #Fiction rdf:type rdf:subClassOf http://…isbn/000651409X rdf:type #Novel (<http://…/isbn/000651409X> rdf:type #Fiction) is not in the original RDF data… …but can be inferred from the RDFS rules RDFS environments return that triple, too

Inference: let us be formal… The RDF Semantics document has a list of (33) entailment rules: “if such and such triples are in the graph, add this and this” do that recursively until the graph does not change The relevant rule for our example: If: uuu rdfs:subClassOf xxx . vvv rdf:type uuu . Then add: vvv rdf:type xxx .

Properties Property is a special class (rdf:Property) properties are also resources identified by URI-s There is also a possibility for a “sub-property” all resources bound by the “sub” are also bound by the other Range and domain of properties can be specified i.e., what type of resources serve as object and subject

Properties (cont.) Properties are also resources (named via URI–s)… So properties of properties can be expressed as… RDF properties this twists your mind a bit, but you can get used to it For example, (P rdfs:domain C) means: P is a property C is a class when using P, I can infer that the “subject” is of type C

Property specification example

Property specification serialized In RDF/XML: <rdf:Property rdf:ID="title"> <rdfs:domain rdf:resource="#Fiction"/> <rdfs:range rdf:resource="http://...#Literal"/> </rdf:Property> In Turtle: :title rdf:type rdf:Property; rdfs:domain :Fiction; rdfs:range rdfs:Literal.

What does this mean? then the system can infer that: Again, new relations can be deduced. Indeed, if :title rdf:type rdf:Property; rdfs:domain :Fiction; rdfs:range rdfs:Literal. <http://…/isbn/000651409X> :title "The Glass Palace" . then the system can infer that: <http://…/isbn/000651409X> rdf:type :Fiction .

Literals Literals may have a data type floats, integers, booleans, etc., defined in XML Schemas full XML fragments (Natural) language can also be specified

Examples for datatypes <rdf:Description rdf:about="http://…/isbn/000651409X"> <page_number rdf:datatype="http://...#integer">543</page_number> <publ_date rdf:datatype="http://...#gYear">2000</publ_date> <price rdf:datatype="http://...#float">6.99</price> </rdf:Description> <http://…/isbn/000651409X> :page_number "543"^^xsd:integer ; :publ_date "2000"^^xsd:gYear ; :price "6.99"^^xsd:float .

Examples for language tags <rdf:Description rdf:about="http://…/isbn/000651409X"> <title xml:lang="en">The Glass Palace</title> <fr:titre xml:lang="fr">Le palais des mirroirs</fr:titre> </rdf:Description> <http://…/isbn/000651409X> :title "The Glass Palace"@en ; fr:titre "Le palais des mirroirs"@fr .

XML literals in RDF/XML makes it possible to “include” XML vocabularies into RDF: <rdf:Description rdf:about="#Path"> <axsvg:algorithmUsed rdf:parseType="Literal"> <math xmlns="..."> <apply> <laplacian/> <ci>f</ci> </apply> </math> </axsvg:algorithmUsed> </rdf:Description/>

A bit of RDFS can take you far… Remember the power of merge? We could have used, in our example: f:auteur is a subproperty of a:author and vice versa (although we will see other ways to do that…) Of course, in some cases, more complex knowledge is necessary (see later…)

Vocabularies RDFS makes it possible to define vocabularies: collection of properties and classes relationships among those and to terms in other vocabularies Some examples: Dublin Core terms: creator, date, … FOAF terms: characterization of persons Good Relations: eCommerce terms Creative Commons: copyright classes, license relations, … schema.org terms: events, organizations, places, reviews, … …