1 / 16

Chapter 3 The Semantic Web Part-2

Chapter 3 The Semantic Web Part-2. What is RDF?. RDF stands for R esource D escription F ramework RDF is a framework for describing resources on the web RDF is designed to be read and understood by computers. What is RDF?. RDF is not designed for being displayed to people

lev
Download Presentation

Chapter 3 The Semantic Web Part-2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 3The Semantic WebPart-2

  2. What is RDF? • RDF stands for Resource Description Framework • RDF is a framework for describing resources on the web • RDF is designed to be read and understood by computers

  3. What is RDF? • RDF is not designed for being displayed to people • RDF is written in XML • RDF is a part of the W3C's Semantic Web Activity • RDF is a W3C Recommendation

  4. RDF document <?xml version="1.0"?><rdf:RDFxmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"xmlns:si="http://www.w3schools.com/rdf/"><rdf:Descriptionrdf:about="http://www.w3schools.com">  <si:title>W3Schools</si:title>  <si:author>Jan EgilRefsnes</si:author></rdf:Description></rdf:RDF>

  5. RDF- Examples of use • Describing properties for shopping items, such as price and availability • Describing time schedules for web events • Describing information about web pages (content, author, created and modified date) • Describing content and rating for web pictures • Describing content for search engines • Describing electronic libraries

  6. RDF Resource, Property, and Property value RDF identifies things using Web identifiers (URIs), and describes resources with properties and property values.

  7. Explanation of Resource, Property, and Property value • A Resource is anything that can have a URI, such as "http://www.w3schools.com/rdf" • A Property is a Resource that has a name, such as "author" or "homepage" • A Property value is the value of a Property, such as "Jan EgilRefsnes" or http://www.w3schools.com.

  8. Example <?xml version="1.0"?><RDF>  <Description about="http://www.w3schools.com/rdf">    <author>Jan EgilRefsnes</author>    <homepage>http://www.w3schools.com</homepage>  </Description></RDF>

  9. RDF Statement The combination of a Resource, a Property, and a Property value forms a Statement (known as the subject, predicate and object of a Statement).

  10. Example Statement: "The author of http://www.w3schools.com/rdf is Jan EgilRefsnes". • Subject: http://www.w3schools.com/rdf • Predicate: author • Object: Jan EgilRefsnes

  11. RDF Graph • The underlying structure of any expression in RDF is a collection of triples, each consisting of a subject, a predicate and an object. A set of such triples is called an RDF graph • The direction of the arc is significant: it always points toward the object.

  12. RDF Graph Example http://www.w3schools.com/rdf Jan EgilRefsnes author

  13. RDF Graph

  14. Use of RDF to Describe This Book Using a graph to represent metadata

  15. Metadata graph with URI references

  16. Fragment of an RDF

More Related