SlideShare a Scribd company logo
1 of 55
>oa 04-05- pec>                                                                    O
                                                                           .org/ 001/XM / http://
                                                                                                  L
   p>20 re</setS                                                         s
                                                                  hive .org/2               ai_d
                                                                                                  c
m        tu                                                narc .w3                      /o
c  >Pi c                                           w.ope /www                     I/2.0
                                          ://ww "http:/ s.org/OA
 r>                         d c=  "http :xsi=                hive                           :title
                                                                                                   >
  a ta> lns:oai_ 1/" xmln .openar d">
                                            s              c
                                                                                   e ]</dc
           m                 .               w               s              ictur
  c
    Web 3.0, an introduction to the
 rg /      L
            l
              o
                          1
    :dc x ements/ http://ww /oai_dc. 32, 3] [p
      dc/e cation=" /OAI/2.0 e, [ca. 1
                             rg             d g
                                                           x

                                                            r
                                                             9
                                                              >              cm.<
                                                                                     /dc:f
                                                                                           o rmat
                                                                                                    >
                                                                                                                                        d
                                                                                                                                               uring -
                                                                                                                                          ge d .pic
ch   ema chives.o bour Bri ublishe .6 x 8.9                                                                                    u  r Bri au/nla
           ar              ar               c:p p;w ; 6 rage>                                                             arbo a.gov.
