Internet Technologies1 RDF These slides were built using modified examples from “XML How To Program” by Deitel, Deitel, Nieto, Lin and Sadhu. The slides.

Slides:



Advertisements
Similar presentations
LIS650lecture 1 XHTML 1.0 strict Thomas Krichel
Advertisements

A centre of expertise in digital information management Approaches To The Validation Of Dublin Core Metadata Embedded In (X)HTML Documents Background The.
Metadata vocabularies and ontologies Dr. Manjula Patel Technical Research and Development
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Processing of structured documents Part 8. 2 Resource Description Framework (RDF) zWeb was originally built for human consumption yalthough everything.
The Semantic Web – WEEK 4: RDF
Introduction to RDF Based on tutorial at
XML Technology in E-Commerce
CS570 Artificial Intelligence Semantic Web & Ontology 2
RDF Tutorial.
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.
Internet Technologies1 RDF Bibliography: “XML How To Program” by Deitel, Deitel, Nieto, Lin and Sadhu. “XML Bible” by Elliotte Rusty Harold. HP’s Jena.
Internet Technologies 1 Master of Information System Management Internet Technologies The Resource Description Framework (RDF)
1 CS 502: Computing Methods for Digital Libraries Lecture 17 Descriptive Metadata: Dublin Core.
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.
Module 2b: Modeling Information Objects and Relationships IMT530: Organization of Information Resources Winter, 2007 Michael Crandall.
The Semantic Web An Emerging Successor of the Web By Tim Berners-Lee, James Hendler and Ora Lassila Presentedby Veera Chandra Sekhar.
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.
1 Networks and the Internet A network is a structure linking computers together for the purpose of sharing resources such as printers and files Users typically.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
1 © Netskills Quality Internet Training, University of Newcastle Metadata Explained © Netskills, Quality Internet Training.
8/28/97Organization of Information in Collections Introduction to Description: Dublin Core and History University of California, Berkeley School of Information.
Practical RDF Chapter 1. RDF: An Introduction
1cs The Need “Most of the Web's content today is designed for humans to read, not for computer programs to manipulate meaningfully.” Berners-Lee,
An Introduction to the Resource Description Framework Eric Miller Online Computer Library Center, Inc. Office of Research Dublin, Ohio 元智資工所 系統實驗室 楊錫謦.
The Semantic Web Service Shuying Wang Outline Semantic Web vision Core technologies XML, RDF, Ontology, Agent… Web services DAML-S.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
Logics for Data and Knowledge Representation
Integrating Live Plant Images with Other Types of Biodiversity Records Steve Baskauf Vanderbilt Dept. of Biological Sciences
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
RDF (Resource Description Framework). 2 Table of Contents  Introduction  Basic RDF –Basic RDF Model –Basic Syntax  Containers  Statements about Statements.
Resource Description Framework (RDF) Presented by: Jonathan Catlett.
Of 41 lecture 4: rdf – basics and language. of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter.
Semantic Web - an introduction By Daniel Wu (danielwujr)
1 Metadata –Information about information – Different objects, different forms – e.g. Library catalogue record Property:Value: Author Ian Beardwell Publisher.
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.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
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.
The future of the Web: Semantic Web 9/30/2004 Xiangming Mu.
The physical parts of a computer are called hardware.
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.
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
Introduction to Markup Languages January 31, 2002.
Strategies for subject navigation of linked Web sites using RDF topic maps Carol Jean Godby Devon Smith OCLC Online Computer Library Center Knowledge Technologies.
The RDF meta model Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations of XML compared.
Metadata : an overview XML and Educational Metadata, SBU, London, 10 July 2001 Pete Johnston UKOLN, University of Bath Bath, BA2 7AY UKOLN is supported.
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.
THE BIBFRAME EDITOR AND THE LC PILOT Module 3 – Unit 1 The Semantic Web and Linked Data : a Recap of the Key Concepts Library of Congress BIBFRAME Pilot.
1cs The Need “Most of the Web's content today is designed for humans to read, not for computer programs to manipulate meaningfully.” Berners-Lee,
Doc.: IEEE /0169r0 Submission Joe Kwak (InterDigital) Slide 1 November 2010 Slide 1 Overview of Resource Description Framework (RFD/XML) Date:
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lotzi Bölöni.
The Semantic Web. What is the Semantic Web? The Semantic Web is an extension of the current Web in which information is given well-defined meaning, enabling.
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.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
Other RDF Capabilities. Exercise: Write the following information into a set of statements (triples) and then draw them into and RDF graph The article.
The ___ is a global network of computer networks Internet.
Linked Data Publishing on the Semantic Web Dr Nicholas Gibbins
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
XML QUESTIONS AND ANSWERS
RDF For Semantic Web Dhaval Patel 2nd Year Student School of IT
Presentation transcript:

Internet Technologies1 RDF These slides were built using modified examples from “XML How To Program” by Deitel, Deitel, Nieto, Lin and Sadhu. The slides also make use of material from “XML Bible” by Elliotte Rusty Harold. In what follows, a “resource” might be a web page, an element in a web page, a device, a person and more.

