Charlie Abela Department of Intelligent Computer Systems

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

The Semantic Web – WEEK 4: RDF
Introduction to RDF Based on tutorial at
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.
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.
Dr. Alexandra I. Cristea RDF.
Chapter 3A Semantic Web Primer 1 Chapter 3 Describing Web Resources in RDF Grigoris Antoniou Frank van Harmelen.
State of the Art in Semantic Web standards and technologies Andreas Duscher.
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,
The RDF meta model: a closer look Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
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.
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
RDF – Resource Description Framework M. Missikoff – F. Taglino LEKS, IASI-CNR Una piattaforma inferenziale per il Web Semantico: Jena2 Roma, 2006 Web Semantico.
RDF and OWL Developing Semantic Web Services by H. Peter Alesso and Craig F. Smith CMPT 455/826 - Week 6, Day Sept-Dec 2009 – w6d21.
Chapter 9. 9 RDFS (RDF Schema) RDFS Part of the Ontological Primitive layer Adds features to RDF Provides standard vocabulary for describing concepts.
Ontology Query. What is an Ontology Ontologies resemble faceted taxonomies but use richer semantic relationships among terms and attributes, as well as.
The Resource Description Framework And its application to thegateway.org For the IIAP Jon Jablonski, Research Assistant The Information.
Chapter 3 RDF Schema. Introduction RDF has a very simple data model RDF Schema (RDFS) enriches the data model, adding vocabulary and associated semantics.
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.
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.
RDF & RDF Schema Machine Understandable Metadata for the Web Semantic Web - Spring 2006 Computer Engineering Department Sharif University of Technology.
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.
Practical RDF Chapter 10. Querying RDF: RDF as Data Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Lim.
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,
The RDF meta model Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations of XML compared.
Problems with XML & XML Schemas XML falls apart on the Scalability design goal. 1.The order in which elements appear in an XML document is significant.
Important Concepts from the W3C RDF Vocabulary/Schema Sungtae Kim SNU OOPSLA Lab. August 19, 2004.
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.
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.
Semantic Web 06 T 0006 YOSHIYUKI Osawa. Problem of current web  limits of search engines Most web pages are only groups of character strings. Most web.
Describing Web Resources in RDF Semantic Web. Knowledge Technologies Manolis Koubarakis 2 The Semantic Web “Layer Cake”
Semantic Web In Depth Resource Description Framework Dr Nicholas Gibbins –
Linked Data & Semantic Web Technology The Semantic Web Part 7. RDF Semantics Dr. Myungjin Lee.
Semantic Web in Depth RDF Schema Dr Nicholas Gibbins –
Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.
Introduction to RDF Sandro Hawke, Semantic Web Tutorial ISWC 2010.
Service-Oriented Computing: Semantics, Processes, Agents
Charlie Abela Department of Intelligent Computer Systems
An Introduction to RDF Schema
SPARQL.
The Semantic Web Part 6. RDF Vocabularies: RDF Schema
Chapter 3 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
Tutorial on Semantic Web
Department of Artificial Intelligence
ece 720 intelligent web: ontology and beyond
Introduction to RDF and RDFS Editor: MR3
ece 720 intelligent web: ontology and beyond
RDF 1.1 Concepts and Abstract Syntax
ece 720 intelligent web: ontology and beyond
Semantic Web Basics (cont.)
Semantic-Web, Triple-Strores, and SPARQL
Presentation transcript:

Charlie Abela Department of Intelligent Computer Systems RDFS Charlie Abela Department of Intelligent Computer Systems

Moving up the layers Charlie Abela CSA3213: RDFS ©

RDF Schema Consider the following XML <author>Dan Brown</author> <journalist>John News</journalist> <magazine title=“Internet Computing”> <contributor>John Davies </contributor> </magazine> Use XPath to collect all authors: //author Result: “Dan Brown” Though XML is correct, it is semantically unsatisfactory (result should contain also John News and John Davies) Need to define something of this sort: Authors, journalists and contributors are all writers Only writers can contribute to a magazine Charlie Abela CSA3213: RDFS ©

RDF Schema II through RDFS its also possible to RDF makes no assumptions about any specific domain, nor does it define the semantics of such a domain To define the terminology related to any domain a schema language such as RDF Schema can be used Relation between RDF and RDF Schema is not the same as that between XML and XML Schema XML schema constraints the structure of XML documents RDFS defines the vocabulary used within an RDF data model through RDFS its also possible to specify the properties that can be applied to an object specify the values that such properties can take declare relationships between objects Charlie Abela CSA3213: RDFS ©

RDF Schema III The user can describe any particular domain using: Classes and Properties: differentiate between individual objects (or instances) and classes of object author: Dan Brown and class of authors restrict properties to apply to certain things Only authors can contribute to certain magazines i.e. restrict the domain of contributors to a magazine as ranging only over authors Class Hierarchies and Inheritance Classes of authors, writers, journalists, reporters, editors etc authors, journalists and reporters are all writers (journalist is a subclass of writer) Property Hierarchies E.g. the property “authorOf” is a subproperty of “contributesTo” However the converse may not necessarily be always true Charlie Abela CSA3213: RDFS ©

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. <rdfs:Class rdf:about=“Process”> <rdfs:comment>Represents the class of all processes</rdfs:comment> </rdfs:Class> Charlie Abela CSA3213: RDFS ©

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 <rdfs:Class rdf:ID=“SysProcess”> <rdfs:subClassOf rdf:resource=“#Process”/> </rdfs:Class> <rdf:Property rdf:ID=“authorOf”> <rdfs:subPropertyOf rdf:resource=“#contributeTo”/> <rdf:Property> Charlie Abela CSA3213: RDFS ©

