Of 41 lecture 4: rdf – basics and language. of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter.

Slides:



Advertisements
Similar presentations
Introduction to linked data Gordon Dunsire Presented at the Cataloguing and Indexing Group Scotland seminar Linked data and the Semantic Web: what have.
Advertisements

CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
The Semantic Web – WEEK 4: RDF
Introduction to RDF Based on tutorial at
CS570 Artificial Intelligence Semantic Web & Ontology 2
RDF Tutorial.
Quratulain Rajput Faculty of Computer Science, IBA Spring2013
NAMESPACES … and ontologies. Namespaces The goal is to ensure that domains with similar characteristics use a shared vocabulary as much as possible XML.
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.
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,
RDF: Building Block for the Semantic Web Jim Ellenberger UCCS CS5260 Spring 2011.
Resource Description Framework Building the Semantic Web CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
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.
Module 2b: Modeling Information Objects and Relationships IMT530: Organization of Information Resources Winter, 2007 Michael Crandall.
LDK R Logics for Data and Knowledge Representation Resource Description Framework (RDF) Fausto Giunchiglia and Biswanath Dutta Fall’2011.
Resource Description Framework (RDF) Lecture # 6 Faculty of Computer Science, IBA.
Nancy Ide Vassar College USA Resource Definition Framework A Tutorial EUROLAN 2003 July 28 - August 8 Bucharest - Romania.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
Visual Models for Knowledge Engineering Madalina Croitoru
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Logics for Data and Knowledge Representation Resource Description Framework (RDF) Feroz Farazi.
Chapter 3 RDF Syntax. RDF Overview RDF Syntax -- the XML encoding RDF Syntax – variations including N3 RDF Schema (RDFS) Semantics of RDF and RDFS – Axiomatic.
Logics for Data and Knowledge Representation
ISBD for the Semantic Web: namespaces, elements, vocabularies, application profile Gordon Dunsire Presented at Centar zu Stalno Stručno Usavršavanje (CSSU),
The RDF/XML Serialization RDF statements can be written in RDF/XML very much like descriptions in non-RDF XML XML is increasingly used in all kinds of.
RDF (Resource Description Framework). 2 Table of Contents  Introduction  Basic RDF –Basic RDF Model –Basic Syntax  Containers  Statements about Statements.
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 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
RDF Containers In N3, we could say that Ed (with id 21) and Bill (with id 34) created a certain document
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
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.
Introduction to the Semantic Web and Linked Data Module 1 - Unit 2 The Semantic Web and Linked Data Concepts 1-1 Library of Congress BIBFRAME Pilot Training.
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,
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.
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.
RDF & SPARQL Introduction Dongfang Xu Ph.D student, School of Information, University of Arizona Sept 10, 2015.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
Chapter 3 RDF. Introduction Problem: What does an XML document mean? – XML is about data structures – Their meaning (semantics) is not apparent to a machine.
Chapter 3 RDF Syntax. RDF Overview RDF Syntax -- the XML encoding RDF Syntax – variations including N3 RDF Schema (RDFS) Semantics of RDF and RDFS – Axiomatic.
Silterra, April 2004 RDF, RSS and all that THREADING THE RDF MAZE.
Knowledge Technologies Manolis Koubarakis 1 Some Other Useful Features of RDF.
Practical RDF Chapter 3. The Basic Elements Within the RDF/XML Syntax Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Kim.
Chapter 5 The Semantic Web 1. The Semantic Web  Initiated by Tim Berners-Lee, the inventor of the World Wide Web.  A common framework that allows data.
Other RDF Capabilities. Exercise: Write the following information into a set of statements (triples) and then draw them into and RDF graph The article.
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 5. Resource Description Framework (2) Dr. Myungjin Lee.
Semantic Web In Depth Resource Description Framework Dr Nicholas Gibbins –
8.3.7 Compound Property Values Property values can be ▫Literals ▫Resource ▫Container ▫Collection, or… ▫Compound Value Compound Value ▫Has multiple value.
Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.
Service-Oriented Computing: Semantics, Processes, Agents
Charlie Abela Department of Intelligent Computer Systems
Introduction to Persistent Identifiers
Resource Description Framework - RDF
Service-Oriented Computing: Semantics, Processes, Agents
Resource Description Framework
Service-Oriented Computing: Semantics, Processes, Agents
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Department of Artificial Intelligence
ece 720 intelligent web: ontology and beyond
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Semantic Web Basics (cont.)
Presentation transcript:

