Web Semantico: da XHTML a RDF in 3 click

Loading...

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

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    4 Favorites

    Web Semantico: da XHTML a RDF in 3 click - Presentation Transcript

    1.  
    2. Mi presento…
      • W3C SWD WG per IWA /HWG
      • W3C GRDDL WG per IWA /HWG
      • W3C CWL XG per IWA /HWG
      • W3C RDFa TF per IWA /HWG
      • IWA/HWG Member
      • IWA Web Skills WG - Site TF
      • WaSP ILG - Italian Ambassador
      • W3C Contributing Supporter
      • PWAG Member
    3. Introduzione
      • “ Il Web fu disegnato come uno spazio di informazioni, con l'obiettivo di essere utile non solo per la comunicazione uomo-uomo, ma affinché anche che le macchine potessero avere la possibilità di partecipare e dare il loro contributo. Uno dei maggiori ostacoli è stato il fatto che la maggior parte dell'informazione sul Web è disegnata per essere fruita dall'uomo, ed anche se essa fosse derivata da un database con un significato ben definito (almeno per alcuni termini) per le sue colonne, la struttura dei dati non è riconoscibile per un robot che naviga il Web.”
      • Semantic Web RoadMap - Tim Berners-Lee
      • Traduzione di Pasquale Popolizio
    4. In breve
      • Estensione del Web attuale
      • Una rete di dati che descrivono dati (metadati)
      • Uso di asserzioni (logica dei predicati)
      • Triple di dati: soggetto, predicato, oggetto
    5. RDF e N3
      • RDF (Resource Description Framework)
      • <?xml version=&quot;1.0&quot;?>
      • <rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;
      • xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot;>
      • <rdf:Description rdf:about=&quot;http://barcamp.org/OpenCamp&quot;>
      • <dc:title>Il Wiki dell'OpenCamp</dc:title>
      • </rdf:Description>
      • </rdf:RDF>
      • N3 (Notation 3)
      • http://barcamp.org/OpenCamp http://purl.org/dc/elements/1.1/title &quot;Il Wiki dell ' OpenCamp&quot;
    6. Semantica in XHTML
      • Possiamo inserire un “livello” semantico all’interno di pagine XHTML in 3 semplici passaggi:
      • Usiamo XHTML con “livello” semantico
        • eRDF (embedded RDF)
        • RDFa (RDF annotation)
        • Microformats
      • Utilizzeremo dei fogli XSLT (già pronti)
      • Il nostro RDF è pronto!
    7. … dai Microformats
      • Con GRDDL
      • (Gleaning Resource Descriptions from Dialects of Languages)
      • Generiamo un hCalendar
      • Inseriamo il profilo e la trasformazione
      • Il nostro RDF è pronto!
    8. hCalendar
      • … dal generatore on-line
      • <div class=&quot;vevent&quot; id=&quot;hcalendar-OpenCamp&quot;>
      • <a class=&quot;url&quot; href=&quot;http://barcamp.org/OpenCamp&quot;>
      • Facolt&aacute; di Scienze della Comunicazione, Via Salaria 113, Roma
      • </span>
      • l'evento come Open, cioè Aperto, a qualsiasi novità e idea senza
      • mettere limitazioni alla fantasia delle persone.
      • </div>
      • </div>
      • La definizione OpenCamp nasce da due intenti, il primo centrare l'interesse su tutto ciò che &eacute;, e che gira intorno,
      • all'Opensource e al free software, e anche per definire
      • <div class=&quot;description&quot;>
      • </a>
      • <span class=&quot;location”>
      • <abbr class=&quot;dtstart&quot; title=&quot;20070414T0900+0100&quot;>April 14th 09am</abbr>,
      • <abbr class=&quot;dtend&quot; title=&quot;20070415T1900+0100&quot;> 7pm 2007</abbr> &mdash;
      • <span class=&quot;summary&quot;>OpenCamp</span>&mdash; at
    9. Aggiungiamo…
      • … dal nostro editor preferito…
      • <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;>
      • <html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; lang=&quot;it&quot; xml:lang=&quot;it&quot; dir=&quot;ltr&quot;>
      • <head profile=&quot;http://www.w3.org/2003/g/data-view
      • http://microformats.org/wiki/hcalendar-profile&quot;>
      • <meta http-equiv=&quot;Content-type&quot; content=&quot;text/html;charset=utf-8&quot; />
      • <title>OpenCamp</title>
      • <link rel=&quot;transformation&quot; href=&quot;http://www.w3.org/2002/12/cal/glean-hcal.xsl&quot; />
      • </head>
      • <body>
      • <!-- Qui hCalendar -->
      • </body>
      • </html>
      • … e mandiamo il tutto a un servzio del W3C per l’XSLT…
    10. Trasformiamo…
      • <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>
      • <r:RDF xmlns:h=&quot;http://www.w3.org/1999/xhtml&quot;
      • xmlns:r=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;
      • xmlns:c=&quot;http://www.w3.org/2002/12/cal/icaltzd#&quot;>
      • <c:Vcalendar>
      • <c:prodid>-//connolly.w3.org//palmagent 0.6 (BETA)//EN</c:prodid>
      • <c:version>2.0</c:version>
      • <c:component>
      • <c:Vevent r:about=&quot;#hcalendar-OpenCamp&quot;>
      • <summary xmlns=&quot;http://www.w3.org/2002/12/cal/icaltzd#&quot; xml:lang=&quot;it&quot;>OpenCamp</summary>
      • <description xmlns=&quot;http://www.w3.org/2002/12/cal/icaltzd#&quot; xml:lang=&quot;it&quot;>
      • La definizione OpenCamp nasce da due intenti, il primo centrare l'interesse su tutto ciò che é, e che gira intorno, all'Opensource e al free software, e anche per definire l'evento come Open, cioè Aperto, a qualsiasi novità e idea senza mettere limitazioni alla fantasia delle persone.</description>
      • <dtstart xmlns=&quot;http://www.w3.org/2002/12/cal/icaltzd#&quot;
      • r:datatype=&quot;http://www.w3.org/2002/12/cal/icaltzd#dateTime&quot;>20070414T0900+0100</dtstart>
      • <dtend xmlns=&quot;http://www.w3.org/2002/12/cal/icaltzd#&quot;
      • r:datatype=&quot;http://www.w3.org/2002/12/cal/icaltzd#dateTime&quot;>20070415T1900+0100</dtend>
      • <url xmlns=&quot;http://www.w3.org/2002/12/cal/icaltzd#&quot;
      • r:resource=&quot;http://barcamp.org/OpenCamp&quot;/>
      • <location xmlns=&quot;http://www.w3.org/2002/12/cal/icaltzd#&quot; xml:lang=&quot;it&quot;>Facoltá di Scienze della Comunicazione, Via Salaria 113, Roma</location>
      • </c:Vevent>
      • </c:component>
      • </c:Vcalendar>
      • </r:RDF>
    11. … se non bastasse…
      • … dal validatore RDF…

    + Simone OnofriSimone Onofri, 3 years ago

    custom

    3762 views, 4 favs, 0 embeds more stats

    Web Semantico: da XHTML a RDF in 3 click propone un more

    More info about this document

    CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

    Go to text version

    • Total Views 3762
      • 3762 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 4
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

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

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

    Categories