rdf beyond rdf beyond outline outline
play

RDF Beyond RDF Beyond Outline Outline RDFa RDFa Microformat - PowerPoint PPT Presentation

RDF Beyond RDF Beyond Outline Outline RDFa RDFa Microformat Schema.org S h RDFa RDFa RDFa RDFa RDFa: A collection of attributes and processing p g rules for extending XHTML to support RDF. HTML contains structured data,


  1. RDF Beyond RDF Beyond

  2. Outline Outline • RDFa RDFa • Microformat • Schema.org S h

  3. RDFa RDFa

  4. RDFa RDFa • RDFa: A collection of attributes and processing p g rules for extending XHTML to support RDF. • HTML contains structured data, but not accessible to tools and applications accessible to tools and applications • RDFa is a specification for attributes to express structured data structured data • RDFa allows terms from multiple independently ‐ developed vocabularies to be freely intermixed • RDFa brings some part of XHTML machine processable

  5. RDFa examples RDFa examples <html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns com/foaf/0 1/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" > <head> <title>My home-page</title> <meta property="dc:creator" content="Mark Birbeck" /> <meta property dc:creator content Mark Birbeck /> <link rel="foaf:topic" href="http://www.formsPlayer.com/#us" /> </head> <body>...</body> </html>

  6. RDFa examples RDFa examples <html xmlns="http://www.w3.org/1999/xhtml" xmlns:cal="http://www w3 org/2002/12/cal/ical#" xmlns:cal="http://www.w3.org/2002/12/cal/ical#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > <head><title>Jo's Friends and Family Blog</title></head> <body> <p> <p> I'm holding <span property="cal:summary"> one last summer Barbecue </span>, on on <span property="cal:dtstart" content="2007-09-16T16:00:00-05:00" datatype="xsd:dateTime"> September 16th at 4pm </span>. </p> p </body> </html> Adding datatype Adding datatype

  7. RDFa examples RDFa examples <html xmlns="http://www.w3.org/1999/xhtml" xmlns:cal="http://www w3 org/2002/12/cal/ical#" xmlns:cal="http://www.w3.org/2002/12/cal/ical#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > <head><title>Jo's Friends and Family Blog</title></head> <body> <p typeof="cal:Vevent"> <p typeof cal:Vevent > I'm holding <span property="cal:summary"> one last summer Barbecue </span>, on on <span property="cal:dtstart" content="2007-09-16T16:00:00-05:00" datatype="xsd:dateTime"> September 16th at 4pm </span>. </p> p </body> </html> Adding typeof Adding typeof

  8. RDFa examples RDFa examples <html xmlns="http://www.w3.org/1999/xhtml" xmlns:biblio="http://example org/" xmlns:biblio="http://example.org/" xmlns:dc="http://purl.org/dc/elements/1.1/" > <head> <title>Books by Marco Pierre White</title> </head> </head> <body> I think White's book '<span about="urn:ISBN:0091808189" typeof="biblio:book" property="dc:title"> Canteen Cuisine Canteen Cuisine </span>' is well worth getting since although it's quite advanced stuff, he makes it pretty easy to follow. You might also like <span about="urn:ISBN:1596913614" typeof="biblio:book" property="dc:description"> p p y p White's autobiography </span>. </body> </html>

  9. RDFa RDFa • RDFa allows authors to mark up human ‐ RDFa allows authors to mark up human readable data with machine ‐ readable information for browsers and other information for browsers and other applications to interpret by using a few simple XHTML attributes XHTML attributes

  10. Use case Use case • Alice: a blogger who publishes a mix of professional Alice: a blogger who publishes a mix of professional and personal articles a http://example.com/alice All content on this site is licensed under <a href="http://creativecommons.org/licenses/by/3.0/"> a Creative Commons License </a>. All content on this site is licensed under <a rel=“kicense” href="http://creativecommons.org/licenses/by/3.0/"> a Creative Commons License </a>.

  11. Use Case Use Case <div xmlns:dc="http://purl org/dc/elements/1 1/"> <div xmlns:dc="http://purl.org/dc/elements/1.1/"> <h2 property="dc:title">The trouble with Bob</h2> <h3 property="dc:creator">Alice</h3> ... </div>

  12. Use Case Use Case <div xmlns:dc="http://purl.org/dc/elements/1.1/"> <div about="/alice/posts/trouble_with_bob"> <h2 property="dc:title">The trouble with Bob</h2> <h3 property="dc:creator">Alice</h3> ... </div> <div about="/alice/posts/jos_barbecue"> <h2 property="dc:title">Jo's Barbecue</h2> <h3 property="dc:creator">Eve</h3> ... </div> ... </div>

  13. Use Case Use Case <div typeof="foaf:Person" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <p property="foaf:name"> Alice Birpemswick </p> <p> Email: <a rel="foaf:mbox" href="mailto:alice@example.com">alice@example.com</a> </p> <p> Phone: <a rel="foaf:phone" href="tel:+1-617-555-7332">+1 617.555.7332</a> </p> </di > </div>

  14. Use Case <div xmlns:foaf="http://xmlns.com/foaf/0.1/" about="#me" rel="foaf:knows" > <ul> <li typeof="foaf:Person"> <a property="foaf:name" rel="foaf:homepage" href="http://example.com/bob/">Bob</a> </li> <li typeof="foaf:Person"> i <a property="foaf:name" rel="foaf:homepage" href="http://example.com/eve/">Eve</a> </li> <li typeof="foaf:Person"> <a property="foaf:name" rel="foaf:homepage" href="http://example.com/manu/">Manu</a> </li> </li> </ul> </div>

  15. MICROFORMAT MICROFORMAT

  16. Microformats Microformats • A way of thinking about data A way of thinking about data • Design principles for formats • Adapted to current behaviors and usage • Adapted to current behaviors and usage patterns • Highly correlated with semantic XHTML • Highly correlated with semantic XHTML • A set of simple open data format standards that are actively developing and implementing that are actively developing and implementing for more/better structured blogging and web microcontent publishing in general microcontent publishing in general

  17. Microformats are NOT Microformats are NOT • A new language g g • Infinitely extensible and open ‐ ended • An attempt to get everyone to change their behavior and rewrite their tools • A whole new approach that throws away what already works today already works today • A panacea for all taxonomies, ontologies, and other such abstractions • Defining the whole world, or even boiling the ocean

  18. Microformat principles Microformat principles • Solve a specific problem Solve a specific problem • Start as simple as possible • Design for humans first, machines second i f h fi hi d • Reuse building blocks from widely adopted standards • Modularity/embeddability y/ y • Enable and encourage decentralized development content services development, content, services

  19. Microformat Microformat • They use ‘span’ element because this is a They use span element because this is a basic, versatile, element that works almost everywhere on the web <p class="vcard">Hi, my name is <span class="fn">Jamie Jones</span> and I dig microformats!</p> • Provide their own vocabularies Provide their own vocabularies – hCard (your information) – XFN (your networks about friends and contacts) (y ) – hCalendar (events) – hReview (review movies, books, and more) ( )

  20. Examples Examples <div id="hcard-Ying-Ding" class="vcard"> <a class="url fn" href="http://info.slis.indiana.edu/~dingying/">Ying Ding</a> //i i i i / i i / i i / <div class="org">Indiana University</div> <a class="email" href="mailto:dingying@indiana.edu">dingying@indiana.edu</a> <div class="adr"> <div class="street-address">1320 E 10th</div> <span class="locality">Bloomington</span> < l "l lit ">Bl i t </ > , <span class="region">Indiana</span> , <span class="postal-code">47405</span> <span class="country-name">USA</span> </div> <div class="tel">8128555388</div> <p style="font-size:smaller;">This <a <p style font size:smaller; >This <a href="http://microformats.org/wiki/hcard">hCard</a> created with the <a href="http://microformats.org/code/hcard/creator">hCard creator</a>.</p> </div> Generate your own one: http://microformats.org/code/hcard/creator, for more tools: http://microformats.org/code ‐ tools

  21. SCHEMA.ORG SCHEMA.ORG

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend