SlideShare ist ein Scribd-Unternehmen logo
1 von 70
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

Ontology Engineering for the Semantic Web and beyond
Ontology Engineering for the Semantic Web and beyondOntology Engineering for the Semantic Web and beyond
Ontology Engineering for the Semantic Web and beyondPeter Geil
 
Lect6-An introduction to ontologies and ontology development
Lect6-An introduction to ontologies and ontology developmentLect6-An introduction to ontologies and ontology development
Lect6-An introduction to ontologies and ontology developmentAntonio Moreno
 
Ontologies and Vocabularies
Ontologies and VocabulariesOntologies and Vocabularies
Ontologies and Vocabulariesseanb
 
Lri Owl And Ontologies 04 04
Lri Owl And Ontologies 04 04Lri Owl And Ontologies 04 04
Lri Owl And Ontologies 04 04Rinke Hoekstra
 
Ontology and Ontology Libraries: a Critical Study
Ontology and Ontology Libraries: a Critical StudyOntology and Ontology Libraries: a Critical Study
Ontology and Ontology Libraries: a Critical StudyDebashisnaskar
 
Semantic Web Technologies For Digital Libraries
Semantic Web Technologies For Digital LibrariesSemantic Web Technologies For Digital Libraries
Semantic Web Technologies For Digital LibrariesNikesh Narayanan
 
Ontology Engineering: Introduction
Ontology Engineering: IntroductionOntology Engineering: Introduction
Ontology Engineering: IntroductionGuus Schreiber
 

Was ist angesagt? (10)

Ontology Engineering for the Semantic Web and beyond
Ontology Engineering for the Semantic Web and beyondOntology Engineering for the Semantic Web and beyond
Ontology Engineering for the Semantic Web and beyond
 
Lect6-An introduction to ontologies and ontology development
Lect6-An introduction to ontologies and ontology developmentLect6-An introduction to ontologies and ontology development
Lect6-An introduction to ontologies and ontology development
 
Ontologies and Vocabularies
Ontologies and VocabulariesOntologies and Vocabularies
Ontologies and Vocabularies
 
Ontology engineering
Ontology engineering Ontology 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
 
Ontology and Ontology Libraries: a Critical Study
Ontology and Ontology Libraries: a Critical StudyOntology and Ontology Libraries: a Critical Study
Ontology and Ontology Libraries: a Critical Study
 
Semantic Web Technologies For Digital Libraries
Semantic Web Technologies For Digital LibrariesSemantic Web Technologies For Digital Libraries
Semantic Web Technologies For Digital Libraries
 
Ontology-based Classification and Faceted Search Interface for APIs
Ontology-based Classification and Faceted Search Interface for APIsOntology-based Classification and Faceted Search Interface for APIs
Ontology-based Classification and Faceted Search Interface for APIs
 
Semantic Digital Libraries
Semantic Digital LibrariesSemantic Digital Libraries
Semantic Digital Libraries
 
Ontology Engineering: Introduction
Ontology Engineering: IntroductionOntology Engineering: Introduction
Ontology Engineering: Introduction
 

Andere mochten auch

KGH S05 E01 Codeurs
KGH S05 E01 CodeursKGH S05 E01 Codeurs
KGH S05 E01 CodeursTheFamily
 