of 41 lecture 4: rdf – basics and language

of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter ‘122

of 41 RDF basic ideas – resources  “things” we can/want to talk about  for example – authors, books, publishers, places, people, hotels, rooms, search queries …  anything that has an identity  every resource has a URI ece 720, winter ‘123

of 41 RDF basic ideas – resources URI (Uniform Resource Identifier)  a character string that identifies an abstract or physical resource on the Web  it can be a URL (Uniform Resource Locator) or some other kind of unique identifier ece 720, winter ‘124

of 41 RDF basic ideas – properties  special kind of resources  they describe relations between resources  for example, written by, age, title, …  also identify by URIs (and in practice by URLs) ece 720, winter ‘125

of 41 RDF basic ideas – statements  assert the properties of resources  it is a triple: object-attribute-value  in other words: resource-property-value values can either be resources or literals ece 720, winter ‘126

of 41 ece 720, winter ‘127 RDF basic ideas – statements – three views  a triple  a piece of a graph  a piece of XML code thus an RDF document can be viewed as:  a set of triples  a graph (semantic net)  an XML document

of 41 RDF basic ideas – statement 1 st view John Smith is the owner of the Web page ( #JohnSmith) ece 720, winter ‘128

of 41 RDF basic ideas – statement 1 st view ( #JohnSmith) (x, P, y) – logical formula P(x, y) also (S, P, O) – Subject-Property-Object ece 720, winter ‘129

of 41 RDF basic ideas – general comment RDF offers only binary predicates (properties) ece 720, winter ‘1210

of 41 RDF basic ideas – statement 2 nd view a directed graph with labeled nodes and arcs  from the resource (the subject of the statement)  to the value (the object of the statement) in AI community it is known as a semantic net ece 720, winter ‘ site-owner

of 41 RDF basic ideas – statement 2 nd view ( #JohnSmith) (#JohnSmith, “ ”) (#JohnSmith, ( “Mike Knot”) ece 720, winter ‘1212

of 41 RDF basic ideas – statement 2 nd view ece 720, winter ‘ site-owner Andrew Rock k/file.cgi site-owner uses phone

of 41 RDF basic ideas – statement 3 rd view <rdf:RDF xmlns:rdf=" xmlns:mydomain=" ece 720, winter ‘1214

of 41 RDF basic ideas – reification it is possible to make statements about statements Mike believes that John Smith is the creator of the web page the solution: to assign a unique identifier to each statement, which can be used to refer to the statement ece 720, winter ‘1215

of 41 RDF basic ideas – data types “ ” – integer or string? explicit information is needed to indicate that the literal is intended to represent a number, and which number the literal is supposed to represent – information about data type ece 720, winter ‘1216

of 41 RDF critical view only binary relations (to express: X is the referee in a chess game between Y and Z – we need three triples: ref, player1, player2) properties a especial kind of resources statements about statements XML-based syntax of RDF not human-friendly ece 720, winter ‘1217

of 41 RDF XML-based syntax XML notation for RDF statements ece 720, winter ‘1218

of 41 RDF running example ( ( “Karin Homepage”) ( “ ”) ece 720, winter ‘1219

of 41 RDF running example - graph ece 720, winter ‘ cs#R Karin Homepage thor#R

of 41 RDF running example 1 2 <rdf:RDF 3 xmlns:rdf= 4 xmlns:md=" 5 <rdf:Description 6rdf:about=" 7 <md:creater 8rdf:resource=“ 9 ece 720, winter ‘1221

of 41 RDF running example 10 <rdf:Description 11 rdf:about=" 12 Karin Homepage <rdf:Description 15rdf:about=" ece 720, winter ‘1222

of 41 RDF XML-based syntax line 3 and line 4: introduction of the rdf and md vocabularies so we can use abbreviated names line 5: rdf:Description – indication of the beginning of a new RDF statement line 6: rdf:about – indication of the subject of the RDF statement, its value is URI ece 720, winter ‘1223

of 41 RDF XML-based syntax line 7: md:creator – it is a name from a given vocabulary (here: mydomain), it is a property of the RDF statement line 8: rdf:resource – indication of the object of the RDF statement, its value is URI line 9: indicates that the definition of the RDF statement is completed ece 720, winter ‘1224

of 41 RDF XML-based syntax other lines – similar meaning line 12: md:title – it is a name from a given vocabulary (here: mydomain), it is a property of the RDF statement; this line contains the value “Karin Homepage” which the object ece 720, winter ‘1225

of 41 RDF XML-based syntax: first modification usage of relative URIs as a values of rdf:about or rdf:resource done with xml:base ece 720, winter ‘1226

of 41 RDF running example – after 1 st modification 1 2 <rdf:RDF 3 xml:base= 4 xmlns:rdf= 5 xmlns:md=" 6 7 <md:creater 8rdf:resource=“ 9 ece 720, winter ‘1227

of 41 RDF running example – after 1 st modification Karin Homepage ece 720, winter ‘1228

of 41 RDF XML-based syntax: second modification rdf:ID that can be used as attribute of rdf:Description instead of rdf:about plus property elements can be nested within an rdf:Descirption element indicating that the properties apply to the same resource ece 720, winter ‘1229

of 41 RDF running example – after 2 nd modification 1 2 <rdf:RDF xml:base= 3 xmlns:rdf= 4 xmlns:md=" 5 6 <md:creater 7rdf:resource=“ 8 Karin Homepage ece 720, winter ‘1230

of 41 RDF XML-based syntax: third modification rdf:type the statement (S, rdf:type, O) indicates that resource O represents a category or a class of resources, of which resource S is an instance such resources are called typed node elements ece 720, winter ‘1231

of 41 RDF running example – after 3 rd modification 1 2 <rdf:RDF xml:base= 3 xmlns:rdf= 4 xmlns:md= <md:creater 8rdf:resource=“ 9 Karin Homepage ece 720, winter ‘1232

of 41 RDF running example – after 3 rd modification line 6: rdf:type – indication that Karin’s homepage is a personal document, which is represented as the name (vocabulary is in ece 720, winter ‘1233

of 41 RDF XML-based syntax: forth modification rdf:type can be removed and the rdf:Description can be replaced by an element whose name is the name corresponding to the value of the removed rdf:type property ece 720, winter ‘1234

of 41 RDF running example – after 4 th modification 1 2 <rdf:RDF xml:base= 3 xmlns:cs= 4 xmlns:rdf= 5 xmlns:md= 6 7 <md:creater 8rdf:resource=“ 9 Karin Homepage ece 720, winter ‘1235

of 41 RDF XML-based syntax: fifth modification rdf:datatype is an attribute of a property element and assumes as value an XML Schema datatype ece 720, winter ‘1236

of 41 RDF running example – after 5 th modification 1 2 <rdf:RDF xml:base= 3 xmlns:cs= 4 xmlns:rdf= 5 xmlns:md= 6 7 <md:creater 8rdf:resource=“ 9 Karin Homepage 10 <md:date 11 rdf:datatype=“ ece 720, winter ‘1237

of 41 RDF XML-based syntax: reification to address needs of representing information about RDF statements themselves a description of a statement using RDF built-in vocabulary is called a reification of the statements ece 720, winter ‘1238

of 41 RDF XML-based syntax: reification rdf:Statement is a type, and there are the properties rdf:subject, rdf:predicate, and rdf:object ece 720, winter ‘1239

of 41 RDF XML-based syntax: reification example DocR20301 was created by AuthorR ( Sam says that DocR20301 was created by AuthorR ??? ece 720, winter ‘1240

of 41 RDF XML-based syntax: reification example <rdf:RDF xmlns:rdf=" xmlns:my=" <rdf:type resource=" /> Sam ece 720, winter ‘1241