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.

Slides:



Advertisements
Similar presentations
UKOLN, University of Bath
Advertisements

CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
RDF Schemata (with apologies to the W3C, the plural is not ‘schemas’) CSCI 7818 – Web Technologies 14 November 2001 Van Lepthien.
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.
Developing a Metadata Exchange Format for Mathematical Literature David Ruddy Project Euclid Cornell University Library DML 2010 Paris 7 July 2010.
RDF – RESOURCE DESCRIPTION FRAMEWORK Antonio Bucchiarone FBK-IRST Trento, Italy 20 Novembre 2009.
Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Kim
RDF Tutorial.
Quratulain Rajput Faculty of Computer Science, IBA Spring2013
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.
The Semantic Web Resource Description Framework (RDF) Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh.
RDF Kitty Turner. Current Situation there is hardly any metadata on the Web search engine sites do the equivalent of going through a library, reading.
RDF: Data Description With HTML, the Web is for reading With XML, the Web is for processing Necessary to know  who wrote this?  who owns it?  who authorised.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
Resource Description Framework Building the Semantic Web CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
The RDF meta model: a closer look Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations.
Resource Description Framework ( RDF ) Xinxia An.
Resource Description Framework (RDF) Lecture # 6 Faculty of Computer Science, IBA.
UKOLUG - July Metadata for the Web RDF and the Dublin Core Andy Powell UKOLN, University of Bath UKOLN.
Metadata Standards and Applications 4. Metadata Syntaxes and Containers.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
8/28/97Organization of Information in Collections Introduction to Description: Dublin Core and History University of California, Berkeley School of Information.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
RDF (Resource Description Framework). 2 Table of Contents  Introduction  Basic RDF –Basic RDF Model –Basic Syntax  Containers  Statements about Statements.
Guidance on expressing the Dublin Core within the Resource Description Framework(RDF) Eric Miller, Paul Miller, Dan Brickley Dublin Core Metadata Initiative.
Resource Description Framework (RDF) Presented by: Jonathan Catlett.
RDF – RESOURCE DESCRIPTION FRAMEWORK Antonio Bucchiarone FBK-IRST Trento, Italy 01Dicembre 2009.
Of 41 lecture 4: rdf – basics and language. of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter.
An OO schema language for XML SOX W3C Note 30 July 1999.
RDF(Resource Description Framework) 연세대학교 이승익. MOTIVATION The Right Way to Find Things »Scenario 1: The Library »Scenario 2: The Video Store »Scenario.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
Internet Technologies1 RDF These slides were built using modified examples from “XML How To Program” by Deitel, Deitel, Nieto, Lin and Sadhu. The slides.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
Practical RDF Ch.6 Creating an RDF Vocabulary DongHyuk Im SNU OOPSLA Lab. Shelley Powers, O’Reilly August 19, 2004.
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,
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.
Creating a Semantic Web with Linked Data Todd King.
Representing data with XML SE-2030 Dr. Mark L. Hornick 1.
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:
Practical RDF Chapter 4. Specialized RDF Relationships: Reification, Containers, and Collections Shelley Powers, O’Reilly SNU IDB Lab. Hyewon Lim.
Motivation Dynamically identify and understand information sources Provide interoperability between agents in a semantic manner Enable distributed extensible.
Silterra, April 2004 RDF, RSS and all that THREADING THE RDF MAZE.
Knowledge Technologies Manolis Koubarakis 1 Some Other Useful Features of RDF.
Current initiatives in developing library linked data Gordon Dunsire Presented at the Cataloguing and Indexing Group Scotland seminar “Linked data and.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Other RDF Capabilities. Exercise: Write the following information into a set of statements (triples) and then draw them into and RDF graph The article.
Linked Data & Semantic Web Technology The Semantic Web Part 5. Resource Description Framework (2) Dr. Myungjin Lee.
XML Namespaces In this first lesson XML Namespaces, you will learn to:
Semantic Web In Depth Resource Description Framework Dr Nicholas Gibbins –
Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.
Service-Oriented Computing: Semantics, Processes, Agents
Introduction to Persistent Identifiers
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
Namespace Review 21-Nov-18.
Namespace Review 29-Dec-18.
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Resource Description Framework (RDF)
Namespace Review 14-Oct-19.
Presentation transcript:

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  6. Reified Statements

3 Basic of RDF  The triples of RDF consist of the three parts of the graph: the resource, the property, and the property value.  Constants (String values) may be included; they are called literals.  A relationship between a resource and a literal is expressed by a statement, which connects a subject with an object via a predicate

4 Basic of RDF  Ex  The author of this book is Johan Hjelm Subject (Resource) This book Predicate (Property) Author Object expresses (Property value, Literal) Johan Hjelm

5 Basic of RDF  The difference from traditional predicate logic is that the syntax of RDF is declared in the RDF Schema, which means it is specific to the application instead of general, like predicate logic.  The RDF Schema is used to define the set of resource and literal values. It creates the structure which you later fill with your description.

6 Example of RDF  Here is simple RDF graph: – -> Creator -> Johan Hjelmhttp:// –Creator of is Johan Hjelmhttp://

7 Example of RDF  We might also want to make clear that we meant creator in some special, well-defined sense, by using a special element, dc:Creator (as opposed to biblical:Creator, for instance).  Of course, then we would have to declare where the definition of that special element came from.  This is done using XML namespaces in the XML encoding of the RDF graph.

8 Example of RDF 

9 Example of RDF  –The XML declaration shows that this is XML, and declares which version it is.  <rdf:RDF xmlns:rdf=“ –The rdf element begins here: It encapsulates the actual statement and is followed by the namespace declaration. It also the RDF namespace (i.e., where to find out what all tags prefixed with rdf: mean)

10 Example of RDF  Xmlns:dc=“ –The second namespace declaration declares the Dublin Core namespace, here prefixed with dc:. Both namespace declarations are attributes on the rdf element.  –The rdf:Description elements declares which resource the statement is about.

11 Example of RDF  –The dc:Creator element contains the value of the dc:Creator property. –There can be more properties for the same resource.

12 How XML Namespaces Work  XML namespaces identify a set of element names by using prefixes in the RDF code and declaring the namespace in the head of the document.  A namespaces is declared using a family of reserved attributes. Such an attribute’s name must either be xmlns or have xmlns: as a prefix (these two are reserved, but you can use any other prefix for your namespaces).

13 The Abbreviated RDF Syntax  about=“ > johanhjelm.com  And the abbreviated syntax looks like this: 

14 RDF Resource Collections  Bag is an unordered list of resource (URIs) or atomic values (literals, i.e., strings). It is used to declare that a property has multiple values; the order of the values does not matter, and there can be duplicates of resources and duplicate values in literals.

15 RDF Resource Collections  Sequence is an ordered list of resources or atomic values (literals). It works just like any numbered list: the order is significant. It is still possible to have duplicates of the same value, however. The Sequence is used to declare that a property has multiple values.

16 RDF Resource Collections  Alternative is a list of resources or values that represent possible alternatives for the (single) value of a property. An application using a property whose value is an Alternative collection is aware that it can choose any one of the items in the list as appropriate.

17 Reified Statements  There is a mechanism in RDF to make statements about statements (“he said that she said”). In philosophy, this is called a reified statement.

18 Reified Statements  xmlns=“ xmlns:rdf=“ xmlns:dc=“ xmlns:l=“  The page Jan97.html in the site has a Dublin Core Subject that is Library Science, 020 according to the Dewey Decimal Codewww.Webnut.net

19 Reified Statements  The different namespaces make the elements unique, using the namespace mechanism. Each set of elements-the vocabulary- has to be described by a schema, which contains more information than what is available in the DTD.  The RDF Schema language describes the parameters of the elements, but the formal description of data types has to be done in the XML Schema language, if you want to do it at the same level as data types I programming languages.

20 Reified Statements  To further illustrate how to use aggregates, consider an example of a document with two authors specified alphabetically, a title specified in two different languages, and having two equivalent locations on the Web:  Mary Andrew Jacky Crystal

21 Reified Statements  The Coolest Web Page I1 Pagio di Web Fuba