Core Properties (2) 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 (of objects) in a triple with predicate P <rdf:Property rdf:ID=“procName”> <rdfs:domain rdf:resource=“#Process”/> <rdfs:range rdf:range=“&xsd;string”/> </rdf:Property> Charlie Abela CSA3213: RDFS ©

Example Charlie Abela CSA3213: RDFS ©

RDFS Example <rdfs:Class rdf:ID=“Writer”/> <rdfs:Class rdf:ID=“Author"> <rdfs:comment>all authors that contribute to books</rdfs:comment> <rdfs:subClassOf rdf:resource="#Writer"/> </rdfs:Class> <rdfs:Class rdf:ID=“Book"> <rdfs:comment>The class of books</rdfs:comment> <rdf:Property rdf:ID=“authorOf"> <rdfs:subPropertyOf rdf:resource="#contributeTo"/> <rdfs:domain rdf:resource=“#Writer”/> <rdfs:range rdf:resource=“#Book”/> </rdf:Property> Charlie Abela CSA3213: RDFS ©

RDFS Example II <rdfs:Class rdf:about="#Author"> <rdfs:subClassOf rdf:resource="#Writer"/> </rdfs:Class> <rdf:Property rdf:ID=“phone"> <rdfs:domain rdf:resource="#Writer"/> <rdfs:range rdf:resource=“&xsd;Literal"/> </rdf:Property> Charlie Abela CSA3213: RDFS ©

Complete Example Charlie Abela CSA3213: RDFS ©

Instance Example Charlie Abela CSA3213: RDFS ©

Applications of RDF/S: FOAF FOAF (Friend of a Friend) FOAF is a way of providing affiliation and other social information about yourself Also a way of describing a network of friends and others we know, in such a way that automated processes such as web bots can find this information and incorporate it with other FOAF files The FOAF-a-matic is a web form and the submitted information is used to generate the RDF/XML for a specific FOAF file and add it to the FOAF network. Charlie Abela CSA3213: RDFS ©

Foaf Example Charlie Abela CSA3213: RDFS ©

Photos of People I Know Charlie Abela CSA3213: RDFS ©

Applications of RDF/S: RDFHomepage Creates personal homepages based on your RDF data. Takes the information in Bibtex, FOAF files, etc. and automatically creates an RDFHomepage. The generated HTML code is very general, and allows quick and easy page-redesigning using CSS. RDFHomepage is written in PHP and uses the system to generate PHP classes based on RDF class definitions Charlie Abela CSA3213: RDFS ©

RDFHomepage: Social Network Researchers Charlie Abela CSA3213: RDFS ©

RDF Tools Jena can be hooked with MySQL, PostgreSQL or Oracle db RDF Store: stores RDF models in relational dbs (persistent storage) Jena can be hooked with MySQL, PostgreSQL or Oracle db RDF validator: validates RDF and presents different views (triples and dg) of result RDF Editors: Protégé: http://protege.stanford.edu/ Oiled: http://oiled.man.ac.uk/ SWOOP: http://www.mindswap.org/2004/SWOOP/ RDF visualiser RDF Viz (visualises graphs) Search for schemas: SWOOGLE: http://swoogle.umbc.edu/ Charlie Abela CSA3213: RDFS ©

Further Information Semantic Web Primer, Chapter 3 RDF Primer, E. Miller http://www.w3.org/TR/rdf-primer/ RDF tutorial examples http://www.zvon.org/xxl/RDFTutorial/General/contents.html The Semantic Web: roles of XML and RDF, Stefan Decker, http://www.ontoknowledge.org/oil/downl/IEEE00.pdf Jena RDF tutorial, http://jena.sourceforge.net/documentation.html Charlie Abela CSA3213: RDFS ©

Extra

Namespaces for shorter serialisation Writing URIs results in very long lines. For convenience we use a shorthand of writing triples. The XML qualified name without angle brackets <> is used as abbreviation for the full URI reference. A QName contains a prefix that has been assigned to a namespace URI, followed by a colon, and then a local name. The full URI is formed from the QName by appending the local name to the namespace URI assigned to the prefix. So, for example, if the QName prefix foo is assigned to the namespace URI http://example.org/somewhere/, then the QName foo:bar is shorthand for the URIref http://example.org/somewhere/bar. Charlie Abela CSA3213: RDFS ©

Namespaces used prefix rdf:, namespace URI: http://www.w3.org/1999/02/22-rdf-syntax-ns# prefix books:, namespace URI: http://www.booksInfo.com/books#” prefix xsd:, namespace URI: http://www.w3.org/2001/XMLSchema# prefix authors:, namespace URI: http://www.authorsInfo.org/authors#” prefix base:, namespace URI: http://www.bookstore.com/books Charlie Abela CSA3213: RDFS ©