Presentaci{on p.p. primeros auxilios
Presentaci{on p.p. primeros auxiliosPresentaci{on p.p. primeros auxilios
Presentaci{on p.p. primeros auxiliosMartha Miranda
 
Xacobeo 2010 catedral de santiago
Xacobeo 2010 catedral de santiagoXacobeo 2010 catedral de santiago
Xacobeo 2010 catedral de santiagorlopesan
 
The bank at your fingertips
The bank at your fingertipsThe bank at your fingertips
The bank at your fingertipsBernet Partner
 
Catálogo de Cursos Primer Semestre
Catálogo de Cursos Primer SemestreCatálogo de Cursos Primer Semestre
Catálogo de Cursos Primer SemestreCristian Cordero
 
El Pensamiento Visual en la Escuela Ccesa007
El Pensamiento Visual en la  Escuela  Ccesa007El Pensamiento Visual en la  Escuela  Ccesa007
El Pensamiento Visual en la Escuela Ccesa007Demetrio Ccesa Rayme
 
De un horizonte incierto en salud mental
De un horizonte incierto en salud mentalDe un horizonte incierto en salud mental
De un horizonte incierto en salud mentalvjs1975
 
Princeps cantabrorum en una nueva inscripción Valmartino León
Princeps cantabrorum en una nueva inscripción Valmartino LeónPrinceps cantabrorum en una nueva inscripción Valmartino León
Princeps cantabrorum en una nueva inscripción Valmartino LeónHistoria de Cantabria
 
Sistemas de información gerencial (sig comercial)
Sistemas de información gerencial (sig comercial)Sistemas de información gerencial (sig comercial)
Sistemas de información gerencial (sig comercial)artblau
 
Copyof businessopportunities.ppt (1)
Copyof businessopportunities.ppt (1)Copyof businessopportunities.ppt (1)
Copyof businessopportunities.ppt (1)Ron Verbrugge
 
As5110 5100 3100 Eng Olm 0425
As5110 5100 3100 Eng Olm 0425As5110 5100 3100 Eng Olm 0425
As5110 5100 3100 Eng Olm 0425guestdee8e1
 
Tuda lathes series pros, myler, and apoc brochure
Tuda lathes series pros, myler, and apoc brochureTuda lathes series pros, myler, and apoc brochure
Tuda lathes series pros, myler, and apoc brochureNguyen Hoang Hai Chau
 
La Técnica de División de Sistemas de Pensamiento
La Técnica de División de Sistemas de PensamientoLa Técnica de División de Sistemas de Pensamiento
La Técnica de División de Sistemas de PensamientoRodrigo Villamil V.
 
Kinky Boots filmi pazarlama açısından analizi / Mehmet Tığlı / BrandMap
Kinky Boots filmi pazarlama açısından analizi / Mehmet Tığlı / BrandMapKinky Boots filmi pazarlama açısından analizi / Mehmet Tığlı / BrandMap
Kinky Boots filmi pazarlama açısından analizi / Mehmet Tığlı / BrandMapbrandmap
 
Planificacion entrenamiento
Planificacion entrenamientoPlanificacion entrenamiento
Planificacion entrenamientoDAVELIA
 

Andere mochten auch (20)

KGH S05 E01 Codeurs
KGH S05 E01 CodeursKGH S05 E01 Codeurs
KGH S05 E01 Codeurs
 
Presentaci{on p.p. primeros auxilios
Presentaci{on p.p. primeros auxiliosPresentaci{on p.p. primeros auxilios
Presentaci{on p.p. primeros auxilios
 
ACE PAD March 25
ACE PAD March 25ACE PAD March 25
ACE PAD March 25
 
A zombie company
A zombie companyA zombie company
A zombie company
 
Xacobeo 2010 catedral de santiago
Xacobeo 2010 catedral de santiagoXacobeo 2010 catedral de santiago
Xacobeo 2010 catedral de santiago
 
The bank at your fingertips
The bank at your fingertipsThe bank at your fingertips
The bank at your fingertips
 
Catálogo de Cursos Primer Semestre
Catálogo de Cursos Primer SemestreCatálogo de Cursos Primer Semestre
Catálogo de Cursos Primer Semestre
 
El Pensamiento Visual en la Escuela Ccesa007
El Pensamiento Visual en la  Escuela  Ccesa007El Pensamiento Visual en la  Escuela  Ccesa007
El Pensamiento Visual en la Escuela Ccesa007
 
De un horizonte incierto en salud mental
De un horizonte incierto en salud mentalDe un horizonte incierto en salud mental
De un horizonte incierto en salud mental
 
Princeps cantabrorum en una nueva inscripción Valmartino León
Princeps cantabrorum en una nueva inscripción Valmartino LeónPrinceps cantabrorum en una nueva inscripción Valmartino León
Princeps cantabrorum en una nueva inscripción Valmartino León
 
Sistemas de información gerencial (sig comercial)
Sistemas de información gerencial (sig comercial)Sistemas de información gerencial (sig comercial)
Sistemas de información gerencial (sig comercial)
 
Copyof businessopportunities.ppt (1)
Copyof businessopportunities.ppt (1)Copyof businessopportunities.ppt (1)
Copyof businessopportunities.ppt (1)
 
Dossier pdf
Dossier pdfDossier pdf
Dossier pdf
 
As5110 5100 3100 Eng Olm 0425
As5110 5100 3100 Eng Olm 0425As5110 5100 3100 Eng Olm 0425
As5110 5100 3100 Eng Olm 0425
 
Tuda lathes series pros, myler, and apoc brochure
Tuda lathes series pros, myler, and apoc brochureTuda lathes series pros, myler, and apoc brochure
Tuda lathes series pros, myler, and apoc brochure
 
Presentación APA
Presentación APAPresentación APA
Presentación APA
 
La Técnica de División de Sistemas de Pensamiento
La Técnica de División de Sistemas de PensamientoLa Técnica de División de Sistemas de Pensamiento
La Técnica de División de Sistemas de Pensamiento
 
Kinky Boots filmi pazarlama açısından analizi / Mehmet Tığlı / BrandMap
Kinky Boots filmi pazarlama açısından analizi / Mehmet Tığlı / BrandMapKinky Boots filmi pazarlama açısından analizi / Mehmet Tığlı / BrandMap
Kinky Boots filmi pazarlama açısından analizi / Mehmet Tığlı / BrandMap
 
Official welcome aboard package
Official welcome aboard packageOfficial welcome aboard package
Official welcome aboard package
 
Planificacion entrenamiento
Planificacion entrenamientoPlanificacion entrenamiento
Planificacion entrenamiento
 

Ähnlich wie Lecture4202011 110420175305-phpapp01

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
 
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
 
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
 
Semantic technology in nutshell 2013. Semantic! are you a linguist?
Semantic technology in nutshell 2013. Semantic! are you a linguist?Semantic technology in nutshell 2013. Semantic! are you a linguist?
Semantic technology in nutshell 2013. Semantic! are you a linguist?Heimo Hänninen
 
UMBEL: Subject Concepts Layer for the Web
UMBEL: Subject Concepts Layer for the WebUMBEL: Subject Concepts Layer for the Web
UMBEL: Subject Concepts Layer for the WebMike Bergman
 
Linked Open Data in the World of Patents
Linked Open Data in the World of Patents Linked Open Data in the World of Patents
Linked Open Data in the World of Patents Dr. Haxel Consult
 

Ähnlich wie Lecture4202011 110420175305-phpapp01 (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
 
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
 
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
 
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)
 
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...
 
Semantic technology in nutshell 2013. Semantic! are you a linguist?
Semantic technology in nutshell 2013. Semantic! are you a linguist?Semantic technology in nutshell 2013. Semantic! are you a linguist?
Semantic technology in nutshell 2013. Semantic! are you a linguist?
 
UMBEL: Subject Concepts Layer for the Web
UMBEL: Subject Concepts Layer for the WebUMBEL: Subject Concepts Layer for the Web
UMBEL: Subject Concepts Layer for the Web
 
Semantics
SemanticsSemantics
Semantics
 
Linked Open Data in the World of Patents
Linked Open Data in the World of Patents Linked Open Data in the World of Patents
Linked Open Data in the World of Patents
 

Kürzlich hochgeladen

UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 

Kürzlich hochgeladen (20)

UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 

Lecture4202011 110420175305-phpapp01

  • 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