ece 720 intelligent web: ontology and beyond

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 Schemata (with apologies to the W3C, the plural is not ‘schemas’) CSCI 7818 – Web Technologies 14 November 2001 Van Lepthien.
Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Kim
Dr. Jim Bowring Computer Science Department College of Charleston CSIS 690 (633) May Evening 2009 Semantic Web Principles and Practice Class 5: 27 May.
Dr. Alexandra I. Cristea RDF.
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,
1 Introduction to Semantic Web with XML RDF Dickson K.W. Chiu PhD, SMIEEE Text: Antoniou & van Harmelen: A Semantic Web PrimerA Semantic Web Primer (Chapter.
RDF, RDFS making the Web a better place Ir. Richard Vdovjak, MTD.
Cornell CS 502 Resource Description Framework Building the Semantic Web CS 502 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller.
LDK R Logics for Data and Knowledge Representation Resource Description Framework (RDF) Fausto Giunchiglia and Biswanath Dutta Fall’2011.
Chapter 3A Semantic Web Primer 1 Chapter 3 Describing Web Resources in RDF Grigoris Antoniou Frank van Harmelen.
Chapter 2 Describing Web Resources: RDF
RDF Semantics by Patrick Hayes W3C Recommendation Presented by Jie Bao RPI Sept 4, 2008 Part 1 of RDF/OWL Semantics Tutorial.
RDF Schema. 2/39 Weak RDF Adoption 3/39 RDF Picking Up RDF adoption will pick up because five primary reasons: –Improved tutorials –Improved tool support.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Chapter 3 RDF Schema.
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.
Chapter 3A Semantic Web Primer 1 Chapter 3 Describing Web Resources in RDF Grigoris Antoniou Frank van Harmelen.
1 Object-Orientation in Ontology Date: April 30, 2007 Byunggul Koh Taeksu Kim.
Chapter 9. 9 RDFS (RDF Schema) RDFS Part of the Ontological Primitive layer Adds features to RDF Provides standard vocabulary for describing concepts.
Chapter 3 RDF Schema. Introduction RDF has a very simple data model RDF Schema (RDFS) enriches the data model, adding vocabulary and associated semantics.
Of 41 lecture 4: rdf – basics and language. of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter.
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.
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.
RQL: RDF Query language Jianguo Lu University of Windsor The following slides are from Grigoris Antoniou, Frank van Harmelen, “A Semantic Web Primer”
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
RDF & RDF Schema Machine Understandable Metadata for the Web Semantic Web - Spring 2006 Computer Engineering Department Sharif University of Technology.
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.
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.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
Ch 7: RDF schema 현근수, 김영욱, 백상윤, 이용현 Team C. Introduction Semantic web modeling In RDF: simply creates graph structure to represent data In RDFS: about.
Important Concepts from the W3C RDF Vocabulary/Schema Sungtae Kim SNU OOPSLA Lab. August 19, 2004.
Description of Information Resources: RDF/RDFS (an Introduction)
RDF/RDFS Tutorial. Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about.
Practical RDF Ch.4 Specialized RDF Relationships: Reification, Containers, and Collections Kim, Jong-Nam SNU OOPSLA Lab. August 12, 2004.
Chapter 3A Semantic Web Primer 1 Chapter 3 Describing Web Resources in RDF Grigoris Antoniou Frank van Harmelen.
Of 38 lecture 6: rdf – axiomatic semantics and query.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall RDF & RDF Schema Machine Understandable Metadata for the.
Knowledge Technologies Manolis Koubarakis 1 Some Other Useful Features of RDF.
Describing Web Resources in RDF Semantic Web. Knowledge Technologies Manolis Koubarakis 2 The Semantic Web “Layer Cake”
Linked Data & Semantic Web Technology The Semantic Web Part 7. RDF Semantics Dr. Myungjin Lee.
Semantic Web in Depth RDF Schema Dr Nicholas Gibbins –
Service-Oriented Computing: Semantics, Processes, Agents
Charlie Abela Department of Intelligent Computer Systems
An Introduction to RDF Schema
The Semantic Web Part 6. RDF Vocabularies: RDF Schema
Chapter 3 RDF Schema.
Service-Oriented Computing: Semantics, Processes, Agents
Resource Description Framework Building the Semantic Web
Service-Oriented Computing: Semantics, Processes, Agents
Tutorial on Semantic Web
Some Other Useful Features of RDF
Chapter 2 Describing Web Resources: RDF
CPT-S 415 Big Data Yinghui Wu EME B45 1.
ece 720 intelligent web: ontology and beyond
Introduction to RDF and RDFS Editor: MR3
ece 720 intelligent web: ontology and beyond
Chapter 3 RDF and RDFS Semantics
Chapter 3 Describing Web Resources in RDF
Semantic Web Basics (cont.)
Semantic-Web, Triple-Strores, and SPARQL
Chapter 3 Describing Web Resources in RDF
Presentation transcript:

ece 720 intelligent web: ontology and beyond lecture 5: rdf schema

RDF and RDF Schema basic ideas RDF is about graphs – it creates a graph structure to represent data RDFS is about sets – it provides guidelines how to use this graph structure in a disciplined way; how to talk about the vocabulary used in an RDF graph: which individual are related to each other and how; how properties are related ece 720, winter ‘12

RDF and RDF Schema basic ideas provides information about the ways in which we describe our data tells us about the information that is expressed in the system (the schema is information about the data) ece 720, winter ‘12

RDF and RDF Schema basic ideas RDF Schema is defined in RDF form all schema information in RDFS is defined with RDF triples ece 720, winter ‘12

RDF and RDF Schema basic ideas RDF Schema extends RDF by introducing a set of distinguished resources certain specific resources are “new keywords” (certain triples have a special meaning – we will know more about the data than what is explicitly expressed in the data) ece 720, winter ‘12

RDF and RDF Schema basic ideas - example a construct to specify a set in RDFS is rdfs:Class since RDFS is expressed in RDF – then in a triple rdf:type is the predicate, and the object is rdfs:Class :professor rdf:type rdfs:Class (not an XML format) ece 720, winter ‘12

RDF and RDF Schema basic ideas – example cont. <rdf:Description rdf:about=“professor”> <rdf:type rdf:resource= http://www.w3.org/2000/01/rdf-schema#Class </rdf:Description> (an XML format) ece 720, winter ‘12

RDF and RDF Schema basic ideas – example cont. <rdfs:Class rdf:about=“professor”/> (an abbreviated XML format) ece 720, winter ‘12

RDF and RDF Schema basic ideas RDF Schema is a primitive ontology language ece 720, winter ‘12

RDF Schema basic ideas meaning can be added to the data in RDF Schema using the following concepts: classes and properties class hierarchies and inheritance property hierarchies ece 720, winter ‘12

… classes and instances two “types” of information concrete “things” (individual objects) in the domain: discrete math, David Billington etc. sets of individuals sharing properties called classes: lecturers, students, courses etc. ece 720, winter ‘12

… classes and instances individual objects that belong to a class are referred to as instances of that class the relationship between instances and classes in RDF is through rdf:type ece 720, winter ‘12

… classes and instances - example discrete math is taught by concrete math we want courses to be taught by lecturers only restriction on values of the property “is taught by” (range restriction) room MZH5760 is taught by David Billington only courses can be taught this imposes a restriction on the objects to which the property can be applied (domain restriction) ece 720, winter ‘12

… class hierarchies classes can be organized in hierarchies A is a subclass of B if every instance of A is also an instance of B then B is a superclass of A a subclass graph need not be a tree a class may have multiple superclasses ece 720, winter ‘12

… inheritance range restriction: courses must be taught by academic staff members only Michael Maher is a professor (member of academic staff) ece 720, winter ‘12

… inheritance Michael inherits the ability to teach from the class of academic staff members this is done in RDF Schema by fixing the semantics of “is a subclass of” (an application (RDF processing software) does not interpret “is a subclass of”) ece 720, winter ‘12

… property hierarchies hierarchical relationships for properties e.g., “is taught by” is a subproperty of “involves” if a course C is taught by an academic staff member A, then C also involves Α the converse is not necessarily true e.g., A may be the teacher of the course C, or a tutor who marks student homework but does not teach C P is a subproperty of Q, if Q(x,y) is true whenever P(x,y) is true ece 720, winter ‘12

RDF vs RDF Schema Layer discrete mathematics is taught by David Billington the schema is itself written in a formal language, RDF Schema, that can express its ingredients: subClassOf, Class, Property, subPropertyOf, Resource, etc. ece 720, winter ‘12

RDF vs RDF Schema Layer isTaughtBy literal id phone staff member range literal range subClassOf / subPropertyOf id phone domain domain staff member involves academic staff member range domain isTaughtBy course associate professor professor type type RDFS RDF isTaughtBy programming JohnSmith ece 720, winter ‘12

RDF Schema in RDF resources and properties are used to define modeling primitives of RDF Schema (RDF itself is used!) ece 720, winter ‘12

(professor, subClassOf, academicStaffMember) RDF Schema in RDF to define that “professor” is a subclass of “academic staff member” we need to define: resources professor, academicStaffMember, and subClassOf property subClassOf (professor, subClassOf, academicStaffMember) ece 720, winter ‘12

RDF Schema in RDF <rdfs:Class rdf:about=“professor”> <rdfs:subClassOf rdf:resource=“academicStaffMember”/> </rdfs:Class> (an abbreviated XML format) ece 720, winter ‘12

RDF Schema core classes rdfs:Resource, the class of all resources rdfs:Class, the class of all classes rdfs:Literal, the class of all literals (strings) rdf:Property, the class of all properties. rdf:Statement, the class of all reified statements ece 720, winter ‘12

RDF Schema core properties rdf:type, which relates a resource to its class (the resource is declared to be an instance of that class) rdfs:subClassOf, which relates a class to one of its superclasses (all instances of a class are instances of its superclass) rdfs:subPropertyOf, relates a property to one of its superproperties ece 720, winter ‘12

RDF Schema core properties rdfs:domain, which specifies the domain of a property P the class of those resources that may appear as subjects in a triple with predicate P if the domain is not specified, then any resource can be the subject rdfs:range, which specifies the range of a property P the class of those resources that may appear as values in a triple with predicate P ece 720, winter ‘12

example <rdfs:Class rdf:about="#professor"> <rdfs:subClassOf rdf:resource=”#academicStaffMember"/> </rdfs:Class> individual: <rdfs:Description rdf:ID=“John Smith"> <rdf:type rdf:resource=”http://www.ece.ualberta.ca/schema/professor"/> </rdfs:Description> <my:professor rdf:ID=“John Smith”/> ece 720, winter ‘12

example <rdf:Property rdf:ID="phone"> <rdfs:domain rdf:resource="#academicStaffMember"/> <rdfs:range rdf:resource="http://www.w3.org/ 2000/01/rdf-schema#Literal"/> </rdf:Property> individual: <my:professor rdf:ID=“John Smith”> <my:phone rdf:resource=“7801234567”/> </my:professor> ece 720, winter ‘12

RDF Schema core classes and properties rdfs:subClassOf and rdfs:subPropertyOf are transitive, by definition rdfs:Class is a subclass of rdfs:Resource because every class is a resource rdfs:Resource is an instance of rdfs:Class rdfs:Resource is the class of all resources, so it is a class every class is an instance of rdfs:Class for the same reason ece 720, winter ‘12

RDF Schema reification rdf:subject, relates a reified statement to its subject rdf:predicate, relates a reified statement to its predicate rdf:object, relates a reified statement to its object ece 720, winter ‘12

RDF Schema containers rdf:Bag, the class of bags rdf:Seq, the class of sequences rdf:Alt, the class of alternatives rdfs:Container, which is a superclass of all container classes, including the three above ece 720, winter ‘12

RDF Schema utility properties rdfs:seeAlso relates a resource to another resource that explains it rdfs:isDefinedBy is a subproperty of rdfs:seeAlso and relates a resource to the place where its definition, typically an RDF schema, is found ece 720, winter ‘12

RDF Schema utility properties rdfs:comment - comments, typically longer text, can be associated with a resource rdfs:label – a human-friendly label (name) is associated with a resource ece 720, winter ‘12

example: a university <rdfs:Class rdf:ID=”professor"> <rdfs:comment> the class of professors, all professors are academic staff members </rdfs:comment> <rdfs:subClassOf rdf:resource="#academicStaffMember"/> </rdfs:Class> ece 720, winter ‘12

example: a university (2) <rdfs:Class rdf:ID="course"> <rdfs:comment>the class of courses</rdfs:comment> </rdfs:Class> <rdf:Property rdf:ID="isTaughtBy"> <rdfs:comment> inherits its domain ("course") and range (”professor") from its superproperty "involves" </rdfs:comment> <rdfs:subPropertyOf rdf:resource="#involves"/> </rdf:Property> ece 720, winter ‘12

example: a university (3) <rdf:Property rdf:ID="phone”> <rdfs:comment> a property of staff members, takes literals as values </rdfs:comment> <rdfs:domain rdf:resource="#staffMember"/> <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/> </rdf:Property> ece 720, winter ‘12