Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Semantic Web Resource Description Framework (RDF) Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh.

Similar presentations


Presentation on theme: "The Semantic Web Resource Description Framework (RDF) Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh."— Presentation transcript:

1 The Semantic Web Resource Description Framework (RDF) Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh spring@imap.pitt.edu http://www.sis.pitt.edu/~spring

2 Overview The Big Picture Pieces One future The Basics An RDF Description An RDF Schema

3 The Big Picture The “semantic web” is a transformation of the WWW into one that might be: Better organized Traversed by agents on our behalf To accomplish this goal, mechanisms are needed that allow us to understand what objects exist and how they are related RDF with all of its component parts – which don’t exist as yet – provides one means for building the “semantic web” The RDF Model and Syntax and The RDF Schema Specification are standards that define how to construct RDF Descriptions and RDF Schema

4 Descriptions and Schema RDF is one partial solution for the semantic web. Some have criticized it as being too complex and others have criticized it as being too simplistic. The fact that there are a number of pieces, many of which have not yet been defined confuses people. Simply put, RDF consists of: Descriptions of resources Schema that define the descriptions and potentially relate them to other schema Inference engines that know how to extract meaning from descriptions and schema

5 Schema and Schema Namespaces and schema can be confusing. Keep the following in mind: Under XML, a “schema” is used to define the model of a class of documents. Schema are powerful modeling tools in that they provide for inheritance, modularity, and scoping through the use of namespaces. A namespace simply defines the scope and qualification of XML elements from a schema One XML schema defines the elements that may appear in a documents that defines descriptions. The resulting document is an RDF schema. When an XML document is described, it will use elements from a particular RDF schema

6 A Mouthful of Schema The RDF Model and Syntax Specification says a description may be specified in any form, but use of XML is preferred. The RDF Schema elements are defined in an XML Schema The resource description is a set of elements from a given RDF Schema RDF Reference Schema XML Schema XML Reference Schema One Document + Description RDF Schema C RDF Schema A RDF Schema B

7 One Possible Future (Part 1) Consider a set of web servers at a University Each server has a number of documents Each document is described by a description All of the descriptions are defined in terms of a small set of RDF Schema The RDF Schema are all maintained on a schema server The descriptions of all the documents, including their location are stored on another server optimized for rapid lookups

8 The Semantic Servers RDF Schema RDF Schema Server Web Server Description Server Document or Service RDF Schema

9 One Possible Future (Part 2) Consider an agent looking for papers on “RDF” by a particular author, “Jones” The agent begins with the attribute value pairs: Author = Jones Topic = RDF The agent checks a known RDF Schema Server and discovers there are alternative attributes which mean the same thing as Author and Topic. The agent composes queries using the appropriate attributes for the various Description servers. The description servers return hits and their location on various web servers. The agent reports to its owner that there are “x” documents about RDF by Jones.

10 One Possible Future (Part 2) Consider an agent looking to make travel arrangements A known schema server is consulted with a request for the location of travel markets where “travel” is an accepted keyword The schema server returns the names of the description servers that provide travel services The agent queries these description servers for travel services that speak the reservation language – interface known by the agent The agent then negotiates a reservation

11 Building a Description A simple description – four property/value pairs: <rd:RDF xmlns:rd=“http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:dc=“http://purl.org/metadata/dublin_core#”> How to Cook 2001-3-27 MBSpring University of Pittsburgh The namespace for properties is the dublin core The description might be replace meta tags in an HTML document

12 Types of Descriptions The syntax provides for a wide number of variations. Of these variations, containers and nesting are worthy of further elaboration Nesting A description is about a resource A property describes the resource via a value which is a literal If the value if a resource, descriptions are nested Containers When values are multiple, containers and elements are used for the values There are three types of containers – bags, sequences and alternatives

13 Nested Description A nested description is used when the value of a property is a resource <rd:RDF xmlns:rd=“http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:dc=“http://purl.org/metadata/dublin_core#”> How to Cook mailto:spring@pitt.edu Michael B. Spring

14 Container A container is used for multi valued properties <rd:RDF xmlns:rd=“http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:dc=“http://purl.org/metadata/dublin_core#”> Spring PrimaVera MBSpring JMSpring

15 Building a Simple Schema <rdf:RDF xmlns:dc="“ xmlns:rdf="http://www.w3.org/TR/REC-rdf-syntax#“ xmlns:rdfs=http://www.w3.org/TR/WD-rdf-schema#>http://www.w3.org/TR/WD-rdf-schema# Title The name given to the resource Author/Creator The person or organization who created it ………

16 A Schema with Types <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> The class of people. Social Security Number


Download ppt "The Semantic Web Resource Description Framework (RDF) Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh."

Similar presentations


Ads by Google