1 / 33

An Introduction to RDF:

An Introduction to RDF:. The R esource D escription F ramework Ian GRAHAM Centre for Academic Technology Tel: 978-4548 Email: <ian.graham@utoronto.ca> Talk: http://www.utoronto.ca/ian/talks/. Overview. The problems and issues Resources and Metadata Modularizability

ownah
Télécharger la présentation

An Introduction to RDF:

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. An Introduction to RDF: The Resource Description Framework Ian GRAHAM Centre for Academic Technology Tel: 978-4548 Email: <ian.graham@utoronto.ca> Talk: http://www.utoronto.ca/ian/talks/

  2. Overview • The problems and issues • Resources and Metadata • Modularizability • Example: The Dublin Core Set • Expression: RDF and XML • Examples This talk is based on material presented at WWW8 by Carl Lagoze, Eric Miller and Stu Weibel

  3. The Problems: • Too much Web information • around 1,000,000,000 (1109) resources • Many different types of resources • text, images, graphics, • audio, video, multimedia, • databases, Web applications, … • resource metadata (pointers to media servers)

  4. The Problems (cont.): • Information not indexable • No common “scheme” for doing so • Short-lived, dynamic resources • Differing relationships between authors, publishers, info intermediaries, users • Each community uses their own approach

  5. The Problems (cont.): • Information not shareable • Difficult to share information • Difficult to share information about information • no common cataloging schemes

  6. Talk outline: • The problems and issues • Resources and Metadata • Modularizability • Example: The Dublin Core Set • Expression: RDF and XML • Examples

  7. Main Issues: • Metadata • Information about information • Structured data about data • Many types/forms of metadata, dependent on role:

  8. Types of Metadata: Web Resource discovery (Intellectual) property rights management Document management administration Archival information / status Security & User authentication Content ratings (PICS) Process description & control Product & Services Descriptions Database / data schemas

  9. Second Issue: • Language for expressing metadata. • Must be: • universal (so all can understand) • flexible (to incorporate different types) • extensible (flexible to custom types) • simple (to encourage adoption) • modular (so that schemes can be mixed, extended)

  10. Third Issue: • Shared Metadata Architectures: • To share names, and meanings (shared semantics) • Example: Dublin Core Metadata

  11. Example : Dublin Core • Not a weapons system from Star Trek • Simple semantics for describing resources -- I.e., metadata • simple, intuitive, • cross-disciplinary, flexible

  12. Title Author/creator Subject/keywords Description Publisher Other Contributor Date Resource type Format Resource Identifier Source Language Relation Coverage Rights management DC Element Set

  13. Extensibility • Substructure to define more detail Creator Contact Info Given name Phone Surname Fax Affiliation Email

  14. Use of Extensibility: • DC: a high-level framework • Describe features common to “all” resources • Extensible to domain-specific schemes • Refine semantics of keywords • Add special vocabularies for data (e.g., LC), or for encodings (e.g., 7/11/99 or 11/7/99)

  15. Other Metadata Models • Dublin core • vCard (business-card data) • vCalendar (calendar/scheduling data) • LCNA (Library of Congress Name Authority File)

  16. Describing Resources • Many things to describe • Need flexible scheme that supports • Different metadata schemes … • at the same time • Express in some useful syntax • (e.g., XML)

  17. Talk Outline • The problems and issues • Resources and Metadata • Modularizability • Example: The Dublin Core Set • Expression: RDF and XML • Examples

  18. RDF • Resource Description Framework • Machine understandable format • Framework for many classes of resource descriptions • catalog, accessibility, Intellectual property rights

  19. RDF Components • Model for the framework (graphical): • Resources • Properties • Values • Statements • Containers • Syntax for interchange (XML dialect)

  20. Simple RDF Example Resource Property Value http://foo.org/g dc:Title “RDF talk” dc:Creator “Ian Graham”

  21. Expression as XML http://foo.org/g <RDF xmlns=“http://www.w3.org/TR/ … ” xmlns:dc=“http://purl.org/dc/…” > <Description about=“http://foo.org/g”> <dc:Title> RDF Talk </dc:Title> <dc:Creator>Ian Graham</dc:Creator> </Description> </RDF> dc:Title dc:Creator “RDF talk” “Ian Graham”

  22. Less Simple RDF Example http://foo.org/g dc:Title “RDF talk” dc:Creator “me” bib:Aff http://utoronto.ca bib:Email bib:Name “ian@goo.org” “Ian Graham”

  23. Written in XML as: <RDF xmlns=“http://www.w3.org/TR/..” xmlns:dc=“http://purl.org/dc/…” xmlns:bib=http://www.bibby…” > <Description about=“http://foo.org/g” > <dc:Title> RDF Talk </dc:Title> <dc:Creator> <Description> <bib:Name>Ian Graham </bib:Name> <bib:Email:> ian@goo.org </bib:Email> <bib:Aff resource=“http://utoronto.ca” /> </Description> </dc:Creator> </Description> </RDF> http://foo.org/g dc:Title “RDF talk” dc:Creator “me” http://utoronto.ca bib:Aff bib:Email bib:Name “ian@goo.org” “Ian Graham”

  24. Other Important Concepts • Bags -- groups of things • Sequences -- ordered group of things • Alternates -- Alternate things/values • First value is the default • Must be at least one

  25. Bag: index categories<ca:Categories><Bag> <li>Category 1</li> <li>Cat. 2</li> <li>Bleel </li> </Bag></ca:Categories> Seq: Sequence<ca:Categories><Seq><li>Category 1</li> <li>Cat. 2</li> <li>Bleel </li></Seq></ca:Categories> Bags, Sequences

  26. Talk Outline • The problems and issues • Resources and Metadata • Modularizability • Example: The Dublin Core Set • Expression: RDF and XML • Examples

  27. Netscape Open Directory • http://www.dmoz.org • Directory of Web-accessible resources • Human-maintained (people add resources • Uses RDF to: • Describe category structure • Describe resources in each category

  28. <RDF xmlns:r="http://www.w3.org/TR/RDF/" xmlns:d="http://purl.org/dc/elements/1.0/" xmlns="http://directory.mozilla.org/rdf"> <Topic r:id="Top"> <tag catid="1"/> <d:Title>Top</d:Title> <narrow r:resource="Top/Arts"/> .... </Topic> <Topic r:id="Top/Arts"> <tag catid="2"/> <d:Title>Arts</d:Title> <narrow r:resource="Top/Arts/Books"/> ... <narrow r:resource="Top/Arts/Artists"/> <symbolic r:resource="Typography:Top/Computers/Fonts"/> </Topic> .... </RDF> Category Structure

  29. <RDF xmlns:r="http://www.w3.org/TR/RDF/" xmlns:d="http://purl.org/dc/elements/1.0/" xmlns="http://directory.mozilla.org/rdf"> ... <Topic r:id="Top/Arts"> <tag catid="2"/> <d:Title>Arts</d:Title> <link r:resource="http://www3...ca/…./file.html"/> </Topic> <ExternalPage about="http://www…ca/file .html"> <d:Title>John phillips Blown glass</d:Title> <d:Description>A small display of glass by John Phillips</d:Description> </ExternalPage> <Topic r:id="Top/Computers"> <tag catid="4"/> <d:Title>Computers</d:Title> <link r:resource="http://www.cs.tcd.ie/FME/"/> <link r:resource=”http://foo.asdfsa….."/> </Topic> </RDF> Resources

  30. 2. Netscape Navigator 5 • Uses RDF to describedata used in browser • (mailbox contents, directory contents) • As a way of adding dynamic data access

  31. <rdf:RDF xmlns:rdf="http://www.w3.org/TR/WD-rdf-syntax#" xmlns:sm="http://www.mozilla.org/smart-mail/schema#"> <rdf:Description about="http://www.mozilla.org/smart-mail/….”> <sm:message id="4025293"> <sm:recipient>wat@netscape.com</sm:recipient> <sm:sender>helga@netcenter.net</sm:sender> <sm:received-by>wing.mcom.com</sm:received-by> <sm:subject>Recipe for Yam Soup!</sm:subject> <sm:body> http://www.mozilla.org/smart-mail/get-body.cgi?... </sm:body> </sm:message> <sm:message id="4025294"> <sm:recipient> wat@netscape.com </sm:recipient> <sm:sender>w2@pbox.ohio-state.edu</sm:sender> <sm:received-by>x-wing.mcom.com</sm:received-by> <sm:subject>We won our ultimate game</sm:subject> <sm:body> http://www.mozilla.org/smart-mail/get-body.cgi?... </sm:body> </sm:message> </rdf:Description> </rdf:RDF> Mailbox Entries

  32. Some References: • RDF • http://www.w3.org/RDF/ (Overview) • http://www.w3.org/Press/1999/RDF-REC (RDF model and syntax spec.) • http://www.w3.org/TR/PR-rdf-schema/ (RDF schema specification) • Dublin Core • http://purl.org/dc/ • ftp://ftp.ietf.org/rfc/rfc2413.txt

  33. An Introduction to RDF The Resource Description Framework Ian GRAHAM Centre for Academic Technology Tel: 978-4548 Email: <ian.graham@utoronto.ca> Talk: http://www.utoronto.ca/ian/talks/

More Related