Rdf Presentation

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Rdf Presentation - Presentation Transcript

    1. the monkey is hungry for RDFs!
    2. SearchMonkey YAHOO! SEARCH MONKEY | Presentation by: Fabio Hirata Latin America Search Front-End Engineer For questions, contact: Nicolas Scafuro, Y! Miami (nscafuro@yahoo-inc.com) Maria Rodriguez, Y! Miami (mariarj@yahoo-inc.com) ‏
    3. SearchMonkey YAHOO! SEARCH MONKEY |
      • Today’s presentations about Search Monkey
      • Presentation 1: RDF/Microformats overview
        • Provides an introductory presentation on RDF and Microformats and how you can embed semantic web on your pages
      •  Presentation 2: Creating a Search Monkey using Yahoo! Cached Data
        • Explains how to create an application using the Yahoo Search Index content.
      •  Presentation 3: Creating a Custom Data Service
        • Provides a demonstration on how to create a Custom Data Service and explains the difference between cached versus dynamic usage
    4. Introductory Video
    5. How does it work? YAHOO! SEARCH MONKEY | Acme.com’s database Index RDF/Microformat Markup Site owners/publishers share structured data with Yahoo!. 1 Consumers customize their search experience with Enhanced Results or Infobars 3 Site owners & third-party developers build SearchMonkey apps. 2 DataRSS feed Web Services Page Extraction Acme.com’s Web Pages
    6. SearchMonkey YAHOO! SEARCH MONKEY |
      • Today’s presentations about Search Monkey
      • Presentation 1: RDF/Microformats overview
        • Provides an introductory presentation on RDF and Microformats and how you can embed semantic web on your pages
      •  Presentation 2: Creating a Search Monkey using Yahoo! Cached Data
        • Explains how to create an application using the Yahoo Search Index content.
      •  Presentation 3: Creating a Custom Data Service
        • Provides a demonstration on how to create a Custom Data Service and explains the difference between cached versus dynamic usage
    7. Background info - Why RDF/Microformats?
      • Information keeps growing and we need to find ways to organize and be able to search efficiently
      YAHOO! SEARCH MONKEY |
    8. The Big Picture
      • Two approaches to solving this problem:
        • Natural Language Processing (NLP)
        • Web Semantics
          • RDF, RDFa, Microformats
      YAHOO! SEARCH MONKEY | Which one is better?
    9. RDF Syntax Example YAHOO! SEARCH MONKEY | <?xml version=&quot;1.0&quot;?> <rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:exterms=&quot;http://www.example.org/terms/&quot;> <rdf:Description rdf:about=&quot;http://www.example.org/index.html&quot;> <exterms:creation-date>August 16, 1999</exterms:creation-date> <dc:language>en</dc:language> <dc:creator rdf:resource=&quot;http://www.example.org/staffid/85740&quot;/> </rdf:Description> </rdf:RDF> RDF has a specific syntax and usually stored as a separate file…
    10. Simpler Approach: Embedded RDF
      • Well known universal standard
      • Easiest method; frequently used on blogs and Web publishing tools
      • Reusable; publishers can reuse code for different site areas
      Microformats
      • Reuses existing HTML tags
      • Limited description, you cannot map all relationships in RDF
      eRDF
      • New & emerging universal standards
      • Yahoo!’s favorite!
      • Publisher Independence, each site can use its own standards
      • Require front-end page changes (change publisher’s code)
      • Describes all the RDF concepts
      RDFa Comments Approach
    11. RDFa Description YAHOO! SEARCH MONKEY | dc:creator <body> <div> <h2>Heroes</h2> <span>John</span> wrote this on <em>April 21st, 2008</em> </div> </body> “ John” dc:title “ Heroes” dc:date “ 20080421”
    12. RDFa Example*
      • <body>
      • <div>
      • <h2>Heroes</h2>
      • <span>John</span> wrote this on
      • <em>April 21st, 2008</em>
      • </div>
      • </body>
      <body xmlns:dc=&quot;http://purl.org/dc/elements/1.1/” <div> <h2 property=&quot;dc:title&quot; >Heroes</h2> <span property=&quot;dc:creator&quot; >John</span> wrote this on <em property=&quot;dc:date&quot; content=&quot;20080421&quot; >April 21st, 2008</em> </div> </body> What is the dc: ? * This example was adapted from Ben Adida’s RDFa presentation: http://ben.adida.net/presentations/www2008-rdfa
    13. Vocabularies‏
      • Predicates have specific definition
      • Anyone can create new vocabulary
      • Reuse industry-standard vocabularies
      YAHOO! SEARCH MONKEY | http://www.w3.org/2006/vcard/ns# vcard vcard http://www.w3.org/2002/12/cal# RDF Calendar vcal http://www.purl.org/stuff/rev# RDF Review review http://www.w3.org/2000/01/rdf-schema# RDF Schema rdfs http://www.w3.org/1999/02/22-rdf-syntax-ns# RDF rdf http://search.yahoo.com/mrss/ RSS-Media media http://www.georss.org/georss# Geographical metadata geo http://xmlns.com/foaf/0.1/ Friend-of-a-friend foaf http://purl.org/dc/elements/1.1/ Dublin Core Metadata dc http://creativecommons.org/licenses/ Creative Commons cc http://www.w3.org/2005/Atom# Atom concepts atom Namespace Name Prefix
    14. Adding elements to a real page YAHOO! SEARCH MONKEY | cal:Vevent #movies Batman
        • 20080829T1600-0500
      typeof cal:summary cal:dtstart
    15. Adding elements YAHOO! SEARCH MONKEY |
    16. Embedding RDFa YAHOO! SEARCH MONKEY | <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML+RDFa 1.0//EN&quot; &quot;http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd&quot; > <html xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:review=&quot;http://www.purl.org/stuff/rev#&quot; > > ... <!-- /header --> <!-- body --> ... <h1 class=&quot;gripper gripperLink&quot; title=&quot;Ramón Piñeiro no tuvo suerte en Valencia&quot; property=&quot;dc:title&quot; rel=&quot;http://mx.sports.yahoo.com/noticias/deportes-ram-n-pi-eiro-tuvo-suerte-valencia-29082008-57.html&quot;>Ramón Piñeiro no tuvo suerte en Valencia</h1> <em property=&quot;dc:date&quot; content=&quot;20080820T0209-0500&quot; >29 agosto 2008 02:09 AM</em> ... <p></p><p property=&quot;dc:description&quot; >El pasado fin de semana, coincidiendo con el Gran Premio de Europa de Fórmula 1, la Formula BMW Europe estuvo también en el nuevo circuito urbano de Valencia. <br><br> </p> ... <em class=&quot;recommendations&quot; property=&quot;review:positiveVotes&quot; >0 Recomendaciones</em> ... </body></html>
    17. Relating RDFa to Search Monkey!
      • Relationships that you add on your page map directly to the content in Search Monkey for that result
      YAHOO! SEARCH MONKEY | Page with RDFa Search Monkey App
    18. Microformats
      • Easy to use and integrate onto page
      • Simpler approach to semantic markup
      • Focuses on common relationships:
        • hCard, hEvent, hReview, hResume
      • Also requires change to page
      • Limitations compared to RDFa:
        • Difficult to describe information only with existing markups
      YAHOO! SEARCH MONKEY |
    19. Example of hCard
      • <div>
      • <span>
      • <span>Fabio</span>
      • <span>H</span>
      • <span>Hirata</span>
      • </span>
      • <div>Yahoo!</div>
      • <a href=&quot;mailto:fabiohh@yahoo-inc.com&quot;>fabiohh@yahoo-inc.com</a>
      • <div >
      • <div>Fidencio Ramos, 195</div>
      • <span>Sao Paulo</span>
      • </div>
      <div id=&quot;hcard-Fabio-H-Hirata&quot; class=&quot;vcard&quot; > <span class=&quot;fn n&quot; > <span class=&quot;given-name&quot; >Fabio</span> <span class=&quot;additional-name&quot; >H</span> <span class=&quot;family-name&quot; >Hirata</span> </span> <div class=&quot;org&quot; >Yahoo!</div> <a class=&quot;email&quot; href=&quot;mailto:fabiohh@yahoo-inc.com&quot;>fabiohh@yahoo-inc.com</a> <div class=&quot;adr&quot; > <div class=&quot;street-address&quot; >Fidencio Ramos, 195</div> <span class=&quot;locality&quot; >Sao Paulo</span> </div> </div>
    20. If you can’t change your page content…
      • Use DataRSS to represent the content from your database
      • Just like RDFa can be added to represent RDF in HTML, DataRSS can represent RDF for database content
      <xml> <age> 3 </age> <published> 20080215 </published> <title> My Dog </title> <image> http://www.example.com/dog.jpg </image> </xml> Acme.com’s database Acme.com’s Web Pages
    21. How does DataRSS feed look like? <xml> <age> 3 </age> <published> 20080215 </published> <title> My Dog </title> <image> http://www.example.com/dog.jpg </image> </xml> <adjunctcontainer> <adjunct id=sm:{$smid}> <meta property=“rel:age”> 3 </meta> <meta property=“dc:date”> 20080215 </meta> <meta property=“dc:title”> My Dog </meta> <item rel=“rel:Photo”> http://www.example.com/dog.jpg </item> </adjunct> </adjuntcontainer> http://
      • 4 basic elements:
      • adjunctcontainer
      • adjunct
      • item
      • meta
    22. In Summary: RDF/Microformats vs. DataRSS * Complete description between the two approaches can be found in the manual: http://developer.yahoo.com/searchmonkey/smguide/ Submit your feed to Site Explorer page and we need to validate it. Requires some back and forth iterations with Yahoo! Cached automatically by Yahoo! Crawlers (2-3 weeks to cache) Need to setup a feed via http:// Easiest to integrate with Search Monkey Requires changes on your database (new interface) Requires changes on the page (embed relationships) Fast response Enhanced results AND Infobars Fast response Enhanced results AND Infobars DataRSS RDF/Microformats
    23. Take away message
      • Yahoo! is a big advocate of RDFa through Search Monkey
      • Web semantics (structured data) is getting more popular, lots of projects are starting to incorporate this concept
      • Lots of tutorials are starting to emerge to help add structured data on your pages
        • Semantic Web FAQ: http://www.w3.org/2001/sw/SW-FAQ
        • RDFa Primer: http://www.w3.org/TR/xhtml-rdfa-primer/
        • Microformats: http://www.microformats.org
        • Site Explorer: http://siteexplorer.search.yahoo.com/
        • RDFa by Ben Adida: http://ben.adida.net/presentations/www2008-rdfa/
      YAHOO! SEARCH MONKEY |
    24. preguntas?

    + fabiohiratafabiohirata, 2 years ago

    custom

    883 views, 0 favs, 0 embeds more stats

    Overview of RDF, RDFa, and microformats
    Presented more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 883
      • 883 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 20
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories