SlideShare uma empresa Scribd logo
1 de 70
Baixar para ler offline
SKOS, RDFa & Co,
Linked Data Related Examples
INFO 4302 - April 20, 2011
Bernhard Haslhofer - Cornell University
Today we talk about...


• Simple Knowledge Organization System (SKOS)
• Machine-readable data in (X)HTML(5)
 (RDFa, Microformats, Microdata)
• Search Engines and machine-readable data
• Facebook Graph API & Open Graph Protocol
Linked Data Recap
Why Linked Data?

• There is lots of information on the Web
• ... valuable information that can be (re-)used
• Problem
 • information is usually expressed in the form of
     HTML documents
 •   the underlying raw data are locked in closed data
     silos (mostly DBMS)
Why Linked Data?

• The Web is successful because it provides
 • Uniform encoding (HTML)
 • Uniform addressing (URI)
 • Uniform transportation (HTTP)
 for the exchange of documents.
• Why not apply the same mechanism to the
 underlying data?
What is Linked Data?

• A method to build a Web of Data
• Architectural style, set of standards



                        Web
Publishing Data

• Distinguish between non-information and
 information resource
• Sample non-information resource
 • http://dbpedia.org/resource/The_Shining_(film)
• Sample information resource
 • http://dbpedia.org/page/The_Shining_(film) - HTML
 • http://dbpedia.org/data/The_Shining_(film) - RDF
Publishing Data

       GET http://dbpedia.org/resource/The_Shining_(film)
       Accept: application/rdf+xml



       303 See Other
       Location: http://dbpedia.org/data/The_Shining_(film)



       GET http://dbpedia.org/data/The_Shining_(film)
       Accept: application/rdf+xml



       200 OK
       ...
       <?xml version="1.0" encoding="utf-8"?>
       <rdf:RDF ...
Simple Knowledge Organization System (SKOS)

• A language for describing controlled vocabularies
      (taxonomies, thesauri, classification schemes)


                                              http://dbpedia.org/resource/
                                              Category:1980s_horror_films

                               skos:subject                                   rdf:type

http://dbpedia.org/resource/                         skos:broader
                                                                                         http://www.w3.org/2004/02/
     The_Shining_(film)                                                                       skos/core#Concept

                                                                             rdf:type
                                              http://dbpedia.org/resource/
                                                 Category:1980s_films
Excursus: The Semantic Spectrum
Knowledge Organization Systems (KOS)
semantic
expressiveness
                                                     Ontology
                                                                  DL, FOL, etc
                                                                OWL
                                        Data Model
                                                          UML
                                                     ER
                                  Thesaurus

                            Taxonomy              XML/S
                                           SKOS
                   Folksonomy

                 Glossary       Term/Tag list




                                                          complexity
Glossary
• A simple (alphabetical) list of terms and their
 definitions for a particular domain of
 knowledge
• Useful for creating clear and unambiguous
 term definitions
Folksonomy

• Collaborative tagging systems
• Web 2.0., social-media, etc...
Controlled Vocabulary
• A simple list of terms, definitions and naming
 conventions
• Some process “controls” adding and removing
 term definitions to ensure consistency
• Terms are often defined in relationship to
 each other
• Taxonomies, Thesauri, and Ontologies are
 special forms of controlled vocabularies
Taxonomy
• Classification of entities in a hierarchy
• A taxonomy node stands for a real-world entity
                                        animate object




                            agent


                                                         subclass of


                 person              organization




       manager            employee
source: http://upload.wikimedia.org/wikipedia/commons/b/bb/Linnaeus_-_Regnum_Animale_%281735%29.png
Thesaurus
• Associates the meaning of a term with the
 meaning of another term
• hypernym, hyponym, synonym, antonym
                                                            Imagery




                                           Aerial imagery             Infrared imagery




                        Radar imagery                                                                Combat support
                                                                                                       equipment



        Moving target                      Radar                                         Intelligence and electronic
         indicators                     photography                                          warfare equipment




                                                                                 Imaging systems




                              narrower than                                                     Infrared imaging
                                                                       Imaging radar
                                                                                                     systems
                              related to
Ontology

• Defines concepts that represent an area of
 knowledge
• Machine-read and -interpretable
 representation
• Classes, instances, relationships, properties,
 functions, constraints, etc.
http://www.bbc.co.uk/ontologies/programmes/2009-09-07.shtml
Simple Knowledge
Organization System (SKOS)
What is SKOS?

• A model for expressing the basic structure
 and content of concept schemes such as
 thesauri, classification schemes, taxonomies,
 folksonomies, and other similar types of
 controlled vocabularies
• Allows concepts to be composed and
 published as Linked Data on the Web
• Hides the complexity of OWL - easy to use
semantic
expressiveness
                                                     Ontology
                                                                  DL, FOL, etc
                                                                OWL
                                        Data Model
                                                          UML
                                                     ER
                                  Thesaurus

                            Taxonomy              XML/S
                                           SKOS
                   Folksonomy

                 Glossary       Term/Tag list




                                                          complexity
SKOS Concepts are...

• ... identified with URIs
• ... labeled with 1..* natural language strings
• ... documented with various types of notes
• ... semantically linked to each other
• ... aggregated into concept schemes
Example SKOS Concept
skos:Concept
• Concepts are
 • the units of thought: ideas, meanings, categories of
     objects, etc.
 •   abstract entities which are independent of the terms
     used to label them
                                skos:Concept




                                   rdf:type




                          lcsh:sh2007025344#concept




           @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
           @prefix lcsh: <http://id.loc.gov/authorities/> .
skos:(pref|alt|hidden)Label
• Labels refer to concepts’ natural language(s)
 • skos:prefLabel: the preferred lexical label
 • skos:altLabel: alternative lexical labels (e.g., synonyms)
 • skos:hiddenLabel: labels useful for indexing
                                                     "Parody films"@en


                                   skos:prefLabel



       lcsh:sh2007025344#concept   skos:altLabel    "Movie parodies"@en


                                   skos:altLabel

                                                    "Send-up films"@en
SKOS Semantic Relationships
• The meaning of a concept is also defined by its
 links to other concepts
 •   skos:broader: hierarchical link to a more general concept
 •   skos:narrower: hierarchical link to a more specific concept
 •   skos:related: associative (non-hierarchical) link
                               skos:broader



              lcsh:sh2007025038#concept           skos:prefLabel   "Comedy films"@en




              skos:narrower        skos:broader




              lcsh:sh2007025344#concept           skos:prefLabel   "Parody films"@en




                   skos:narrower
SKOS Documentary Notes
• Add further human-readable documentation
 • skos:scopeNote: info about intended meaning
 • skos:definition: complete explanation of meaning
 • skos:example: example concept use
                                                     “This heading is used as a
                                                     genre/form heading for
                                                     films that comically imitate
   lcsh:sh2007025038#concept        skos:scopeNote
                                                     another work or group of
                                                     works of a more serious
                                                     nature.”@en

                   skos:prefLabel

                                     "Comedy films"@en
skos:ConceptScheme
• Allow the organization of skos:Concepts in
 some Knowledge Organization Scheme (KOS)

                          skos:ConceptScheme
                         lcsh:#genreFormTerms



                   skos:inScheme      skos:inScheme



           skos:Concept                         skos:Concept
    lcsh:sh2007025038#concept                        ...
Example


• Dereference and analyze
 “Jack Nicholson” @ New York Times

 • http://data.nytimes.com
 • http://data.nytimes.com/N5761411277431266513
RDFa, Microformats &
Microdata
Why RDFa?

     GET http://dbpedia.org/resource/The_Shining_(film)
     Accept: application/rdf+xml



     303 See Other
     Location: http://dbpedia.org/data/The_Shining_(film)



    Oh dear!
     GET http://dbpedia.org/data/The_Shining_(film)
     Accept: application/rdf+xml



     200 OK
     ...
     <?xml version="1.0" encoding="utf-8"?>
     <rdf:RDF ...
What is RDFa?

• A mechanism for embedding RDF metadata
 within XHTML 1.1 Web documents
• Defines a set of attributes to augment visual
 data with machine-readable hints
• User agents can extract triples from RDFa-
 enables Web pages
What is RDFa?

• Markup human-readable data (HTML) with
 machine-readable indicators
RDFa Example
      XHTML
...
All content on this site is licensed under
<a href="http://creativecommons.org/licenses/by/3.0/">
    a Creative Commons License
</a>.

      XHTML + RDFa
...
All content on this site is licensed under
<a rel=”license” href="http://creativecommons.org/licenses/by/3.0/">
    a Creative Commons License
</a>.
RDFa Attributes

• about and src: the resource the metadata is about
• rel and rev: (reverse) relationship between resources
• href and resource: the partner resource
• property: a property for the content of an element
• content: override content of an element
• datatype: specify the datatype of text
• typeof: specifies the RDF type(s) or a subject
RDFa Example
      XHTML
<div>
   <h2>The trouble with Bob</h2>
   <h3>Alice</h3>
   ...
</div>

      XHTML + RDFa
<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>
RDFa Example
XHTML + RDFa
<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>
RDFa Example
XHTML + RDFa

<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>
</div>
RDFa Examples


• OReilly.com: http://oreilly.com/catalog/
 9780596520694/
• Rottentomatoes: http://
 www.rottentomatoes.com/m/shining/
Microformats

• A Microformat extends conventional HTML
 tags with semantic information
• Started by Technorati, Inc.; now community-
 driven (IRC, mailing list, blogs)
• Make use of the following (X)HTML attributes
 • class
 • rel
Microformats Example
HTML
<div>
  <div>Joe Doe</div>
  <div>Jo</div>
  <div>The Example Company</div>
  <div>604-555-1234</div>
  <a href="http://example.com/">http://example.com/</a>
</div>


XHTML + Microformats
<head profile="http://www.w3.org/2006/03/hcard">
...
</head>
...
<div class="vcard">
  <div class="fn">Joe Doe</div>
  <div class="nickname">Jo</div>
  <div class="org">The Example Company</div>
  <div class="tel">604-555-1234</div>
  <a class="url" href="http://example.com/">http://example.com/</a>
</div>
Microformats Example
Available Microformats
Microformats vs. RDFa
  <div xmlns="http://www.w3.org/1999/xhtml"
       xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
       xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
       xmlns:v="http://www.w3.org/2006/vcard/ns#">

     <div about="http://example.com/me/behas" typeof="v:VCard">
       <span property="v:fn">Bernhard Haslhofer</span>
       <span property="v:nickname">behas</span>
       <div rel="v:adr">
            <div typeof="v:Address v:Work">
                <span property="v:street-address">301 College Avenue</span>
                <span property="v:locality">Ithaca</span>,
                <span property="v:postal-code">14850</span>,
                <span property="v:country-name">United States</span>.
            </div>
         </div>
         <a rel="v:email"
  href="mailto:bernhard.haslhofer@cornell.edu">bernhard.haslhofer@cornell.edu</a>.
     </div>
  </div>



Sample vCard Object in RDFa (see http://www.w3.org/Submission/vcard-rdf/)
Microformats vs. RDFa
   <div class="vcard">

     <span class="fn">Bernhard Haslhofer</span>

     <div class="adr">
       <div class="street-address">301 College Avenue</div>
       <span class="locality">Ithaca</span>
       <span class="postal-code">14850</span>
       <span class="country-name">United States</span>
     </div>

     <a class="email"
     href="mailto:bernhard.haslhofer@cornell.edu">bernhard.haslhofer@cornell.edu</a>

   </div>




hCard sample created with http://microformats.org/code/hcard/creator
Microformats                                  RDFa
    flat namespace                            XML namespaces

    support HTML4, XHTML 1.1, and
                                             support for XHTML 1.1
    HTML 5

    use latent HTML attributes               introduces new metadata attributes

    vocabulary defined by one
                                             open to any RDF-based vocabulary
    organization/community




Also see: http://evan.prodromou.name/RDFa_vs_microformats
Microdata (HTML5)
• A very young HTML 5 proposition that
 extends Microformats and addresses its
 shortcomings
• Items are created within an itemscope
• Ever item is assigned an arbitrary number of
 properties (itemprop)
• Uses global identifiers for typing and naming
 items
Microdata Example

<div itemscope itemtype="http://data-vocabulary.org/Person">

  <span itemprop="name">Bernhard Haslhofer</span>,
  <span itemprop="nickname">behas</span>.

  <div itemprop="address" itemscope itemtype="http://data-vocabulary.org/Address">
    <span itemprop="street-address">301 College Avenue</span>
    <span itemprop="locality">Ithaca</span>
    <span itemprop="country-name">United States</span>
  </div>

</div>
Search engines and
machine-readable data
Google Rich Snippets

• Reviews
• People
• Products
• Businesses and organizations
• Recipes
• Events
Google Rich Snippets
HTML

<div>
L’Amourita Pizza
Reviewed by Ulysses Grant on Jan 6.
Delicious, tasty pizza on Eastlake!
L'Amourita serves up traditional wood-fired Neapolitan-style pizza,
brought to your table promptly and without fuss. An ideal neighborhood pizza joint.
Rating: 4.5
</div>
Google Rich Snippets
Microdata
<div>
  <div itemscope itemtype="http://data-vocabulary.org/Review">
    <span itemprop="itemreviewed">L’Amourita Pizza</span>
    Reviewed by <span itemprop="reviewer">Ulysses Grant</span> on
    <time itemprop="dtreviewed" datetime="2009-01-06">Jan 6</time>.
    <span itemprop="summary">Delicious, tasty pizza in Eastlake!</span>
    <span itemprop="description">L'Amourita serves up traditional wood-fired
Neapolitan-style pizza,
       brought to your table promptly and without fuss. An ideal neighborhood pizza
joint.</span>
    Rating: <span itemprop="rating">4.5</span>
  </div>
</div>
Google Rich Snippets
Microformats
<div class="hreview">
   <span class="item">
       <span class="fn">L’Amourita Pizza</span>
   </span>
   Reviewed by <span class="reviewer">Ulysses Grant</span> on
   <span class="dtreviewed">
       Jan 6<span class="value-title" title="2009-01-06"></span>
   </span>.
   <span class="summary">Delicious, tasty pizza on Eastlake!</span>
   <span class="description">L'Amourita serves up traditional wood-fired
   Neapolitan-style pizza, brought to your table promptly and without fuss.
   An ideal neighborhood pizza joint.</span>
   Rating:
   <span class="rating">4.5</span>
</div>
Google Rich Snippets
RDFa
<div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Review">
   <span property="v:itemreviewed">L’Amourita Pizza</span>
   Reviewed by
   <span property="v:reviewer">Ulysses Grant</span> on
   <span property="v:dtreviewed" content="2009-01-06">Jan 6</span>.
   <span property="v:summary">Delicious, tasty pizza on Eastlake!</span>
   <span property="v:description">L'Amourita serves up traditional wood-fired
   Neapolitan-style pizza, brought to your table promptly and without fuss.
   An ideal neighborhood pizza joint.</span>
   Rating:
   <span property="v:rating">4.5</span>
</div>
Facebook Graph API &
Open Graph Protocol
Readings
Required Reading


• SKOS Primer: http://www.w3.org/TR/skos-primer/
• RDFa Primer: Bridging the Human and Data Webs.
 http://www.w3.org/TR/xhtml-rdfa-primer/
• HTML Microdata: http://www.w3.org/TR/microdata/
• Microformats: http://microformats.org/
Recommended Readings


• SKOS Vocabularies Overview:
• RDFa.info: http://rdfa.info/wiki/RDFa_Wiki
• CC REL: Creative Commons Rights Expression
 Language (CC REL)
Dream




                                                                              RDFa
                                                                                     HTML 5
Reality                                                                              Microdata

          ~2000                                                                         2011


source: http://upload.wikimedia.org/wikipedia/commons/a/a7/Wollmilchsau.png

Mais conteúdo relacionado

Mais procurados

basic concept of Cloud computing and its architecture
basic concept of Cloud computing  and its architecturebasic concept of Cloud computing  and its architecture
basic concept of Cloud computing and its architectureMohammad Ilyas Malik
 
04 activities and activity life cycle
04 activities and activity life cycle04 activities and activity life cycle
04 activities and activity life cycleSokngim Sa
 
Different cloud types explained
Different cloud types explainedDifferent cloud types explained
Different cloud types explainedDavid Martin
 
Cloud Computing Training PPT
Cloud Computing Training PPTCloud Computing Training PPT
Cloud Computing Training PPTAmit Poonia
 
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...SaikiranReddy Sama
 

Mais procurados (12)

Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
basic concept of Cloud computing and its architecture
basic concept of Cloud computing  and its architecturebasic concept of Cloud computing  and its architecture
basic concept of Cloud computing and its architecture
 
Daknet
DaknetDaknet
Daknet
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
04 activities and activity life cycle
04 activities and activity life cycle04 activities and activity life cycle
04 activities and activity life cycle
 
Android and DDS
Android and DDSAndroid and DDS
Android and DDS
 
iCloud
iCloud iCloud
iCloud
 
Different cloud types explained
Different cloud types explainedDifferent cloud types explained
Different cloud types explained
 
Cloud Computing Training PPT
Cloud Computing Training PPTCloud Computing Training PPT
Cloud Computing Training PPT
 
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...
 
Deploying Exchange 2013 in Hybrid Mode
Deploying Exchange 2013 in Hybrid ModeDeploying Exchange 2013 in Hybrid Mode
Deploying Exchange 2013 in Hybrid Mode
 

Destaque

RDFa: an introduction
RDFa: an introductionRDFa: an introduction
RDFa: an introductionKai Li
 
RDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itJose Luis Lopez Pino
 
RDFa: putting RDF on the Web
RDFa: putting RDF on the WebRDFa: putting RDF on the Web
RDFa: putting RDF on the WebBenjamin Heitmann
 
semantic markup using schema.org
semantic markup using schema.orgsemantic markup using schema.org
semantic markup using schema.orgJoshua Shinavier
 
The Real Life Social Network v2
The Real Life Social Network v2The Real Life Social Network v2
The Real Life Social Network v2Paul Adams
 

Destaque (6)

RDFa
RDFaRDFa
RDFa
 
RDFa: an introduction
RDFa: an introductionRDFa: an introduction
RDFa: an introduction
 
RDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use it
 
RDFa: putting RDF on the Web
RDFa: putting RDF on the WebRDFa: putting RDF on the Web
RDFa: putting RDF on the Web
 
semantic markup using schema.org
semantic markup using schema.orgsemantic markup using schema.org
semantic markup using schema.org
 
The Real Life Social Network v2
The Real Life Social Network v2The Real Life Social Network v2
The Real Life Social Network v2
 

Semelhante a SKOS, RDFa, Microformats, Microdata

The state of KOS in the Linked Data movement
The state of KOS in the Linked Data movementThe state of KOS in the Linked Data movement
The state of KOS in the Linked Data movementMarcia Zeng
 
CS6010 Social Network Analysis Unit II
CS6010 Social Network Analysis   Unit IICS6010 Social Network Analysis   Unit II
CS6010 Social Network Analysis Unit IIpkaviya
 
SKOS, Past, Present and Future
SKOS, Past, Present and FutureSKOS, Past, Present and Future
SKOS, Past, Present and Futureseanb
 
Taxonomy, ontology, folksonomies & SKOS.
Taxonomy, ontology, folksonomies & SKOS.Taxonomy, ontology, folksonomies & SKOS.
Taxonomy, ontology, folksonomies & SKOS.Janet Leu
 
Ontologies and Ontology Languages: RDFS, OWL, and SKOS: University of Florida...
Ontologies and Ontology Languages: RDFS, OWL, and SKOS: University of Florida...Ontologies and Ontology Languages: RDFS, OWL, and SKOS: University of Florida...
Ontologies and Ontology Languages: RDFS, OWL, and SKOS: University of Florida...Allison Jai O'Dell
 
Mdst3703 2013-09-17-text-models
Mdst3703 2013-09-17-text-modelsMdst3703 2013-09-17-text-models
Mdst3703 2013-09-17-text-modelsRafael Alvarado
 
Ontologies and Vocabularies
Ontologies and VocabulariesOntologies and Vocabularies
Ontologies and Vocabulariesseanb
 
Web 3 final(1)
Web 3 final(1)Web 3 final(1)
Web 3 final(1)Venky Dood
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic WebMarin Dimitrov
 
Knowledge engineering and the Web
Knowledge engineering and the WebKnowledge engineering and the Web
Knowledge engineering and the WebGuus Schreiber
 
Lri Owl And Ontologies 04 04
Lri Owl And Ontologies 04 04Lri Owl And Ontologies 04 04
Lri Owl And Ontologies 04 04Rinke Hoekstra
 
Tutorial on Semantic Digital Libraries (WWW'2007)
Tutorial on Semantic Digital Libraries (WWW'2007)Tutorial on Semantic Digital Libraries (WWW'2007)
Tutorial on Semantic Digital Libraries (WWW'2007)Sebastian Ryszard Kruk
 
SKOS and Linked Data
SKOS and Linked DataSKOS and Linked Data
SKOS and Linked DataAntoine Isaac
 
LoCloud Vocabulary Services: Thesaurus management introduction, Walter Koch a...
LoCloud Vocabulary Services: Thesaurus management introduction, Walter Koch a...LoCloud Vocabulary Services: Thesaurus management introduction, Walter Koch a...
LoCloud Vocabulary Services: Thesaurus management introduction, Walter Koch a...locloud
 

Semelhante a SKOS, RDFa, Microformats, Microdata (20)

The state of KOS in the Linked Data movement
The state of KOS in the Linked Data movementThe state of KOS in the Linked Data movement
The state of KOS in the Linked Data movement
 
Ontologies Fmi 042010
Ontologies Fmi 042010Ontologies Fmi 042010
Ontologies Fmi 042010
 
Linked (Open) Data
Linked (Open) DataLinked (Open) Data
Linked (Open) Data
 
CS6010 Social Network Analysis Unit II
CS6010 Social Network Analysis   Unit IICS6010 Social Network Analysis   Unit II
CS6010 Social Network Analysis Unit II
 
SKOS, Past, Present and Future
SKOS, Past, Present and FutureSKOS, Past, Present and Future
SKOS, Past, Present and Future
 
Taxonomy, ontology, folksonomies & SKOS.
Taxonomy, ontology, folksonomies & SKOS.Taxonomy, ontology, folksonomies & SKOS.
Taxonomy, ontology, folksonomies & SKOS.
 
Ontologies and Ontology Languages: RDFS, OWL, and SKOS: University of Florida...
Ontologies and Ontology Languages: RDFS, OWL, and SKOS: University of Florida...Ontologies and Ontology Languages: RDFS, OWL, and SKOS: University of Florida...
Ontologies and Ontology Languages: RDFS, OWL, and SKOS: University of Florida...
 
Semantic web
Semantic web Semantic web
Semantic web
 
Mdst3703 2013-09-17-text-models
Mdst3703 2013-09-17-text-modelsMdst3703 2013-09-17-text-models
Mdst3703 2013-09-17-text-models
 
Ontologies and Vocabularies
Ontologies and VocabulariesOntologies and Vocabularies
Ontologies and Vocabularies
 
Web 3 final(1)
Web 3 final(1)Web 3 final(1)
Web 3 final(1)
 
SNSW CO3.pptx
SNSW CO3.pptxSNSW CO3.pptx
SNSW CO3.pptx
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
 
Knowledge engineering and the Web
Knowledge engineering and the WebKnowledge engineering and the Web
Knowledge engineering and the Web
 
Ontology Engineering
Ontology EngineeringOntology Engineering
Ontology Engineering
 
Lri Owl And Ontologies 04 04
Lri Owl And Ontologies 04 04Lri Owl And Ontologies 04 04
Lri Owl And Ontologies 04 04
 
Tutorial on Semantic Digital Libraries (WWW'2007)
Tutorial on Semantic Digital Libraries (WWW'2007)Tutorial on Semantic Digital Libraries (WWW'2007)
Tutorial on Semantic Digital Libraries (WWW'2007)
 
Ontology
Ontology Ontology
Ontology
 
SKOS and Linked Data
SKOS and Linked DataSKOS and Linked Data
SKOS and Linked Data
 
LoCloud Vocabulary Services: Thesaurus management introduction, Walter Koch a...
LoCloud Vocabulary Services: Thesaurus management introduction, Walter Koch a...LoCloud Vocabulary Services: Thesaurus management introduction, Walter Koch a...
LoCloud Vocabulary Services: Thesaurus management introduction, Walter Koch a...
 

Mais de Bernhard Haslhofer

Decentralized Finance (DeFi) - Understanding Risks in an Emerging Financial P...
Decentralized Finance (DeFi) - Understanding Risks in an Emerging Financial P...Decentralized Finance (DeFi) - Understanding Risks in an Emerging Financial P...
Decentralized Finance (DeFi) - Understanding Risks in an Emerging Financial P...Bernhard Haslhofer
 
Token Systems, Payment Channels, and Corporate Currencies
Token Systems, Payment Channels, and Corporate CurrenciesToken Systems, Payment Channels, and Corporate Currencies
Token Systems, Payment Channels, and Corporate CurrenciesBernhard Haslhofer
 
Can a blockchain solve the trust problem?
Can a blockchain solve the trust problem?Can a blockchain solve the trust problem?
Can a blockchain solve the trust problem?Bernhard Haslhofer
 
Measurements in Cryptocurrency Networks
Measurements in Cryptocurrency NetworksMeasurements in Cryptocurrency Networks
Measurements in Cryptocurrency NetworksBernhard Haslhofer
 
Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur...
 Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur... Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur...
Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur...Bernhard Haslhofer
 
Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...
Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...
Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...Bernhard Haslhofer
 
O Bitcoin Where Art Thou? An Introduction to Cryptocurrency Analytics
O Bitcoin Where Art Thou? An Introduction to Cryptocurrency AnalyticsO Bitcoin Where Art Thou? An Introduction to Cryptocurrency Analytics
O Bitcoin Where Art Thou? An Introduction to Cryptocurrency AnalyticsBernhard Haslhofer
 
Mind the Gap - Data Science Meets Software Engineering
Mind the Gap - Data Science Meets Software EngineeringMind the Gap - Data Science Meets Software Engineering
Mind the Gap - Data Science Meets Software EngineeringBernhard Haslhofer
 
GraphSense - Real-time Insight into Virtual Currency Ecosystems
GraphSense - Real-time Insight into Virtual Currency EcosystemsGraphSense - Real-time Insight into Virtual Currency Ecosystems
GraphSense - Real-time Insight into Virtual Currency EcosystemsBernhard Haslhofer
 
BITCOIN - De-anonymization and Money Laundering Detection Strategies
BITCOIN - De-anonymization and Money Laundering Detection StrategiesBITCOIN - De-anonymization and Money Laundering Detection Strategies
BITCOIN - De-anonymization and Money Laundering Detection StrategiesBernhard Haslhofer
 
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing DevelopmentsBitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing DevelopmentsBernhard Haslhofer
 
Maphub und Pelagios: Anwendung von Linked Data in den Digitalen Geisteswissen...
Maphub und Pelagios: Anwendung von Linked Data in den Digitalen Geisteswissen...Maphub und Pelagios: Anwendung von Linked Data in den Digitalen Geisteswissen...
Maphub und Pelagios: Anwendung von Linked Data in den Digitalen Geisteswissen...Bernhard Haslhofer
 
The value of open data and the OpenGLAM network
The value of open data and the OpenGLAM networkThe value of open data and the OpenGLAM network
The value of open data and the OpenGLAM networkBernhard Haslhofer
 
Offene Daten im Kulturbereich - Die pragmatische Perspektive
Offene Daten im Kulturbereich - Die pragmatische PerspektiveOffene Daten im Kulturbereich - Die pragmatische Perspektive
Offene Daten im Kulturbereich - Die pragmatische PerspektiveBernhard Haslhofer
 
Open Data - Principles and Techniques
Open Data - Principles and TechniquesOpen Data - Principles and Techniques
Open Data - Principles and TechniquesBernhard Haslhofer
 
Semantic Tagging on Historical Maps
Semantic Tagging on Historical MapsSemantic Tagging on Historical Maps
Semantic Tagging on Historical MapsBernhard Haslhofer
 
OpenGLAM Intro @ OKFN.AT Meetup Graz
OpenGLAM Intro @ OKFN.AT Meetup GrazOpenGLAM Intro @ OKFN.AT Meetup Graz
OpenGLAM Intro @ OKFN.AT Meetup GrazBernhard Haslhofer
 
Semantic Tagging for old maps...and other things on the Web
Semantic Tagging for old maps...and other things on the WebSemantic Tagging for old maps...and other things on the Web
Semantic Tagging for old maps...and other things on the WebBernhard Haslhofer
 

Mais de Bernhard Haslhofer (20)

Decentralized Finance (DeFi) - Understanding Risks in an Emerging Financial P...
Decentralized Finance (DeFi) - Understanding Risks in an Emerging Financial P...Decentralized Finance (DeFi) - Understanding Risks in an Emerging Financial P...
Decentralized Finance (DeFi) - Understanding Risks in an Emerging Financial P...
 
Token Systems, Payment Channels, and Corporate Currencies
Token Systems, Payment Channels, and Corporate CurrenciesToken Systems, Payment Channels, and Corporate Currencies
Token Systems, Payment Channels, and Corporate Currencies
 
Can a blockchain solve the trust problem?
Can a blockchain solve the trust problem?Can a blockchain solve the trust problem?
Can a blockchain solve the trust problem?
 
Measurements in Cryptocurrency Networks
Measurements in Cryptocurrency NetworksMeasurements in Cryptocurrency Networks
Measurements in Cryptocurrency Networks
 
Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur...
 Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur... Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur...
Post-Bitcoin Cryptocurrencies, Off-Chain Transaction Channels, and Cryptocur...
 
Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...
Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...
Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...
 
O Bitcoin Where Art Thou? An Introduction to Cryptocurrency Analytics
O Bitcoin Where Art Thou? An Introduction to Cryptocurrency AnalyticsO Bitcoin Where Art Thou? An Introduction to Cryptocurrency Analytics
O Bitcoin Where Art Thou? An Introduction to Cryptocurrency Analytics
 
Mind the Gap - Data Science Meets Software Engineering
Mind the Gap - Data Science Meets Software EngineeringMind the Gap - Data Science Meets Software Engineering
Mind the Gap - Data Science Meets Software Engineering
 
GraphSense - Real-time Insight into Virtual Currency Ecosystems
GraphSense - Real-time Insight into Virtual Currency EcosystemsGraphSense - Real-time Insight into Virtual Currency Ecosystems
GraphSense - Real-time Insight into Virtual Currency Ecosystems
 
BITCOIN - De-anonymization and Money Laundering Detection Strategies
BITCOIN - De-anonymization and Money Laundering Detection StrategiesBITCOIN - De-anonymization and Money Laundering Detection Strategies
BITCOIN - De-anonymization and Money Laundering Detection Strategies
 
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing DevelopmentsBitcoin - Introduction, Technical Aspects and Ongoing Developments
Bitcoin - Introduction, Technical Aspects and Ongoing Developments
 
Maphub und Pelagios: Anwendung von Linked Data in den Digitalen Geisteswissen...
Maphub und Pelagios: Anwendung von Linked Data in den Digitalen Geisteswissen...Maphub und Pelagios: Anwendung von Linked Data in den Digitalen Geisteswissen...
Maphub und Pelagios: Anwendung von Linked Data in den Digitalen Geisteswissen...
 
The value of open data and the OpenGLAM network
The value of open data and the OpenGLAM networkThe value of open data and the OpenGLAM network
The value of open data and the OpenGLAM network
 
Things, not Strings
Things, not StringsThings, not Strings
Things, not Strings
 
Offene Daten im Kulturbereich - Die pragmatische Perspektive
Offene Daten im Kulturbereich - Die pragmatische PerspektiveOffene Daten im Kulturbereich - Die pragmatische Perspektive
Offene Daten im Kulturbereich - Die pragmatische Perspektive
 
Open Data - Principles and Techniques
Open Data - Principles and TechniquesOpen Data - Principles and Techniques
Open Data - Principles and Techniques
 
Semantic Tagging on Historical Maps
Semantic Tagging on Historical MapsSemantic Tagging on Historical Maps
Semantic Tagging on Historical Maps
 
The Story behind Maphub
The Story behind MaphubThe Story behind Maphub
The Story behind Maphub
 
OpenGLAM Intro @ OKFN.AT Meetup Graz
OpenGLAM Intro @ OKFN.AT Meetup GrazOpenGLAM Intro @ OKFN.AT Meetup Graz
OpenGLAM Intro @ OKFN.AT Meetup Graz
 
Semantic Tagging for old maps...and other things on the Web
Semantic Tagging for old maps...and other things on the WebSemantic Tagging for old maps...and other things on the Web
Semantic Tagging for old maps...and other things on the Web
 

SKOS, RDFa, Microformats, Microdata

  • 1. SKOS, RDFa & Co, Linked Data Related Examples INFO 4302 - April 20, 2011 Bernhard Haslhofer - Cornell University
  • 2. Today we talk about... • Simple Knowledge Organization System (SKOS) • Machine-readable data in (X)HTML(5) (RDFa, Microformats, Microdata) • Search Engines and machine-readable data • Facebook Graph API & Open Graph Protocol
  • 4. Why Linked Data? • There is lots of information on the Web • ... valuable information that can be (re-)used • Problem • information is usually expressed in the form of HTML documents • the underlying raw data are locked in closed data silos (mostly DBMS)
  • 5. Why Linked Data? • The Web is successful because it provides • Uniform encoding (HTML) • Uniform addressing (URI) • Uniform transportation (HTTP) for the exchange of documents. • Why not apply the same mechanism to the underlying data?
  • 6. What is Linked Data? • A method to build a Web of Data • Architectural style, set of standards Web
  • 7. Publishing Data • Distinguish between non-information and information resource • Sample non-information resource • http://dbpedia.org/resource/The_Shining_(film) • Sample information resource • http://dbpedia.org/page/The_Shining_(film) - HTML • http://dbpedia.org/data/The_Shining_(film) - RDF
  • 8. Publishing Data GET http://dbpedia.org/resource/The_Shining_(film) Accept: application/rdf+xml 303 See Other Location: http://dbpedia.org/data/The_Shining_(film) GET http://dbpedia.org/data/The_Shining_(film) Accept: application/rdf+xml 200 OK ... <?xml version="1.0" encoding="utf-8"?> <rdf:RDF ...
  • 9. Simple Knowledge Organization System (SKOS) • A language for describing controlled vocabularies (taxonomies, thesauri, classification schemes) http://dbpedia.org/resource/ Category:1980s_horror_films skos:subject rdf:type http://dbpedia.org/resource/ skos:broader http://www.w3.org/2004/02/ The_Shining_(film) skos/core#Concept rdf:type http://dbpedia.org/resource/ Category:1980s_films
  • 10.
  • 11.
  • 13. Knowledge Organization Systems (KOS) semantic expressiveness Ontology DL, FOL, etc OWL Data Model UML ER Thesaurus Taxonomy XML/S SKOS Folksonomy Glossary Term/Tag list complexity
  • 14. Glossary • A simple (alphabetical) list of terms and their definitions for a particular domain of knowledge • Useful for creating clear and unambiguous term definitions
  • 15. Folksonomy • Collaborative tagging systems • Web 2.0., social-media, etc...
  • 16. Controlled Vocabulary • A simple list of terms, definitions and naming conventions • Some process “controls” adding and removing term definitions to ensure consistency • Terms are often defined in relationship to each other • Taxonomies, Thesauri, and Ontologies are special forms of controlled vocabularies
  • 17. Taxonomy • Classification of entities in a hierarchy • A taxonomy node stands for a real-world entity animate object agent subclass of person organization manager employee
  • 19.
  • 20. Thesaurus • Associates the meaning of a term with the meaning of another term • hypernym, hyponym, synonym, antonym Imagery Aerial imagery Infrared imagery Radar imagery Combat support equipment Moving target Radar Intelligence and electronic indicators photography warfare equipment Imaging systems narrower than Infrared imaging Imaging radar systems related to
  • 21.
  • 22.
  • 23. Ontology • Defines concepts that represent an area of knowledge • Machine-read and -interpretable representation • Classes, instances, relationships, properties, functions, constraints, etc.
  • 26. What is SKOS? • A model for expressing the basic structure and content of concept schemes such as thesauri, classification schemes, taxonomies, folksonomies, and other similar types of controlled vocabularies • Allows concepts to be composed and published as Linked Data on the Web • Hides the complexity of OWL - easy to use
  • 27. semantic expressiveness Ontology DL, FOL, etc OWL Data Model UML ER Thesaurus Taxonomy XML/S SKOS Folksonomy Glossary Term/Tag list complexity
  • 28. SKOS Concepts are... • ... identified with URIs • ... labeled with 1..* natural language strings • ... documented with various types of notes • ... semantically linked to each other • ... aggregated into concept schemes
  • 30. skos:Concept • Concepts are • the units of thought: ideas, meanings, categories of objects, etc. • abstract entities which are independent of the terms used to label them skos:Concept rdf:type lcsh:sh2007025344#concept @prefix skos: <http://www.w3.org/2004/02/skos/core#> . @prefix lcsh: <http://id.loc.gov/authorities/> .
  • 31. skos:(pref|alt|hidden)Label • Labels refer to concepts’ natural language(s) • skos:prefLabel: the preferred lexical label • skos:altLabel: alternative lexical labels (e.g., synonyms) • skos:hiddenLabel: labels useful for indexing "Parody films"@en skos:prefLabel lcsh:sh2007025344#concept skos:altLabel "Movie parodies"@en skos:altLabel "Send-up films"@en
  • 32. SKOS Semantic Relationships • The meaning of a concept is also defined by its links to other concepts • skos:broader: hierarchical link to a more general concept • skos:narrower: hierarchical link to a more specific concept • skos:related: associative (non-hierarchical) link skos:broader lcsh:sh2007025038#concept skos:prefLabel "Comedy films"@en skos:narrower skos:broader lcsh:sh2007025344#concept skos:prefLabel "Parody films"@en skos:narrower
  • 33. SKOS Documentary Notes • Add further human-readable documentation • skos:scopeNote: info about intended meaning • skos:definition: complete explanation of meaning • skos:example: example concept use “This heading is used as a genre/form heading for films that comically imitate lcsh:sh2007025038#concept skos:scopeNote another work or group of works of a more serious nature.”@en skos:prefLabel "Comedy films"@en
  • 34. skos:ConceptScheme • Allow the organization of skos:Concepts in some Knowledge Organization Scheme (KOS) skos:ConceptScheme lcsh:#genreFormTerms skos:inScheme skos:inScheme skos:Concept skos:Concept lcsh:sh2007025038#concept ...
  • 35. Example • Dereference and analyze “Jack Nicholson” @ New York Times • http://data.nytimes.com • http://data.nytimes.com/N5761411277431266513
  • 36.
  • 38. Why RDFa? GET http://dbpedia.org/resource/The_Shining_(film) Accept: application/rdf+xml 303 See Other Location: http://dbpedia.org/data/The_Shining_(film) Oh dear! GET http://dbpedia.org/data/The_Shining_(film) Accept: application/rdf+xml 200 OK ... <?xml version="1.0" encoding="utf-8"?> <rdf:RDF ...
  • 39. What is RDFa? • A mechanism for embedding RDF metadata within XHTML 1.1 Web documents • Defines a set of attributes to augment visual data with machine-readable hints • User agents can extract triples from RDFa- enables Web pages
  • 40. What is RDFa? • Markup human-readable data (HTML) with machine-readable indicators
  • 41. RDFa Example XHTML ... All content on this site is licensed under <a href="http://creativecommons.org/licenses/by/3.0/"> a Creative Commons License </a>. XHTML + RDFa ... All content on this site is licensed under <a rel=”license” href="http://creativecommons.org/licenses/by/3.0/"> a Creative Commons License </a>.
  • 42. RDFa Attributes • about and src: the resource the metadata is about • rel and rev: (reverse) relationship between resources • href and resource: the partner resource • property: a property for the content of an element • content: override content of an element • datatype: specify the datatype of text • typeof: specifies the RDF type(s) or a subject
  • 43. RDFa Example XHTML <div> <h2>The trouble with Bob</h2> <h3>Alice</h3> ... </div> XHTML + RDFa <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>
  • 44. RDFa Example XHTML + RDFa <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>
  • 45. RDFa Example XHTML + RDFa <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> </div>
  • 46. RDFa Examples • OReilly.com: http://oreilly.com/catalog/ 9780596520694/ • Rottentomatoes: http:// www.rottentomatoes.com/m/shining/
  • 47.
  • 48. Microformats • A Microformat extends conventional HTML tags with semantic information • Started by Technorati, Inc.; now community- driven (IRC, mailing list, blogs) • Make use of the following (X)HTML attributes • class • rel
  • 49. Microformats Example HTML <div> <div>Joe Doe</div> <div>Jo</div> <div>The Example Company</div> <div>604-555-1234</div> <a href="http://example.com/">http://example.com/</a> </div> XHTML + Microformats <head profile="http://www.w3.org/2006/03/hcard"> ... </head> ... <div class="vcard"> <div class="fn">Joe Doe</div> <div class="nickname">Jo</div> <div class="org">The Example Company</div> <div class="tel">604-555-1234</div> <a class="url" href="http://example.com/">http://example.com/</a> </div>
  • 52. Microformats vs. RDFa <div xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:v="http://www.w3.org/2006/vcard/ns#"> <div about="http://example.com/me/behas" typeof="v:VCard"> <span property="v:fn">Bernhard Haslhofer</span> <span property="v:nickname">behas</span> <div rel="v:adr"> <div typeof="v:Address v:Work"> <span property="v:street-address">301 College Avenue</span> <span property="v:locality">Ithaca</span>, <span property="v:postal-code">14850</span>, <span property="v:country-name">United States</span>. </div> </div> <a rel="v:email" href="mailto:bernhard.haslhofer@cornell.edu">bernhard.haslhofer@cornell.edu</a>. </div> </div> Sample vCard Object in RDFa (see http://www.w3.org/Submission/vcard-rdf/)
  • 53. Microformats vs. RDFa <div class="vcard"> <span class="fn">Bernhard Haslhofer</span> <div class="adr"> <div class="street-address">301 College Avenue</div> <span class="locality">Ithaca</span> <span class="postal-code">14850</span> <span class="country-name">United States</span> </div> <a class="email" href="mailto:bernhard.haslhofer@cornell.edu">bernhard.haslhofer@cornell.edu</a> </div> hCard sample created with http://microformats.org/code/hcard/creator
  • 54. Microformats RDFa flat namespace XML namespaces support HTML4, XHTML 1.1, and support for XHTML 1.1 HTML 5 use latent HTML attributes introduces new metadata attributes vocabulary defined by one open to any RDF-based vocabulary organization/community Also see: http://evan.prodromou.name/RDFa_vs_microformats
  • 55. Microdata (HTML5) • A very young HTML 5 proposition that extends Microformats and addresses its shortcomings • Items are created within an itemscope • Ever item is assigned an arbitrary number of properties (itemprop) • Uses global identifiers for typing and naming items
  • 56. Microdata Example <div itemscope itemtype="http://data-vocabulary.org/Person"> <span itemprop="name">Bernhard Haslhofer</span>, <span itemprop="nickname">behas</span>. <div itemprop="address" itemscope itemtype="http://data-vocabulary.org/Address"> <span itemprop="street-address">301 College Avenue</span> <span itemprop="locality">Ithaca</span> <span itemprop="country-name">United States</span> </div> </div>
  • 58.
  • 59. Google Rich Snippets • Reviews • People • Products • Businesses and organizations • Recipes • Events
  • 60. Google Rich Snippets HTML <div> L’Amourita Pizza Reviewed by Ulysses Grant on Jan 6. Delicious, tasty pizza on Eastlake! L'Amourita serves up traditional wood-fired Neapolitan-style pizza, brought to your table promptly and without fuss. An ideal neighborhood pizza joint. Rating: 4.5 </div>
  • 61. Google Rich Snippets Microdata <div> <div itemscope itemtype="http://data-vocabulary.org/Review"> <span itemprop="itemreviewed">L’Amourita Pizza</span> Reviewed by <span itemprop="reviewer">Ulysses Grant</span> on <time itemprop="dtreviewed" datetime="2009-01-06">Jan 6</time>. <span itemprop="summary">Delicious, tasty pizza in Eastlake!</span> <span itemprop="description">L'Amourita serves up traditional wood-fired Neapolitan-style pizza, brought to your table promptly and without fuss. An ideal neighborhood pizza joint.</span> Rating: <span itemprop="rating">4.5</span> </div> </div>
  • 62. Google Rich Snippets Microformats <div class="hreview"> <span class="item"> <span class="fn">L’Amourita Pizza</span> </span> Reviewed by <span class="reviewer">Ulysses Grant</span> on <span class="dtreviewed"> Jan 6<span class="value-title" title="2009-01-06"></span> </span>. <span class="summary">Delicious, tasty pizza on Eastlake!</span> <span class="description">L'Amourita serves up traditional wood-fired Neapolitan-style pizza, brought to your table promptly and without fuss. An ideal neighborhood pizza joint.</span> Rating: <span class="rating">4.5</span> </div>
  • 63. Google Rich Snippets RDFa <div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Review"> <span property="v:itemreviewed">L’Amourita Pizza</span> Reviewed by <span property="v:reviewer">Ulysses Grant</span> on <span property="v:dtreviewed" content="2009-01-06">Jan 6</span>. <span property="v:summary">Delicious, tasty pizza on Eastlake!</span> <span property="v:description">L'Amourita serves up traditional wood-fired Neapolitan-style pizza, brought to your table promptly and without fuss. An ideal neighborhood pizza joint.</span> Rating: <span property="v:rating">4.5</span> </div>
  • 64. Facebook Graph API & Open Graph Protocol
  • 65.
  • 66.
  • 68. Required Reading • SKOS Primer: http://www.w3.org/TR/skos-primer/ • RDFa Primer: Bridging the Human and Data Webs. http://www.w3.org/TR/xhtml-rdfa-primer/ • HTML Microdata: http://www.w3.org/TR/microdata/ • Microformats: http://microformats.org/
  • 69. Recommended Readings • SKOS Vocabularies Overview: • RDFa.info: http://rdfa.info/wiki/RDFa_Wiki • CC REL: Creative Commons Rights Expression Language (CC REL)
  • 70. Dream RDFa HTML 5 Reality Microdata ~2000 2011 source: http://upload.wikimedia.org/wikipedia/commons/a/a7/Wollmilchsau.png