Internet Technologies2 RDF The Resource Description Framework (RDF) is a W3C recommendation for an XML encoding of metadata. A standard for encoding metadata is important for finding and describing resources. Card catalogs (with wooden drawers and index cards) have been used for years to record metadata about the collection of materials in the library. An RDF document or element makes statements about resources. A statement can be thought of as an ordered triple composed of three items: (resource, property-type, property-value)

Internet Technologies3 RDF (resource, property-type, property-value) It is required that each resource have a URI. urn:isbn: A property is a specific characteristic, attribute or relationship of a resource. Each property has a specific meaning that can be identified by the property’s name and the associated schema. The schema must actually be pointed to by the property’s namespace. The schema describes the values or value ranges that are permitted for the property.

Internet Technologies4 <rdf:RDF xmlns:rdf = " xmlns:dc = " Deitel and Associates, Inc. This is the home page of Deitel and Associates, Inc text/html en Deitel and Associates The root element of an RDF document is RDF. Each property of the resource being described is a child element of the Description element. The content of the child is the value of the property. Namespaces are used to distinguish between RDF elements and elements in property types and values. Describing a web site

Internet Technologies5 The Dublin Core A collection of elements designed to provide a similar structure as that provided by a card catalog. For example, the following are elements defined in the Dublin Core namespace: TITLE The name given to the resource CREATOR The person or organization that created … SUBJECT The topic of the resource… DESCRIPTION… : In the near future, this Dublin Core “schema” is likely to be encoded with a formal syntax. Perhaps this syntax will be RDF.

Internet Technologies6 <rdf:RDF xmlns:rdf = " xmlns:dc = " Deitel and Associates, Inc. This is the home page of Deitel and Associates, Inc text/html en Deitel and Associates A single RDF element can contain any number of Description elements. A Description element can state more than one property about a resource. Some properties may be resource valued. For example, suppose Deitel and Associates has an address…

Internet Technologies7 <rdf:RDF xmlns:rdf = " xmlns:dc = " Deitel and Associates, Inc. This is the home page of Deitel and Associates, Inc text/html en Deitel and Associates The Creator becomes a resource rather than a literal. This is a resource valued property. Another way to say the same thing is with a resource attribute…

Internet Technologies8 <rdf:RDF xmlns:rdf = " xmlns:dc = " Deitel and Associates, Inc. This is the home page of Deitel and Associates, Inc text/html en Deitel and Associates

Internet Technologies9 RDF Containers An RDF element may describe a resource with multiple properties of the same type. Perhaps a book has several authors or a web page may be found at several sites. RDF defines three types of container objects: Bag – a group of unorderd properties – use li. Seq – a sequence (ordered list) of properties Alt – a list of alternative properties from which to choose a single one Let’s look at a more involved example from Deitel and Deitel…

Internet Technologies10 <rdf:RDF xmlns:rdf = " xmlns:dc = " Home page of Deitel products Deitel and Associates, Inc. Statements can be made about a container as a whole and so we give the container an ID.

Internet Technologies11 About our Products The aboutEach attribute applies to each element in the container.

Internet Technologies12 Announcements, Oppurtunities and internships at Deitel Associates All about us Books, Multimedia Cyber Classrooms and Complete Training Courses <rdf:Description about = " Corporate Training Courses

Internet Technologies13 <rdf:Description about = " Looking for Training Contractors <rdf:Description about = " Internships at Deitel and Associates, Inc. Introduction to Deitel and Associates, Inc. Our location and how to get there

Internet Technologies14 The Semantic Web By augmenting web pages with data directed at computers and by adding documents solely for computers, we will transform the web into the Semantic Web. Intuitive software will be developed that will allow anyone to create Semantic Web Pages. For the semantic web to function, computers must have access to structured collections of information and sets of inference rules that can be used to conduct automated reasoning. XML has no built-in mechanism to convey the meaning of the user’s new tags to other users. These notes are from an article entitled “The Semantic Web” by Tim Berners-Lee, James Hendler and Ora Lassila appearing in Scientific American, May 2001

Internet Technologies15 The Semantic Web The challenge of the Semantic Web is to provide a language that expresses both data and rules for reasoning about the data and that allows rules from an existing knowledge-representation system to be exported unto the Web. Ontologies: Collections of statements written in a language such as RDF that define the relations between concepts and specify logical rules for reasoning about them. Computers will “understand” the meaning of semantic data on a web page by following links to specified ontologies. Consider the statement “a hex-head bolt is a type of machine bolt”. We could encode this in RDF. When writing code against traditional XML data, the programmer must know what the the document author uses each tag for. Meaning is expressed by RDF, which encodes it in a set of triples.

Internet Technologies16 The Semantic Web An RDF document makes assertions that particular things (people, web pages, or whatever) have properties (such as “is sister of”, “is the author of”) with certain values (another person, another Web page). We can remove ambiguity by associating each of the three parts with a URI. For example: “(filed 5 in database A) (is a field of type) (zip code)” could be replaced with three URI’s. An ontology is a document or file that formally defines the relations among terms. An ontology may express a rule “If a city code is associated with a state code, and an address uses that city code, then that address has the associated state code.” A program can then draw conclusions. The meaning of terms or XML codes can be defined by pointers from the page to an ontology.

Internet Technologies17 The Semantic Web Many automated web based services already exist without semantics, but other programs such as agents have no way to locate one that will perform a specific function. Service Discovery will happen only when there is a common language to describe a service in a way that lets other agents “understand” both the function offered and how to take advantage of it. Services can advertise their functions in directories analogous to the Yellow Pages. Devices can advertise their abilities with RDF in the form of CC/PP…

Internet Technologies18 What is CC/PP? A composite capability/preference profile is a collection of information which describes the capabilities, hardware, system software and applications used by someone accessing the web. Information might include: Preferred language (Spanish, French, etc.) Sound (on/off) Images (on/off) Class of device (phone, PC, printer, etc.) Screen size Available bandwidth Version of HTML supported, and so on.

Internet Technologies19 Composite Capability/Preference Profiles (CC/PP) DEVICE PROFILE CC/PP RDF XML CC/PP provides the equivalent of database fields and associated model for formalizing the device profiles RDF is language which provides a standard way for using XML to represent metadata in the form of properties and relationships of items on the Web. The device profile and user preferences might be stored in a CC/PP repository. CC/PP is in turn an RDF application.

Internet Technologies20 The location of the device profile is sent with a request for a Web page. The CC/PP data is accessed and on the basis of the profile, a Web server can choose the right content. This might be a certain XHTML file or perhaps a suitable document would be generated on the fly. A document on the server may refer to its own document profile-describing the required capabilities of its client. The server might match and send or generate and send. Composite Capability/Preference Profiles (CC/PP) An example:

Internet Technologies21 Each variant of the document has a document profile describing the browser support it needs to display it DEVICE PROFILES DOCUMENT PROFILES NEGOTIATE CORRECT CONTENT FOR DEVICES If none of the document variants are suitable, existing document may be transformed by style sheet or tool for the purpose, or new document generated DEVICES RECEIVE RIGHT MARK-UP

Internet Technologies22 The CC/PP working group was formed in August Its mission is to develop an RDF-based framework for the management of device profile information. Composite Capability/Preference Profiles (CC/PP)

Internet Technologies23 The resource description framework is a proposal for representing metadata in XML. Its intended applications include: Providing better search engine capabilities in resource discovery Cataloguing for describing the content and content relationships available at a particular Web site Allowing software agents to share and exchange data More on RDF The RDF data model is that of a directed edge labeled graph. Nodes are called resources and edge labels are called properties. RDF’s syntax is a convention for representing this model in XML.

Internet Technologies24 person name age Alan 42 This element describes a resource. We are describing two resources in this document with unique ID’s. Alan 42 An edge in RDF is called a statement. Four statements have been made. 1) resource 001 has property person whose value is resource ) resource 002 has property name with value Alan. 3) resource 002 has property age with value 42. 4) resource 002 has property with value

Internet Technologies25 What is a Resource? A resource can be anything that can have a Uniform Resource Identifier(URI). URIs are a superset of the more common Uniform Resource Locator (URLs), but They can also identify books, elements on a page, television shows, individual People, and more. Thus a resource might be An entire web site ( A single web page ( A specific HTML or XML element on a web page (identified with Xpointer) A book (urn:isbn: ) A

Internet Technologies26 RDF provides a model for describing resources Resources have properties (attributes or characteristics). RDF defines a resource as any object that is uniquely identifiable by a Uniform Resource Identifier (URI). The properties associated with resources are identified by property-types. Property-types have corresponding values. Property-types express the relationships of values associated with resources. Values may be atomic in nature (text strings, numbers, etc.) or other resources. A collection of properties that refer to the same resource is called a description. The RDF Data Model

Internet Technologies27 Resource 1 Resource 2 Resource 3 PropertyType1 PropertyType3 PropertyType 2PropertyType 4 “Atomic Value” RDF Description

Internet Technologies28 Consider the following statements: 1. “The author of Document 1 is John Smith” 2. “John Smith is the author of Document1” To humans, these statements convey the same meaning (that is, John Smith is the author of a particular document). To a machine, however, these are completely different strings. Whereas humans are extremely adept at extracting meaning from differing syntactic constructs, machines remain grossly inept. Using a triadic model of resources, property-types and corresponding values, RDF attempts to provide an unambiguous method of expressing semantics in a machine-readable encoding.

Internet Technologies29 Document 1 Author “John Smith” Resource Property Value

Internet Technologies30 Document 1 Author Resource Property Value Author_001 Affiliation Name “Home, Inc.” “John Smith” Each resource must have a unique identifier. Perhaps we want to keep information about the author.

Internet Technologies31 An example RDF document (DC is the Dublin Core namespace) John Smith Description keyword meaning resource A property value A property type

Internet Technologies32 RDF’s data model extends the graph model in several ways: 1) It has containers which can be bags (sets with duplicates) or sequences (lists). 2) It extends the model with higher order statements. The RDF syntax provides the author with the ability to say things like: John says that the of resources 002 is Here the resource is John, the property is “says”, and its value is another statement or The Library of Congress says resource X is authoritative.