w
        >
         n
          S semantic web
  .ope ydney H 1932]</d &am
                          .
  :title sher>[ca tograph Wales</
                                          :b             d c:co
                                                                  v e
                                                                                                       e
                                                                                                of th rnet a
                                                                                                                        H
                                                                                                                ney tp://nl
                                                                                                          Syd t: ht
        bli              o
   :pu at>1 ph w Sout verage             h               >                         o gr aphs e Inte                            b ject> t>
 c
         m                e                c o                              phot on via th                                c:su ubjec
d  c:for erage>N 32</dc:                                         u m of versi                                   h s.</d /dc:s
        o v              19 date>                       n : Alb ronic                                    grap phs.<                                ction
 dc:c verage> /dc:                              l ectio elect
                                                                                                      to
                                                                                               Pho otogra                                  o nstru
        co               2<              f col in an                                   ey -- -- Ph                                   ing c
<dc: ate>193 n>Part o lable                                                  -  Sydn .W.)                                  g e du
                                                                                                                                   r
  <d   c:d criptio                    vai on>              @paulhagon les - y, N.S                                 r Brid
            e s                lso a cripti                  th Wa ydne                                    rbou
      dc:d ction.; A :des                             Sou ge (S                                     y Ha
    <
            tru 8.</dc                     -- New r Brid                                    yd n e                                                    it for
     cons 829                    d ges arbou                                       f the S                                                   t
                                                                                                                                                   e
                                                                                                                                              o us oll/
      vn 307 ject>Bri ney H                                               p hs o                                        >              wish /digic
                u b              y d               e>< hotogra                                                 o urce y. If you ov.au
         dc:s bject>S </dc:typ of p                                                    r >             /dc:s stud                     .g         o n.</
       <
                su               ge               um                            ntifie ustralia< h and                        w.nla ermissi
        <dc: ype>Ima rt of: Alb                                        d c:ide of A                 a  rc           tp ://ww uest p
              c:t              Pa               >               98</ ibrary                  rese quot;ht to req
         <d lation> elation                            0782 nal L                     e for ref=&                   t;
          dc   :re ].</dc:r                    c -vn3 atio                    i mag lt;a h                   /a&g
                       e                la.pi d by N                    this he &                   i a&lt;
                     r
             pictu entifier> m hel
                                      n
                                                             r print tact t                  stral
            [
                    id               te               ve o st con                     of Au                         tifier
                                                                                                                           >
              <dc: ource>I may sa u mu                                      ibrar
                                                                                    y
                                                                                                          c :iden
                  c:s ts>You es, yo                                 nal L                         8</d
               <d igh                     o s            t;Nat
                                                                 io
                                                                                         0 7829
                < dc:r er purp quot;&g                                           c -vn3
                        oth html&                                      /n la.pi
                 any ight.                                      v.au
                         yr
                  cop hts>                            n la.go
                                               ttp://
                   d  c:rig ntifier>h
                     <d  c:ide
http://www4.wiwiss.fu-berlin.de/bizer/pub/lod-datasets_2009-03-05_colored.png
Semantic web, you probably see diagrams that make no sense like this.
PREDICATES
                      OWL
                                           CURIE
    TRIPLES
                                           SPARQL
                       RDF
Lots & lots of confusing scary acronyms
Web 1.0
                                  1993
                            Hyperlinks, static,
                              consumption


It’s worth going back in history. Web 1.0 was static. Publishers built things & people came & read them.
Web 2.0
                                  2004
                           2 way, interactive,
                           producing, social


Web 2.0 - social web. People became the publishers, websites became the mechanism to allow people to connect (Flickr, Twitter,
Facebook, Wikipedia).
Web 3.0
                    ~2010
           Semantic, machine driven



Web 3.0 - semantic, machine to machine, putting meaning behind the structure/content of websites.
What does semantic web mean. Lets say you do a search for a recipe on Google. Notice the search results, there’s reviews with
star ratings, there is ingredient facets, cooking time facets, kilojoule facets. How does this work?
Microdata, Microformats and RDFa. All methods of describing content and the relationships between content.
<a href=”http://creativecommons.org/licenses/by/3.0/”>
     <img src=”http://i.creativecommons.org/l/by/3.0/88x31.png”>
  </a>




Let’s look at the basic HTML structure behind these mechanisms. Something every page has - license information. This is
typically marked up like this as a link. There’s no meaning to the link, it could be a link to anywhere.
<a rel=”license” href=”http://creativecommons.org/licenses/by/3.0/”>
     <img src=”http://i.creativecommons.org/l/by/3.0/88x31.png”>
  </a>




By adding in an attribute describing what the link is, suddenly we have turned the link from a normal link into something with
some semantic meaning. This is what all of these formats do, they add in extra descriptive markup.
schema.org A place that describes all the markup you can add for search engines (Google, Bing, Yahoo).
At this page you can see schemas for all sorts of common things - books, maps, music, photographs, recipies, reviews,
scultpure, organisations, places and more.
<div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Recipe">
         <h1 property="v:name">Grandma's Holiday Apple Pie</h1>
         <img src="apple-pie.jpg" rel="v:photo"/>
         By <span property="v:author">Carol Smith</span>
         Published: <span property="v:published" content="2009-11-05">November 5,
  2009</span>
         <span property="v:summary">This is my grandmother's apple pie recipe. I
  like to add a dash of nutmeg.</span>
         <span rel="v:Review">
                <span typeof="v:Review-aggregate">
                     <span rel="v:rating">
                          <span typeof="v:Rating">
                               <span property="v:average">4.0</span> stars based on
                               <span property="v:count">35</span> reviews
                          </span>
                     </span>
                </span>
         </span>
         Prep time: <span property="v:prepTime" content="PT30M">30 min</span>
         Cook time: <span property="v:cookTime" content="PT1H">1 hour</span>
         Total time: <span property="v:totalTime" content="PT1H30M">1 hour 30 min<
  span>
         Yield: <span property="v:yield">1 9" pie (8 servings)</span>
         <span rel="v:nutrition">
                <span typeof="v:Nutrition">
                   Serving size: <span property="v:servingSize">1 medium slice</span>
                   Calories per serving: <span property="v:calories">250</span>
                   Fat per serving: <span property="v:fat">12g</span>
Let’s look at </span> the Google recipe example. This is marked up with RDFa. Don’t worry too much about the meanings
                the HTML of
         </span>
yet as I’ll try to describe them all later.
         Ingredients:
<div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Recipe">
       <h1 property="v:name">Grandma's Holiday Apple Pie</h1>
       <img src="apple-pie.jpg" rel="v:photo"/>
       By <span property="v:author">Carol Smith</span>
       Published: <span property="v:published" content="2009-11-05">November 5,
  2009</span>
       <span property="v:summary">This is my grandmother's apple pie recipe. I
  like to add a dash of nutmeg.</span>
       <span rel="v:Review">
            <span typeof="v:Review-aggregate">
                <span rel="v:rating">
                     <span typeof="v:Rating">
                        <span property="v:average">4.0</span> stars based on
                        <span property="v:count">35</span> reviews
                     </span>
                </span>
            </span>
       </span>
       Prep time: <span property="v:prepTime" content="PT30M">30 min</span>
       Cook time: <span property="v:cookTime" content="PT1H">1 hour</span>
       Total time: <span property="v:totalTime" content="PT1H30M">1 hour 30 min<
  span>
       Yield: <span property="v:yield">1 9" pie (8 servings)</span>
       <span rel="v:nutrition">
            <span typeof="v:Nutrition">
              Serving size: <span property="v:servingSize">1 medium slice</span>
              Calories per serving: <span property="v:calories">250</span>
              Fat per serving: <span property="v:fat">12g</span>
This defines </span>information about the content of the page.
            some basic
       </span>
       Ingredients:
<div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Recipe">
       <h1 property="v:name">Grandma's Holiday Apple Pie</h1>
       <img src="apple-pie.jpg" rel="v:photo"/>
       By <span property="v:author">Carol Smith</span>
       Published: <span property="v:published" content="2009-11-05">November 5,
  2009</span>
       <span property="v:summary">This is my grandmother's apple pie recipe. I
  like to add a dash of nutmeg.</span>
       <span rel="v:Review">
            <span typeof="v:Review-aggregate">
                  <span rel="v:rating">
                       <span typeof="v:Rating">
                             <span property="v:average">4.0</span> stars based on
                             <span property="v:count">35</span> reviews
                       </span>
                  </span>
            </span>
       </span>
       Prep time: <span property="v:prepTime" content="PT30M">30 min</span>
       Cook time: <span property="v:cookTime" content="PT1H">1 hour</span>
       Total time: <span property="v:totalTime" content="PT1H30M">1 hour 30 min<
  span>
       Yield: <span property="v:yield">1 9" pie (8 servings)</span>
       <span rel="v:nutrition">
            <span typeof="v:Nutrition">
                Serving size: <span property="v:servingSize">1 medium slice</span>
                Calories per serving: <span property="v:calories">250</span>
                Fat per serving: <span property="v:fat">12g</span>
            </span>
This describes the star ratings
       </span>
       Ingredients:
<span property="v:count">35</span> reviews
                      </span>
                  </span>
           </span>
       </span>
       Prep time: <span property="v:prepTime" content="PT30M">30 min</span>
       Cook time: <span property="v:cookTime" content="PT1H">1 hour</span>
       Total time: <span property="v:totalTime" content="PT1H30M">1 hour 30 min<
  span>
       Yield: <span property="v:yield">1 9" pie (8 servings)</span>
       <span rel="v:nutrition">
           <span typeof="v:Nutrition">
                Serving size: <span property="v:servingSize">1 medium slice</span>
                Calories per serving: <span property="v:calories">250</span>
                Fat per serving: <span property="v:fat">12g</span>
           </span>
       </span>
       Ingredients:
       <span rel="v:ingredient">
           <span typeof="v:Ingredient">
                  Thinly-sliced <span property="v:name">apples</span>:
                  <span property="v:amount">6 cups</span>
          </span>
       </span>
       <span rel="v:ingredient">
           <span typeof="v:Ingredient">
                  <span property="v:name">White sugar</span>:
                  <span property="v:amount">3/4 cup</span>
           </span>
       </span>  
Further down it’s marked up with times, nutritional values, ingredients, etc.
       ...
So you can see from the markup, how Google can use this information to build the results page with the reviews, the facets for
time, ingredients and nutritional value. If those added bits of information weren’t added into the markup this couldn’t be built.
Pages that have this extra markup in them tend to rank higher in Google that pages that don’t have this specific markup in
them.
Let’s enter into the world of the semantic web. Now there’s lots of scary terms when you start heading down this path - Triples,
predicates, SPARQL. The basics really aren’t that scary, but immensely powerful. So let’s dive into the basics of RDFa.
R
                            Resource
                            D
                            Description
                            F
                            Framework
                            a
                            attributes

RDFa - RDF in attributes.
Frank Hurley




Lets start with a subject
Frank Hurley
                 takes


a predicate
Frank Hurley
                    takes
                 photographs

and an object.
Subject                      Frank Hurley
 Predicate                                        takes
 Object                      photographs

These three things make up a triple. with a subject, predicate & object.
Subject




                                        http://nla.gov.au/nla.pic-an25043941




You have a subject - in this case the URL of the photo
Objects
                       Exterior of....                             -37.816068


                                                                                                 144.961201

           Museum



                                        http://nla.gov.au/nla.pic-an25043941




                                         1961                        1 negative : b&w ; 12.5 x 10.0 cm.




You have objects that are related to the subject, but they are meaningless without...
Predicates
                       Exterior of....                  -37.816068


                                                                                     144.961201
                                           Title
                                                            Latitude
           Museum
                                                                                  Longitude

             Coverage                http://nla.gov.au/nla.pic-an25043941



                                         Date                          Format




                                         1961            1 negative : b&w ; 12.5 x 10.0 cm.




Predicates. These form triples.
Finding namespaces


One of the beauties of this system is it’s supposed to be extensible, if there isn’t an existing namespace you can write your own
(yuk). You can guarantee that 15 different organisations will write 15 different versions. We’ve seen this already in the examples
from schema.org, Dublin Core
CURIE
                                   dc:creator

          http://purl.org/dc/elements/1.1/creator



                               The property called creator
                               from the vocabulary
                               identified by dc

Compact URI’s called Curies.
dc:creator
            An entity primarily responsible for
            making the resource.

            Examples of a Creator include a
            person, an organization, or a service.
            Typically, the name of a Creator
            should be used to indicate the entity.



It’s something that has a meaning & it’s something that should be being used consistently across all the cases that use it.
dc:title
                                         dc:creator
                                         dc:subject
                                         dc:coverage
                                         dc:relation
                                         dc:identifier
                                         dc:rights
                                         dc:type
                                         ...
So we can fill in the blanks for all of these bits of information
foaf:person
                foaf:knows
                foaf:isPrimaryTopicOf



In addition, we can also mark it up using other schemes, so people can be marked up with their relationships.
Let’s have a look at Flickr. With Flickr you can add tags, to help describe the image. If you add in tags in a special format they
are known as machine tags.
Now “machine tags” are a special type of tag. They actually start to describe the image & provide extra information. In this case
geo:lat= something geo:lon= something. However, they don’t actually link to a description, so although they copy, there isn’t
quite the same degree of semantic structure to them.
In the library world we typically have a MARC record as our master record. Very ugly, but very structured. Fields with all their
arcane subfields, each is defined and has a distinct meaning.
We sometimes transpose that data into other formats. This is an export of our data from our OAI-PMH interface & you can see
that it’s in XML & it’s rich, everything has a value, it conforms to a standard structure - Dublin Core. Compared to MARC it’s a bit
more human readable.
We then take this information and present it on the web in HTML. But if we look at a web page, this rich markup is lost. In our
HTML we have basic markup that Gives a bit of weight to various parts of the page.
H1




We have an H1 tag that gives some weight to the most important thing on the page - the title.
H1




       TH               TD


We mark up the rest of the information in a table. There’s an implied relationship between the table headings and the table data,
but we’re not saying what that relationship is. It could be anything.
At a basic machine level, there really isn’t a lot that is describing these elements and there isn’t anything that makes these
specific.
<div>
 <h1>[Sydney Harbour scene with naval vessels in foreground, and Harbour Bridge in
 distance] [picture] /</h1>
 <table>
   <tr>
     <th>Date</th>
     <td>[between 1910 and 1962]</td>
   </tr>
   <tr>
     <th>Format</th>
     <td>1 negative : acetate, b&w ; 8.7 x 12.1 cm.</td>
   </tr>
   <tr>
     <th>Online Versions</th>
     <td>http://nla.gov.au/nla.pic-an23417397</td>
   </tr>
 </table>
 </div>




In this case it’s a table. there is an implicit relationship between the table header & the table data
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/
 xhtml-rdfa-1.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
 	 xmlns:dc="http://purl.org/dc/elements/1.1/"
 	 xmlns:foaf="http://xmlns.com/foaf/0.1/">


 <div about="http://nla.gov.au/nla.pic-an23417397">
 <h1>[Sydney Harbour scene with naval vessels in foreground, and Harbour Bridge in
 distance] [picture] /</h1>
 <table>
   <tr>
     <th>Date</th>
     <td>[between 1910 and 1962]</td>
   </tr>
   <tr>
     <th>Format</th>
     <td>1 negative : acetate, b&w ; 8.7 x 12.1 cm.</td>
   </tr>
   <tr>
     <th>Online Versions</th>
     <td>http://nla.gov.au/nla.pic-an23417397</td>
   </tr>
 </table>
 </div>




Let’s start to use RDFa to start to build specific relationships on the page. Let’s start with our subject.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/
 xhtml-rdfa-1.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
 	 xmlns:dc="http://purl.org/dc/elements/1.1/"
 	 xmlns:foaf="http://xmlns.com/foaf/0.1/">


 <div about="http://nla.gov.au/nla.pic-an23417397">
 <h1 property="dc:title">[Sydney Harbour scene with naval vessels in foreground, and
 Harbour Bridge in distance] [picture] /</h1>
 <table>
   <tr>
     <th>Date</th>
     <td property="dc:date">[between 1910 and 1962]</td>
   </tr>
   <tr>
     <th>Format</th>
     <td property="dc:format">1 negative : acetate, b&w ; 8.7 x 12.1 cm.</td>
   </tr>
   <tr>
     <th>Online Versions</th>
     <td property="dc:identifier">http://nla.gov.au/nla.pic-an23417397</td>
   </tr>
 </table>
 </div>




Predicates as attributes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/
 xhtml-rdfa-1.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
 	 xmlns:dc="http://purl.org/dc/elements/1.1/"
 	 xmlns:foaf="http://xmlns.com/foaf/0.1/">


 <div about="http://nla.gov.au/nla.pic-an23417397">
 <h1 property="dc:title">[Sydney Harbour scene with naval vessels in foreground, and
 Harbour Bridge in distance] [picture] /</h1>
 <table>
   <tr>
     <th>Date</th>
     <td property="dc:date">[between 1910 and 1962]</td>
   </tr>
   <tr>
     <th>Format</th>
     <td property="dc:format">1 negative : acetate, b&w ; 8.7 x 12.1 cm.</td>
   </tr>
   <tr>
     <th>Online Versions</th>
     <td property="dc:identifier">http://nla.gov.au/nla.pic-an23417397</td>
   </tr>
 </table>
 </div>




And the objects are the values marked up within the tags.
This is a little geo-explorer application I built. The underlying code has been built incorporating RDFa. As you can see visually, it
looks just like any normal webpage, there is nothing special about it.
By using a Firefox plugin (Fuzz) I can see the underlying semantic structure that exists beyond the visual - what a machine
would see.
RDF
                       Exterior of....                               -37.816068


                                                                                                            144.961201
                                               Title
                                                                            Latitude
           Museum
                                                                                                        Longitude

             Coverage                    http://nla.gov.au/nla.pic-an25043941


                                                                      Creator

                                                        Sievers, Wolfgang                     TypeOf

                                                                                                              Person
                                        isPrimaryTopicOf


                                                 http://nla.gov.au/nla.party-558817

It’s a bit easier to see the semantic relationships as a graph. You’ll often see this sort of representation of semantics. You’ll
notice that there’s now semantic linkages between 2 different URL’s - neat.
OWL
                             Web Ontology language

  Used to describe the meanings of terms in
 vocabularies and the relationships between
 the terms. Used for applications rather than
            human presentation.



OWL - complex rules defining the properties.
SPARQL


Sparql. SQL for RDF.
What are the capital cities in
              countries within Africa?

   PREFIX abc: <http://example.com/exampleOntology#>
   SELECT ?capital ?country
   WHERE {
     ?x abc:cityname ?capital ;
        abc:isCapitalOf ?y .
     ?y abc:countryname ?country ;
        abc:isInContinent abc:Africa .
   }




                                                                                http://en.wikipedia.org/wiki/SPARQL
An example query that returns all the capital cities in countries within Africa. You might want to query all the books that were
published by a company where the authors were born in Melbourne.
Markup HTML using RDFa

        Provide RDF output in API’s



What can libraries start to do? This leads to data reuse, mashups, applications. Increased Google rank.
Use external resources such as dbpedia.org - Community effort to extract data from wikipedia & make it available. This is
entering the world of linked data.
See the different spellings of Canberra - we don’t need to know all of these, but can extract them from other resources - linked
data.
For further info, there’s a couple of really good presentations from Sir Tim Berners-Lee on TED
Thanks!



Thank you.
Thanks!
             phagon@nla.gov.au
                @paulhagon




Thank you.

More Related Content

Recently uploaded

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 

Recently uploaded (20)

Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Web 3.0

  • 1. >oa 04-05- pec> O .org/ 001/XM / http:// L p>20 re</setS s hive .org/2 ai_d c m tu narc .w3 /o c >Pi c w.ope /www I/2.0 ://ww "http:/ s.org/OA r> d c= "http :xsi= hive :title > a ta> lns:oai_ 1/" xmln .openar d"> s c e ]</dc m . w s ictur c Web 3.0, an introduction to the rg / L l o 1 :dc x ements/ http://ww /oai_dc. 32, 3] [p dc/e cation=" /OAI/2.0 e, [ca. 1 rg d g x r 9 > cm.< /dc:f o rmat > d uring - ge d .pic ch ema chives.o bour Bri ublishe .6 x 8.9 u r Bri au/nla ar ar c:p p;w ; 6 rage> arbo a.gov. w > n S semantic web .ope ydney H 1932]</d &am . :title sher>[ca tograph Wales</ :b d c:co v e e of th rnet a H ney tp://nl Syd t: ht bli o :pu at>1 ph w Sout verage h > o gr aphs e Inte b ject> t> c m e c o phot on via th c:su ubjec d c:for erage>N 32</dc: u m of versi h s.</d /dc:s o v 19 date> n : Alb ronic grap phs.< ction dc:c verage> /dc: l ectio elect to Pho otogra o nstru co 2< f col in an ey -- -- Ph ing c <dc: ate>193 n>Part o lable - Sydn .W.) g e du r <d c:d criptio vai on> @paulhagon les - y, N.S r Brid e s lso a cripti th Wa ydne rbou dc:d ction.; A :des Sou ge (S y Ha < tru 8.</dc -- New r Brid yd n e it for cons 829 d ges arbou f the S t e o us oll/ vn 307 ject>Bri ney H p hs o > wish /digic u b y d e>< hotogra o urce y. If you ov.au dc:s bject>S </dc:typ of p r > /dc:s stud .g o n.</ < su ge um ntifie ustralia< h and w.nla ermissi <dc: ype>Ima rt of: Alb d c:ide of A a rc tp ://ww uest p c:t Pa > 98</ ibrary rese quot;ht to req <d lation> elation 0782 nal L e for ref=& t; dc :re ].</dc:r c -vn3 atio i mag lt;a h /a&g e la.pi d by N this he & i a&lt; r pictu entifier> m hel n r print tact t stral [ id te ve o st con of Au tifier > <dc: ource>I may sa u mu ibrar y c :iden c:s ts>You es, yo nal L 8</d <d igh o s t;Nat io 0 7829 < dc:r er purp quot;&g c -vn3 oth html& /n la.pi any ight. v.au yr cop hts> n la.go ttp:// d c:rig ntifier>h <d c:ide
  • 3. PREDICATES OWL CURIE TRIPLES SPARQL RDF Lots & lots of confusing scary acronyms
  • 4. Web 1.0 1993 Hyperlinks, static, consumption It’s worth going back in history. Web 1.0 was static. Publishers built things & people came & read them.
  • 5. Web 2.0 2004 2 way, interactive, producing, social Web 2.0 - social web. People became the publishers, websites became the mechanism to allow people to connect (Flickr, Twitter, Facebook, Wikipedia).
  • 6. Web 3.0 ~2010 Semantic, machine driven Web 3.0 - semantic, machine to machine, putting meaning behind the structure/content of websites.
  • 7. What does semantic web mean. Lets say you do a search for a recipe on Google. Notice the search results, there’s reviews with star ratings, there is ingredient facets, cooking time facets, kilojoule facets. How does this work?
  • 8. Microdata, Microformats and RDFa. All methods of describing content and the relationships between content.
  • 9. <a href=”http://creativecommons.org/licenses/by/3.0/”> <img src=”http://i.creativecommons.org/l/by/3.0/88x31.png”> </a> Let’s look at the basic HTML structure behind these mechanisms. Something every page has - license information. This is typically marked up like this as a link. There’s no meaning to the link, it could be a link to anywhere.
  • 10. <a rel=”license” href=”http://creativecommons.org/licenses/by/3.0/”> <img src=”http://i.creativecommons.org/l/by/3.0/88x31.png”> </a> By adding in an attribute describing what the link is, suddenly we have turned the link from a normal link into something with some semantic meaning. This is what all of these formats do, they add in extra descriptive markup.
  • 11. schema.org A place that describes all the markup you can add for search engines (Google, Bing, Yahoo).
  • 12. At this page you can see schemas for all sorts of common things - books, maps, music, photographs, recipies, reviews, scultpure, organisations, places and more.
  • 13. <div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Recipe"> <h1 property="v:name">Grandma's Holiday Apple Pie</h1> <img src="apple-pie.jpg" rel="v:photo"/> By <span property="v:author">Carol Smith</span> Published: <span property="v:published" content="2009-11-05">November 5, 2009</span> <span property="v:summary">This is my grandmother's apple pie recipe. I like to add a dash of nutmeg.</span> <span rel="v:Review"> <span typeof="v:Review-aggregate"> <span rel="v:rating"> <span typeof="v:Rating"> <span property="v:average">4.0</span> stars based on <span property="v:count">35</span> reviews </span> </span> </span> </span> Prep time: <span property="v:prepTime" content="PT30M">30 min</span> Cook time: <span property="v:cookTime" content="PT1H">1 hour</span> Total time: <span property="v:totalTime" content="PT1H30M">1 hour 30 min< span> Yield: <span property="v:yield">1 9" pie (8 servings)</span> <span rel="v:nutrition"> <span typeof="v:Nutrition"> Serving size: <span property="v:servingSize">1 medium slice</span> Calories per serving: <span property="v:calories">250</span> Fat per serving: <span property="v:fat">12g</span> Let’s look at </span> the Google recipe example. This is marked up with RDFa. Don’t worry too much about the meanings the HTML of </span> yet as I’ll try to describe them all later. Ingredients:
  • 14. <div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Recipe"> <h1 property="v:name">Grandma's Holiday Apple Pie</h1> <img src="apple-pie.jpg" rel="v:photo"/> By <span property="v:author">Carol Smith</span> Published: <span property="v:published" content="2009-11-05">November 5, 2009</span> <span property="v:summary">This is my grandmother's apple pie recipe. I like to add a dash of nutmeg.</span> <span rel="v:Review"> <span typeof="v:Review-aggregate"> <span rel="v:rating"> <span typeof="v:Rating"> <span property="v:average">4.0</span> stars based on <span property="v:count">35</span> reviews </span> </span> </span> </span> Prep time: <span property="v:prepTime" content="PT30M">30 min</span> Cook time: <span property="v:cookTime" content="PT1H">1 hour</span> Total time: <span property="v:totalTime" content="PT1H30M">1 hour 30 min< span> Yield: <span property="v:yield">1 9" pie (8 servings)</span> <span rel="v:nutrition"> <span typeof="v:Nutrition"> Serving size: <span property="v:servingSize">1 medium slice</span> Calories per serving: <span property="v:calories">250</span> Fat per serving: <span property="v:fat">12g</span> This defines </span>information about the content of the page. some basic </span> Ingredients:
  • 15. <div xmlns:v="http://rdf.data-vocabulary.org/#" typeof="v:Recipe"> <h1 property="v:name">Grandma's Holiday Apple Pie</h1> <img src="apple-pie.jpg" rel="v:photo"/> By <span property="v:author">Carol Smith</span> Published: <span property="v:published" content="2009-11-05">November 5, 2009</span> <span property="v:summary">This is my grandmother's apple pie recipe. I like to add a dash of nutmeg.</span> <span rel="v:Review"> <span typeof="v:Review-aggregate"> <span rel="v:rating"> <span typeof="v:Rating"> <span property="v:average">4.0</span> stars based on <span property="v:count">35</span> reviews </span> </span> </span> </span> Prep time: <span property="v:prepTime" content="PT30M">30 min</span> Cook time: <span property="v:cookTime" content="PT1H">1 hour</span> Total time: <span property="v:totalTime" content="PT1H30M">1 hour 30 min< span> Yield: <span property="v:yield">1 9" pie (8 servings)</span> <span rel="v:nutrition"> <span typeof="v:Nutrition"> Serving size: <span property="v:servingSize">1 medium slice</span> Calories per serving: <span property="v:calories">250</span> Fat per serving: <span property="v:fat">12g</span> </span> This describes the star ratings </span> Ingredients:
  • 16. <span property="v:count">35</span> reviews </span> </span> </span> </span> Prep time: <span property="v:prepTime" content="PT30M">30 min</span> Cook time: <span property="v:cookTime" content="PT1H">1 hour</span> Total time: <span property="v:totalTime" content="PT1H30M">1 hour 30 min< span> Yield: <span property="v:yield">1 9" pie (8 servings)</span> <span rel="v:nutrition"> <span typeof="v:Nutrition"> Serving size: <span property="v:servingSize">1 medium slice</span> Calories per serving: <span property="v:calories">250</span> Fat per serving: <span property="v:fat">12g</span> </span> </span> Ingredients: <span rel="v:ingredient"> <span typeof="v:Ingredient"> Thinly-sliced <span property="v:name">apples</span>: <span property="v:amount">6 cups</span> </span> </span> <span rel="v:ingredient"> <span typeof="v:Ingredient"> <span property="v:name">White sugar</span>: <span property="v:amount">3/4 cup</span> </span> </span>   Further down it’s marked up with times, nutritional values, ingredients, etc. ...
  • 17. So you can see from the markup, how Google can use this information to build the results page with the reviews, the facets for time, ingredients and nutritional value. If those added bits of information weren’t added into the markup this couldn’t be built. Pages that have this extra markup in them tend to rank higher in Google that pages that don’t have this specific markup in them.
  • 18. Let’s enter into the world of the semantic web. Now there’s lots of scary terms when you start heading down this path - Triples, predicates, SPARQL. The basics really aren’t that scary, but immensely powerful. So let’s dive into the basics of RDFa.
  • 19. R Resource D Description F Framework a attributes RDFa - RDF in attributes.
  • 20. Frank Hurley Lets start with a subject
  • 21. Frank Hurley takes a predicate
  • 22. Frank Hurley takes photographs and an object.
  • 23. Subject Frank Hurley Predicate takes Object photographs These three things make up a triple. with a subject, predicate & object.
  • 24. Subject http://nla.gov.au/nla.pic-an25043941 You have a subject - in this case the URL of the photo
  • 25. Objects Exterior of.... -37.816068 144.961201 Museum http://nla.gov.au/nla.pic-an25043941 1961 1 negative : b&w ; 12.5 x 10.0 cm. You have objects that are related to the subject, but they are meaningless without...
  • 26. Predicates Exterior of.... -37.816068 144.961201 Title Latitude Museum Longitude Coverage http://nla.gov.au/nla.pic-an25043941 Date Format 1961 1 negative : b&w ; 12.5 x 10.0 cm. Predicates. These form triples.
  • 27. Finding namespaces One of the beauties of this system is it’s supposed to be extensible, if there isn’t an existing namespace you can write your own (yuk). You can guarantee that 15 different organisations will write 15 different versions. We’ve seen this already in the examples from schema.org, Dublin Core
  • 28. CURIE dc:creator http://purl.org/dc/elements/1.1/creator The property called creator from the vocabulary identified by dc Compact URI’s called Curies.
  • 29. dc:creator An entity primarily responsible for making the resource. Examples of a Creator include a person, an organization, or a service. Typically, the name of a Creator should be used to indicate the entity. It’s something that has a meaning & it’s something that should be being used consistently across all the cases that use it.
  • 30. dc:title dc:creator dc:subject dc:coverage dc:relation dc:identifier dc:rights dc:type ... So we can fill in the blanks for all of these bits of information
  • 31. foaf:person foaf:knows foaf:isPrimaryTopicOf In addition, we can also mark it up using other schemes, so people can be marked up with their relationships.
  • 32. Let’s have a look at Flickr. With Flickr you can add tags, to help describe the image. If you add in tags in a special format they are known as machine tags.
  • 33. Now “machine tags” are a special type of tag. They actually start to describe the image & provide extra information. In this case geo:lat= something geo:lon= something. However, they don’t actually link to a description, so although they copy, there isn’t quite the same degree of semantic structure to them.
  • 34. In the library world we typically have a MARC record as our master record. Very ugly, but very structured. Fields with all their arcane subfields, each is defined and has a distinct meaning.
  • 35. We sometimes transpose that data into other formats. This is an export of our data from our OAI-PMH interface & you can see that it’s in XML & it’s rich, everything has a value, it conforms to a standard structure - Dublin Core. Compared to MARC it’s a bit more human readable.
  • 36. We then take this information and present it on the web in HTML. But if we look at a web page, this rich markup is lost. In our HTML we have basic markup that Gives a bit of weight to various parts of the page.
  • 37. H1 We have an H1 tag that gives some weight to the most important thing on the page - the title.
  • 38. H1 TH TD We mark up the rest of the information in a table. There’s an implied relationship between the table headings and the table data, but we’re not saying what that relationship is. It could be anything.
  • 39. At a basic machine level, there really isn’t a lot that is describing these elements and there isn’t anything that makes these specific.
  • 40. <div> <h1>[Sydney Harbour scene with naval vessels in foreground, and Harbour Bridge in distance] [picture] /</h1> <table> <tr> <th>Date</th> <td>[between 1910 and 1962]</td> </tr> <tr> <th>Format</th> <td>1 negative : acetate, b&w ; 8.7 x 12.1 cm.</td> </tr> <tr> <th>Online Versions</th> <td>http://nla.gov.au/nla.pic-an23417397</td> </tr> </table> </div> In this case it’s a table. there is an implicit relationship between the table header & the table data
  • 41. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/ xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <div about="http://nla.gov.au/nla.pic-an23417397"> <h1>[Sydney Harbour scene with naval vessels in foreground, and Harbour Bridge in distance] [picture] /</h1> <table> <tr> <th>Date</th> <td>[between 1910 and 1962]</td> </tr> <tr> <th>Format</th> <td>1 negative : acetate, b&w ; 8.7 x 12.1 cm.</td> </tr> <tr> <th>Online Versions</th> <td>http://nla.gov.au/nla.pic-an23417397</td> </tr> </table> </div> Let’s start to use RDFa to start to build specific relationships on the page. Let’s start with our subject.
  • 42. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/ xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <div about="http://nla.gov.au/nla.pic-an23417397"> <h1 property="dc:title">[Sydney Harbour scene with naval vessels in foreground, and Harbour Bridge in distance] [picture] /</h1> <table> <tr> <th>Date</th> <td property="dc:date">[between 1910 and 1962]</td> </tr> <tr> <th>Format</th> <td property="dc:format">1 negative : acetate, b&w ; 8.7 x 12.1 cm.</td> </tr> <tr> <th>Online Versions</th> <td property="dc:identifier">http://nla.gov.au/nla.pic-an23417397</td> </tr> </table> </div> Predicates as attributes
  • 43. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/ xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <div about="http://nla.gov.au/nla.pic-an23417397"> <h1 property="dc:title">[Sydney Harbour scene with naval vessels in foreground, and Harbour Bridge in distance] [picture] /</h1> <table> <tr> <th>Date</th> <td property="dc:date">[between 1910 and 1962]</td> </tr> <tr> <th>Format</th> <td property="dc:format">1 negative : acetate, b&w ; 8.7 x 12.1 cm.</td> </tr> <tr> <th>Online Versions</th> <td property="dc:identifier">http://nla.gov.au/nla.pic-an23417397</td> </tr> </table> </div> And the objects are the values marked up within the tags.
  • 44. This is a little geo-explorer application I built. The underlying code has been built incorporating RDFa. As you can see visually, it looks just like any normal webpage, there is nothing special about it.
  • 45. By using a Firefox plugin (Fuzz) I can see the underlying semantic structure that exists beyond the visual - what a machine would see.
  • 46. RDF Exterior of.... -37.816068 144.961201 Title Latitude Museum Longitude Coverage http://nla.gov.au/nla.pic-an25043941 Creator Sievers, Wolfgang TypeOf Person isPrimaryTopicOf http://nla.gov.au/nla.party-558817 It’s a bit easier to see the semantic relationships as a graph. You’ll often see this sort of representation of semantics. You’ll notice that there’s now semantic linkages between 2 different URL’s - neat.
  • 47. OWL Web Ontology language Used to describe the meanings of terms in vocabularies and the relationships between the terms. Used for applications rather than human presentation. OWL - complex rules defining the properties.
  • 49. What are the capital cities in countries within Africa? PREFIX abc: <http://example.com/exampleOntology#> SELECT ?capital ?country WHERE { ?x abc:cityname ?capital ; abc:isCapitalOf ?y . ?y abc:countryname ?country ; abc:isInContinent abc:Africa . } http://en.wikipedia.org/wiki/SPARQL An example query that returns all the capital cities in countries within Africa. You might want to query all the books that were published by a company where the authors were born in Melbourne.
  • 50. Markup HTML using RDFa Provide RDF output in API’s What can libraries start to do? This leads to data reuse, mashups, applications. Increased Google rank.
  • 51. Use external resources such as dbpedia.org - Community effort to extract data from wikipedia & make it available. This is entering the world of linked data.
  • 52. See the different spellings of Canberra - we don’t need to know all of these, but can extract them from other resources - linked data.
  • 53. For further info, there’s a couple of really good presentations from Sir Tim Berners-Lee on TED
  • 55. Thanks! phagon@nla.gov.au @paulhagon Thank you.