RDFa Comment insuffler un peu d intelligence à une page Web? Semweb.pro, Paris, 3 mai 2012

Documents pareils
LES TECHNOLOGIES DU WEB APPLIQUÉES AUX DONNÉES STRUCTURÉES

Web Sémantique. Examen

Le Web de Données Dan VODISLAV Université de Cergy-Pontoise Master Informatique M2 Plan

Linked Open Data. Le Web de données Réseau, usages, perspectives. Eric Charton. Eric Charton

Evolution et architecture des systèmes d'information, de l'internet. Impact sur les IDS. IDS2014, Nailloux 26-28/05/2014

Catalogue des formations Edition 2015

Exploration des technologies web pour créer une interaction entre Mahara et les plateformes professionnelles et sociales

Je catalogue, tu FRBRises, il/elle googlise. L évolution des catalogues et les bibliothécaires Vendredi 29 mars 2013 Manufacture des tabacs

Référencement de votre site Web Google et autres moteurs de recherche (4ième édition)

Supervision des contributions dans un portail de travail collaboratif

SEO perspec(ves Novembre 2013

RÉFÉRENCEMENT NATUREL RENCONTRE DEVELOPR6 14 JUIN 2013

Programmation Internet Cours 4

4. SERVICES WEB REST 46

Petite définition : Présentation :

Applications des technologies sémantiques à la gestion des connaissances

Synthèse... 1 Introduction Contexte de la création multimédia et surgissement du web sémantique 6

Par KENFACK Patrick MIF30 19 Mai 2009

Présentation générale du projet data.bnf.fr

Langage HTML (2 partie) <HyperText Markup Language> <tv>lt La Salle Avignon BTS IRIS</tv>

Echosgraphik. Ce document sert uniquement à vous donner une vision sur ma manière de travailler et d appréhender un projet

Interaction entre réseaux sociaux et sites web

creer votre site internet en html/css

WordPress Référencement naturel (SEO) Optimiser. son référencement. Daniel Roch. Préface d Olivier Andrieu

Logiciels de référencement

Introduction. M2206 Intégration web. Introduction. Introduction 20/01/2014

XML par la pratique Bases indispensables, concepts et cas pratiques (3ième édition)

PROGRAMME DE LA 1ERE JOURNEE DE FORMATION : QUALITE WEB ET REFERENCEMENT NATUREL

SITE INTERNET BLOG SITE E-COMMERCE GRILLE D ANALYSE / AUDIT PREMIERE ANALYSE. Entreprises. o Public spécialisé o Etudiants o Enfants

S7 Le top 10 des raisons d utiliser PHP pour moderniser votre existant IBM i

Introduction aux concepts d ez Publish

Synodiance. 10 tendances SEO & SEA 19/02/2014

Qualité web : les bonnes pratiques front-end

Présentation du Framework BootstrapTwitter

Bigdata et Web sémantique. les données + l intelligence= la solution

WordPress Référencement naturel (SEO) Optimiser. son référencement. Daniel Roch. Préface d Olivier Andrieu

Gestion Électronique de Documents et XML. Master 2 TSM

Autour du web. Une introduction technique Première partie : HTML. Georges-André SILBER Centre de recherche en informatique MINES ParisTech

WebSSO, synchronisation et contrôle des accès via LDAP

Sana Sellami. Licence Professionnelle SIL

Les services usuels de l Internet

Projet en nouvelles technologies de l information et de la communication

Compte-rendu re union Campus AAR 3 mars 2015

Magento. Magento. Réussir son site e-commerce. Réussir son site e-commerce BLANCHARD. Préface de Sébastien L e p e r s

D origine destiné à la conception de blog, WordPress est devenu l outil incontournable dans la liste des systèmes de gestion de contenus..

Problématiques de recherche. Figure Research Agenda for service-oriented computing

BES WEBDEVELOPER ACTIVITÉ RÔLE

INTERNET, C'EST QUOI?

Linked Data et description du produit automobile SemWeb Pro, Paris, 2 mai 2012

Module : programmation site Web dynamique Naviguer entre les pages via site map

JDev Atelier Datalift

Vues d ensembles de documents RDF

Les outils de création de sites web

Dans nos locaux au 98 Route de Sauve NÎMES. Un ordinateur PC par stagiaire, scanner, imprimante/copieur laser couleur

Webmaster / Webdesigner / Wordpress

XML et travail collaboratif : vers un Web sémantique

Bibliothèque numérique de l enssib

Optimiser pour les appareils mobiles

TIC. Réseau informatique. Historique - 1. Historique - 2. TC - IUT Montpellier Internet et le Web

Créer une base de données vidéo sans programmation (avec Drupal)

Programmation Web. Madalina Croitoru IUT Montpellier

Intégration de données complexes pour une vision 360 du client. Chloé Clavel EDF R&D Département ICAME

Évaluation d une architecture de stockage RDF distribuée

WEBSEMINAIRE INTRODUCTION AU REFERENCEMENT

Web sémantique et pratiques documentaires

LES GRANDES ETAPES DE CREATION D UN WEB DESIGN

Sommaire. -1-Computer en bref. Web en bref. Le web 3.0,...la mobilité. Evolution du Web web1.0, web2.0, web2.b, web3.0...

OPEN DATA : CHALLENGES ET PERSPECTIVES D ENTREPOSAGE

RESUME DE CARRIERE. Alice JULIENNE. 23 ans Nationalité Française Développeur Web Front-End. Compétences

CRÉER, ROUTER ET GÉRER UNE NEWSLETTER, UN ING

demander pourquoi mon site n'apparaît pas sur google ou pourquoi mon site n'est pas référencé par les moteurs de recherche?

Panorama des solutions Ecommerce

Content Management System. bluecube. Blue Cube CMS V4.3 par Digitalcube

SEM Vidéo Table Ronde EBG 19/04/2013

TP 5 Les CMS, la forme et le fond Internet et Outils (IO2)

Introduction aux «Services Web»

Sommaire : Pourquoi créer un site web? Qu est-ce qu un site Web? Les différents types de sites. Quelles solutions peuvent être employées?

MIEUX APPREHENDER LE VOCABULAIRE DU WEB ET DE L E-TOURISME

Programme Type de Formation SEO

Les grandes facettes du développement Web Nicolas Thouvenin - Stéphane Gully

Semantic Web Inside Guillaume Érétéo Directeur R&D

STID 2ème année : TP Web/PHP

Créer et animer une boutique en ligne avec Wordpress (environnement PC et MAC)

Internet. DNS World Wide Web. Divers. Mécanismes de base Exécution d'applications sur le web. Proxy, fire-wall

Devenez un véritable développeur web en 3 mois!

OpenText Content Server v10 Cours (ex 101) L essentiel de la gestion des connaissances

Plan... as Architecture des Systèmes d Information. Constats. as Architecture des Systèmes d Information

MEMOIRE DE STAGE. Amélioration de l'outillage support à une méthodologie de "Cartographie Sémantique"

Le référencement naturel

Intégration du Web 2.0 dans les solutions IBM

Formation. Module WEB 4.1. Support de cours

Déployer une Stratégie Web Globale

Technologies Web avancées. ING1 SIGL Technologies Web avancées

XML, PMML, SOAP. Rapport. EPITA SCIA Promo janvier Julien Lemoine Alexandre Thibault Nicolas Wiest-Million

SECTION 5 BANQUE DE PROJETS

SII Stage d informatique pour l ingénieur

Les Bases. Messaoudi Khaled, Boukelal Hanane (Etudiants Informatique ) 2015.

Mise en œuvre de les capteurs dans la gestion de l eau

Chapitre IX. L intégration de données. Les entrepôts de données (Data Warehouses) Motivation. Le problème

Transcription:

RDFa Comment insuffler un peu d intelligence à une page Web? Semweb.pro, Paris, 3 mai 2012

Problématique 2

Le code HTML d une page Web <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> <head> <title>présentation de Gautier Poupeau</title> </head> <body> <p>je m'appelle Gautier Poupeau.</p> <p>mon anniversaire est le 19 mai.</p> <p> Je suis passionné par les technologies du Web sémantique. </p> <p> Je tiens d'ailleurs un blog sur ces questions : <a href="http://www.lespetitescases.net">les petites cases</a> </p> <p>j'appartiens à la communauté des professionnels de l'information composée de :</p> <ul> <li> <a href="http://www.figoblog.org">emmanuelle Bermès</a> ; </li> <li> <a href="http://stephanepouyllau.org/">stéphane Pouyllau</a>. </li> </ul> </body> </html> 3

La même page Web dans un navigateur 4

La même page Web vu par un moteur de recherche <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> <head> <title>présentation de Gautier Poupeau</title> </head> <body> <p>je m'appelle Gautier Poupeau.</p> <p>mon anniversaire est le 19 mai.</p> <p> Je suis passionné par les technologies du Web sémantique. </p> <p> Je tiens d'ailleurs un blog sur ces questions : <a href="http://www.lespetitescases.net">les petites cases</a> </p> <p>j'appartiens à la communauté des professionnels de l'information composée de :</p> <ul> <li> <a href="http://www.figoblog.org">emmanuelle Bermès</a> ; </li> <li> <a href="http://stephanepouyllau.org/">stéphane Pouyllau</a>. </li> </ul> </body> </html> 5

Et pourtant, il existe beaucoup d informations Cette page décrit une personne <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> <head> <title>présentation de Gautier Poupeau</title> </head> Mon nom <body> <p>je m'appelle Gautier Poupeau.</p> Ma date anniversaire <p>mon anniversaire est le 19 mai.</p> <p> Ma passion Je suis passionné par les technologies du Web sémantique. </p> L URL de mon blog <p> Je tiens d'ailleurs un blog sur ces questions : Le titre de mon blog <a href="http://www.lespetitescases.net">les petites cases</a> </p> <p>j'appartiens à la communauté des professionnels de l'information composée de :</p> <ul> <li> mes connaissances <a href="http://www.figoblog.org">emmanuelle Bermès</a> ; </li> <li> <a href="http://stephanepouyllau.org/">stéphane Pouyllau</a>. </li> </ul> </body> </html> 6

Comment exprimer une donnée pour la machine? ne série de signes reliés forme une donnée Chien Animal doit comprendre la donnée Machine 7

Comment exprimer une donnée pour la machine? ne série de signes reliés forme une donnée Chien doit comprendre la donnée Machine La donnée est encodée dans le cadre d un document Animal <html> <head> <title>le chien</title> Ne comprend pas la donnée </head> <body> mais qu il s agit d un <p> paragraphe De plus, le chien est un animal </p> la donnée </body> est toujours </html> vraie même en dehors de ce document. 8

Comment exprimer une donnée pour la machine? ne série de signes reliés forme une donnée Chien doit comprendre la donnée Machine La donnée est encodée dans le cadre d un document Animal <html> <head> <title>le chien</title> Ne comprend pas la donnée </head> <body> mais qu il s agit d un <p> paragraphe De plus, le chien est un animal </p> la donnée </body> est toujours </html> vraie même en dehors de ce document. La machine peut traiter et analyser la donnée car elle est encodée selon une logique formelle. chien Sujet prédic atest Objet animal La donnée elle-même est encodée sous la forme d un triplet. 9

Comment exprimer une donnée pour la machine? ne série de signes reliés forme une donnée Chien doit comprendre la donnée Machine La donnée est encodée dans le cadre d un document Animal <html> <head> <title>le chien</title> Ne comprend pas la donnée </head> <body> mais qu il s agit d un <p> paragraphe De plus, le chien est un animal </p> la donnée </body> est toujours </html> vraie même en dehors de ce document. prédic La machine peut traiter et analyser la at donnée car elle est encodée selon une logique formelle. Sujet chien Objet prédic at prédic atest Sujet animal La donnée elle-même est encodée sous la forme d un triplet. RDF, un modèle pour encoder les données structurée 10

Une première réponse : les microformats Les microformats sont une première tentative pragmatique pour ajouter un peu de structure «sémantique» à une page Web. Exemple : <div class="vcard"> <div class="fn">gautier Poupeau</div> <div class="org">antidot</div> <div class="tel">+33645495977</div> <a class="url" href="http://www.lespetitescases.net">http://www.lespetitescases.net</a> </div> Limites Avantages Simple à introduire dans une page Web Compatible HTML/XHTML Utilise des fonctionnalités natives de HTML/XHTML Compatible avec technos du SemWeb grâce à GRDDL Utilise les attributs HTML dédiés à la mise en forme Manque de souplesse Pas de standardisation 11

RDFa : la rencontre entre RDF et XML Dès 2004, Mark Birbeck propose un mécanisme pour ajouter des triplets RDF dans HTML. Initialement prévu pour XHTML 2, une recommandation est publiée pour XHTML 1 en 2007. XHTML RDF RDFa 12

Principes 13

Un graphe http://www.w3.org/people/berners-lee/card#i> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/name> < http://xmlns.com/foaf/0.1/maker> «Timothy Berners-Lee» <http://xmlns.com/foaf/0.1/person> p://www.sciam.com/article.cfm?id=the-semantic-web> 14

Le même graphe en RDF/XML <rdf:rdf xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:dc="http://purl.org/dc/terms/"> <rdf:description rdf:about="http://www.w3.org/people/berners-lee/card#i"> <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/person"/> <foaf:name>timothy Berners-Lee</foaf:name> <foaf:maker rdf:resource="http://www.w3.org"/> <foaf:nick>timbl</foaf:nick> </rdf:description> </rdf:rdf> 15

Le même graphe en RDFa OCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" p://www.w3.org/markup/dtd/xhtml-rdfa-1.dtd"> ml mlns:foaf="http://xmlns.com/foaf/0.1/" mlns="http://www.w3.org/1999/xhtml" mlns:dc="http://purl.org/dc/terms/"> <head> <title>description de Timbl en XHTML + RDFa</title> </head> <body> <div typeof="foaf:person" about="http://www.w3.org/people/berners-lee/card#i"> Le <span rel="foaf:maker" href="http://www.w3.org">créateur du W3C</span> a pour nom <span property="foaf:name">timothy Berners-Lee</span> et pour surnom <span property="foaf:nick">timbl</span>. </div> </body> </html> ATTENTION : RDFa ne dispense pas de respecter les principes de RDF et les vocabulaires ou ontologies utilisées 16

FOAF : Friend Of A Friend ologie créée et maintenue par Dan Brickley et Libby Miller http://xmlns.com/foaf/spec/ 17

RDFa TYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/markup/dtd/xhtml-rdfa-1.d ="http://www.w3.org/1999/xhtml" dc="http://purl.org/dc/terms/" foaf="http://xmlns.com/foaf/0.1/" xsd="http://www.w3.org/2001/xmlschema#" Déclaration de la DTD spécifique XHTML + RDFa ng="fr"> d typeof="foaf:personalprofiledocument"> e>profil RDFa à titre d'exemple</title> eta property="dc:title" content="mon profil FOAF"/> k rel="foaf:maker" href="#gp"/> k rel="foaf:primarytopic" href="#gp"/> ad> y> v typeof="foaf:person" about="#gp"> >Je m'appelle <span property="foaf:name" datatype="xsd:string">gautier Poupeau</span>. </p> 18

RDFa TYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/markup/dtd/xhtml-rdfa-1.d ="http://www.w3.org/1999/xhtml" dc="http://purl.org/dc/terms/" foaf="http://xmlns.com/foaf/0.1/" xsd="http://www.w3.org/2001/xmlschema#" ng="fr"> d typeof="foaf:personalprofiledocument"> e>profil RDFa à titre d'exemple</title> Déclaration des espaces de noms et des préfixes eta property="dc:title" content="mon profil FOAF"/> k rel="foaf:maker" href="#gp"/> k rel="foaf:primarytopic" href="#gp"/> ad> y> v typeof="foaf:person" about="#gp"> >Je m'appelle <span property="foaf:name" datatype="xsd:string">gautier Poupeau</span>. </p> 19

RDFa TYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/markup/dtd/xhtml-rdfa-1.d ="http://www.w3.org/1999/xhtml" dc="http://purl.org/dc/terms/" foaf="http://xmlns.com/foaf/0.1/" xsd="http://www.w3.org/2001/xmlschema#" ng="fr"> d typeof="foaf:personalprofiledocument"> Déclaration de la langue donc e>profil RDFa àrécupéré titre d'exemple</title> pour tous les littéraux profil FOAF"/> eta property="dc:title" content="mon k rel="foaf:maker" href="#gp"/> k rel="foaf:primarytopic" href="#gp"/> ad> y> v typeof="foaf:person" about="#gp"> >Je m'appelle <span property="foaf:name" datatype="xsd:string">gautier Poupeau</span>. </p> 20

RDFa TYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/markup/dtd/xhtml-rdfa-1.d ="http://www.w3.org/1999/xhtml" dc="http://purl.org/dc/terms/" foaf="http://xmlns.com/foaf/0.1/" xsd="http://www.w3.org/2001/xmlschema#" ng="fr"> d typeof="foaf:personalprofiledocument"> e>profil RDFa à titre d'exemple</title> eta property="dc:title" content="mon profil FOAF"/> k rel="foaf:maker" href="#gp"/> k rel="foaf:primarytopic" href="#gp"/> ad> Pas de déclaration URI du sujet donc l URL de la page par défaut y> v typeof="foaf:person" about="#gp"> >Je m'appelle <span property="foaf:name" datatype="xsd:string">gautier Poupeau</span>. </p> 21

RDFa TYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/markup/dtd/xhtml-rdfa-1.d ="http://www.w3.org/1999/xhtml" dc="http://purl.org/dc/terms/" foaf="http://xmlns.com/foaf/0.1/" xsd="http://www.w3.org/2001/xmlschema#" ng="fr"> d typeof="foaf:personalprofiledocument"> e>profil RDFa à titre d'exemple</title> Attribut @typeof pour indiquer le type de la eta property="dc:title" content="mon profil FOAF"/> ressource = rdf:type k rel="foaf:maker" href="#gp"/> k rel="foaf:primarytopic" href="#gp"/> ad> y> v typeof="foaf:person" about="#gp"> >Je m'appelle <span property="foaf:name" datatype="xsd:string">gautier Poupeau</span>. </p> 22

RDFa TYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/markup/dtd/xhtml-rdfa-1.d ="http://www.w3.org/1999/xhtml" dc="http://purl.org/dc/terms/" foaf="http://xmlns.com/foaf/0.1/" xsd="http://www.w3.org/2001/xmlschema#" Attribut ng="fr"> @property si objet = Littéral (ici dans attribut @content car dans l entête HTML) d typeof="foaf:personalprofiledocument"> e>profil RDFa à titre d'exemple</title> eta property="dc:title" content="mon profil FOAF"/> k rel="foaf:maker" href="#gp"/> k rel="foaf:primarytopic" href="#gp"/> ad> y> v typeof="foaf:person" about="#gp"> >Je m'appelle <span property="foaf:name" datatype="xsd:string">gautier Poupeau</span>. </p> 23

RDFa TYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/markup/dtd/xhtml-rdfa-1.d ="http://www.w3.org/1999/xhtml" dc="http://purl.org/dc/terms/" foaf="http://xmlns.com/foaf/0.1/" xsd="http://www.w3.org/2001/xmlschema#" ng="fr"> d typeof="foaf:personalprofiledocument"> e>profil RDFa à titre d'exemple</title> eta property="dc:title" content="mon profil FOAF"/> k rel="foaf:maker" href="#gp"/> k rel="foaf:primarytopic" href="#gp"/> ad> Attribut @rel si objet = Ressource y> v typeof="foaf:person" about="#gp"> >Je m'appelle <span property="foaf:name" datatype="xsd:string">gautier Poupeau</span>. </p> 24

RDFa TYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/markup/dtd/xhtml-rdfa-1.d ="http://www.w3.org/1999/xhtml" dc="http://purl.org/dc/terms/" foaf="http://xmlns.com/foaf/0.1/" xsd="http://www.w3.org/2001/xmlschema#" ng="fr"> d typeof="foaf:personalprofiledocument"> e>profil RDFa à titre d'exemple</title> eta property="dc:title" content="mon profil FOAF"/> Attribut @about pour déclarer l URI d un sujet k rel="foaf:primarytopic" href="#gp"/> différent de l URL de la ad> page k rel="foaf:maker" href="#gp"/> y> v typeof="foaf:person" about="#gp"> >Je m'appelle <span property="foaf:name" datatype="xsd:string">gautier Poupeau</span>. </p> 25

RDFa TYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/markup/dtd/xhtml-rdfa-1.d ="http://www.w3.org/1999/xhtml" dc="http://purl.org/dc/terms/" foaf="http://xmlns.com/foaf/0.1/" xsd="http://www.w3.org/2001/xmlschema#" ng="fr"> d typeof="foaf:personalprofiledocument"> e>profil RDFa à titre d'exemple</title> eta property="dc:title" content="mon profil FOAF"/> k rel="foaf:maker" href="#gp"/> k rel="foaf:primarytopic" href="#gp"/> ad> y> v typeof="foaf:person" about="#gp"> Utilisation de la hiérarchie de XHTML pour indiquer les différents triplets dont l URI est sujet >Je m'appelle <span property="foaf:name" datatype="xsd:string">gautier Poupeau</span>. </p> 26

RDFa TYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/markup/dtd/xhtml-rdfa-1.d ="http://www.w3.org/1999/xhtml" dc="http://purl.org/dc/terms/" foaf="http://xmlns.com/foaf/0.1/" xsd="http://www.w3.org/2001/xmlschema#" ng="fr"> d typeof="foaf:personalprofiledocument"> e>profil RDFa à titre d'exemple</title> eta property="dc:title" content="mon profil FOAF"/> k rel="foaf:maker" href="#gp"/> k rel="foaf:primarytopic" href="#gp"/> ad> y> v typeof="foaf:person" about="#gp"> Attribut @datatype pour indiquer le type de données >Je m'appelle <span property="foaf:name" datatype="xsd:string">gautier Poupeau</span>. </p> 27

RDFa Mon anniversaire est le <span property="foaf:birthday" content="05-19" xml:lang="en">19 mai</span> </p> <p> Attribut @content pour Je suis passionné par les technologies du <span rel="foaf:interest" indiquer contenu différent href="http://dbpedia.org/resource/semantic_web">web sémantique</span>. </p> de l élément <p>je tiens d'ailleurs un blog sur ces questions : <span rel="foaf:weblog"><a href="http://www.lespetitescases.net" property="dc:title">les petites cases</a></span></p> <p>j'appartiens à la communauté des professionnels de l'information composée de :</p> <ul rel="foaf:knows"> <li typeof="foaf:person" about="http://www.figoblog.org/foaf.rdf#eb"> <a property="foaf:name" rel="foaf:homepage" href="http://www.figoblog.org">emmanuelle Bermès</a> </li> <li typeof="foaf:person"> <a property="foaf:name" rel="foaf:homepage" href="http://stephanepouyllau.org/">stéphane Pouyllau</a> </li> </ul> </div> </body> 28

RDFa Mon anniversaire est le <span property="foaf:birthday" content="05-19" xml:lang="en">19 mai</span> </p> <p> Je suis passionné par les technologies du <span rel="foaf:interest" href="http://dbpedia.org/resource/semantic_web">web sémantique</span>. </p> Attribut @rel et @href pour <p>je tiens d'ailleurs un blog sur ces questions indiquer: <span tripletrel="foaf:weblog"><a avec ressource href="http://www.lespetitescases.net" property="dc:title">les petites cases</a></span></p> en objet <p>j'appartiens à la communauté des professionnels de l'information composée de :</p> <ul rel="foaf:knows"> <li typeof="foaf:person" about="http://www.figoblog.org/foaf.rdf#eb"> <a property="foaf:name" rel="foaf:homepage" href="http://www.figoblog.org">emmanuelle Bermès</a> </li> <li typeof="foaf:person"> <a property="foaf:name" rel="foaf:homepage" href="http://stephanepouyllau.org/">stéphane Pouyllau</a> </li> </ul> </div> </body> 29

RDFa Mon anniversaire est le <span property="foaf:birthday" content="05-19" xml:lang="en">19 mai</span> </p> <p> Je suis passionné par les technologies du <span rel="foaf:interest" href="http://dbpedia.org/resource/semantic_web">web sémantique</span>. </p> <p>je tiens d'ailleurs un blog sur ces questions : <span rel="foaf:weblog"><a href="http://www.lespetitescases.net" property="dc:title">les petites cases</a></span></p> Utilisation de la hiérarchie pour indiquer triplet sur une ressource <p>j'appartiens à la communauté des professionnels de l'information composée de :</p> elle-même objet avec le prédicat <ul rel="foaf:knows"> foaf:weblog <li typeof="foaf:person" about="http://www.figoblog.org/foaf.rdf#eb"> <a property="foaf:name" rel="foaf:homepage" href="http://www.figoblog.org">emmanuelle Bermès</a> </li> <li typeof="foaf:person"> <a property="foaf:name" rel="foaf:homepage" href="http://stephanepouyllau.org/">stéphane Pouyllau</a> </li> </ul> </div> </body> 30

RDFa Mon anniversaire est le <span property="foaf:birthday" content="05-19" xml:lang="en">19 mai</span> </p> <p> Je suis passionné par les technologies du <span rel="foaf:interest" href="http://dbpedia.org/resource/semantic_web">web sémantique</span>. </p> <p>je tiens d'ailleurs un blog sur ces questions : <span rel="foaf:weblog"><a href="http://www.lespetitescases.net" property="dc:title">les petites cases</a></span></p> <p>j'appartiens à la communauté des professionnels de l'information composée de :</p> <ul rel="foaf:knows"> <li typeof="foaf:person" about="http://www.figoblog.org/foaf.rdf#eb"> <a property="foaf:name" rel="foaf:homepage" href="http://www.figoblog.org">emmanuelle Bermès</a> </li> <li typeof="foaf:person"> Utilisation de la hiérarchie pour <a property="foaf:name" rel="foaf:homepage" indiquer triplet sur une ressource href="http://stephanepouyllau.org/">stéphane Pouyllau</a> elle-même objet avec le prédicat </li> </ul> foaf:knows </div> </body> 31

RDFa Mon anniversaire est le <span property="foaf:birthday" content="05-19" xml:lang="en">19 mai</span> </p> <p> Je suis passionné par les technologies du <span rel="foaf:interest" href="http://dbpedia.org/resource/semantic_web">web sémantique</span>. </p> <p>je tiens d'ailleurs un blog sur ces questions : <span rel="foaf:weblog"><a href="http://www.lespetitescases.net" property="dc:title">les petites cases</a></span></p> <p>j'appartiens à la communauté des professionnels de l'information composée de :</p> <ul rel="foaf:knows"> <li typeof="foaf:person" about="http://www.figoblog.org/foaf.rdf#eb"> <a property="foaf:name" rel="foaf:homepage" href="http://www.figoblog.org">emmanuelle Bermès</a> </li> <li typeof="foaf:person"> <a property="foaf:name" rel="foaf:homepage" href="http://stephanepouyllau.org/">stéphane Pouyllau</a> </li> </ul> </div> </body> Même chose mais ici on a un nœud blanc 32

Outils de contrôle 33

Live Loop Interface en ligne permettant de visualiser directement le résultat d un encodage RDFa http://rdfa.digitalbazaar.com/live-loop/ 34

RDFa distiller RDFa Distiller est un service en ligne du W3C mis au point par Ivan Herman qui extrait les annotations RDFa d une page Web pour en faire un flux RDF/XML, Turtle, N-triples http://www.w3.org/2007/08/pyrdfa/ 35

Résultat du RDFa Distiller <?xml version="1.0" encoding="utf-8"?> <rdf:rdf xmlns:dc="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsd="http://www.w3.org/2001/xmlschema#"> <foaf:personalprofiledocument rdf:about="http://www.lespetitescases.net/semweblabs/semwebpro/rdfa.htm"> <foaf:maker> <foaf:person rdf:about="http://www.lespetitescases.net/semweblabs/semwebpro/rdfa.htm#gp"> <foaf:name rdf:datatype="http://www.w3.org/2001/xmlschema#string">gautier Poupeau</foaf:name> <foaf:knows> <foaf:person> <foaf:homepage rdf:resource="http://stephanepouyllau.org/"/> <foaf:name xml:lang="fr">stéphane Pouyllau</foaf:name> </foaf:person> </foaf:knows> <foaf:knows> <foaf:person rdf:about="http://www.figoblog.org/foaf.rdf#eb"> <foaf:homepage rdf:resource="http://www.figoblog.org"/> <foaf:name xml:lang="fr">emmanuelle Bermès</foaf:name> </foaf:person> </foaf:knows> <foaf:weblog> <rdf:description rdf:about="http://www.lespetitescases.net"> <dc:title xml:lang="fr">les petites cases</dc:title> </rdf:description> </foaf:weblog> <foaf:birthday xml:lang="en">05-19</foaf:birthday> <foaf:interest rdf:resource="http://dbpedia.org/resource/semantic_web"/> </foaf:person> </foaf:maker> <foaf:primarytopic rdf:resource="http://www.lespetitescases.net/semweblabs/formation-ccsd/rdfa.htm#gp"/> <dc:title xml:lang="fr">mon profil FOAF</dc:title> </foaf:personalprofiledocument> </rdf:rdf> 36

Check RDFa Validateur/Extracteur des annotations RDFa mis au point par Toby Inkster http://check.rdfa.info 37

Résultat du check RDFa 38

RDF validator Service de validation syntaxique d un flux RDF (y compris un résultat du RDFa distiller) http://www.w3.org/rdf/validator/ 39

Résultat du RDF validator 40

Usages 41

Interactions avec le moteur : Google Rich Snippet A la suite de Yahoo SearchMonkey (maintenant arrêté), Google exploite les annotations RDFa pour améliorer la présentation des résultats de recherche. Type de Google Rich Snippet Fil d Ariane Business et organisations Evénements Information produit Personne Recettes Recensions Syntaxe disponible Microformats MicroData RDFa Google propose ses propres vocabulaires RDF à respecter. Il n exploite pas nativement tous les vocabulaires (à la différence de feu SearchMonkey). Mais, Google a annoncé récemment le support de l ontologie spécialisé dans le Ecommerce «Good Relations» 42

Interactions avec un moteur : Isidore Dans le cadre du portail Isidore (http://www.rechercheisidore.fr), RDFa est un moyen pour récupérer les métadonnées des ressources crawlées. Article dans le contexte du site Article sur Isidore 43

Interactions entre les sites : Open Graph Protocol Système basé sur RDFa mis au point par Facebook pour enrichir l affichage des sélections des utilisateurs avec le bouton «I like/j aime» <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml"> <head> <title>the Rock (1996)</title> <meta property="og:title" content="the Rock"/> <meta property="og:type" content="movie"/> <meta property="og:url" content="http://www.imdb.com/title/tt0117500/"/> <meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/> <meta property="og:site_name" content="imdb"/> <meta property="fb:admins" content="user_id"/> <meta property="og:description" content="a group of U.S. Marines, under command of a renegade general, take over Alcatraz and threaten San Francisco Bay with biological weapons."/>... </head>... </html> 44

Interactions avec le navigateur : les modules Des modules de navigateurs exploitent les annotations RDFa, quelques exemples : RDFa Developper (Firefox) Operator (Firefox) Amazon Checker (Chrome) 45

Interaction dans le même site : Knowledge box Knowledge box est un module Drupal 6 qui s appuie sur les annotations RDFa pour afficher des définitions de termes ou d expressions. Le code source original <span id="css" about="#css" rel="owl:sameas" href="http://dbpedia.org/resource/cascading_style_sheets"> CSS </span> Interrogation en sparql Affichage du résultat dans une bulle via Ajax http://www.lespetitescases.net/knowledge-box-reloaded 46

Interaction dans le même site : RDFQuery RDFQuery est un module Jquery mis au point par Jeni Tennison qui permet d exploiter l encodage RDFa au sein d une page Web (Requête, application de règles) http://code.google.com/p/rdfquery/ 47

RDFa, microdata, microformats? Analyse différentielle 48

Différents niveaux Syntaxes : Vocabulaires : RDFa Google product Vocabulary Microformats GoodRelatio ns hproduct Microdata Schema.or g Open Graph Protocol Produits : 49

Produit : Yahoo! Search Monkey Lancé en 2008, abandonné en 2010 50

Produit : Google Rich Snippets Lancé en 2009 51

Produit : Facebook Like Button Lancé en 2011 52

Vocabulaire : GoodRelations Lancé en 2009 par Martin Hepp http://purl.org/goodrelations/ Un vocabulaire pour décrire les produits et offres des sites marchands Disponible sous licence CC Attribution 3.0 Supporté par Google et Yahoo! 53

Vocabulaire : Schema.org «A collection of schemas, i.e., html tags, that webmasters can use to markup their pages in ways recognized by major search providers.» 54

Vocabulaire : Open Graph Protocol <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml"> <head> <title>the Rock (1996)</title> <meta property="og:title" content="the Rock"/> <meta property="og:type" content="movie"/> <meta property="og:url" content="http://www.imdb.com/title/tt0117500/"/> <meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/> <meta property="og:site_name" content="imdb"/> <meta property="fb:admins" content="user_id"/> <meta property="og:description" content="a group of U.S. Marines, under command of.."/>... </head>... </html> 55

Syntaxe : RDFa <html xmlns:product="http://search.yahoo.com/searchmonkey/product/" xmlns:rdfs="http:/www.w3.org/2000/01/rdf-schema#"> [ ] <div about="http://boutique.fr/tv5003hd++"> <p> <span property="rdfs:label">tv 5003 HD++</span> de la marque <span property="product:manufacturer" href="http://www.radiola.com">radiola</span> </p> <p>cette télévision coûte seulement <span property="product:listprice >899</span> <span property="product:currency" content="euros"> </span> <p> <p>dimensions : <span property="product:height">40</span> pouces</span></p> </div> [ ] </html> 56

Syntaxe : Microdata Description enrichie de cet écran avec Schema <div itemscope itemtype="http://schema.org/product"> <span itemprop="name">tv 5003 HD++</span> <div itemprop="aggregaterating" itemscope itemtype="http://schema.org/aggregaterating"> <span itemprop="ratingvalue">87</span> out of <span itemprop="bestrating">100</span> based on <span itemprop="ratingcount">24</span> user ratings </div> <div itemprop="offers" itemscope itemtype="http://schema.org/aggregateoffer"> <span itemprop="lowprice">$1250</span> to <span itemprop="highprice">$1495</span> from <span itemprop="offercount">8</span> sellers 57

En guise de conclusion Solution émergente partagée et portée par les grands acteurs Solution indépendante la plus répandue et qui restera supportée Solution en perte de vitesse mais simple à implémenter Discussion en cours pour rapprocher les différentes solutions et les rendre compatible Il est impératif de ne pas se fermer les portes Attention aux solutions proposées par un seul acteur ors, comment répondre aux différentes solutions? 58

Merci pour votre attention Gautier Poupeau Antidot GSM: +33 (0)6 45 49 59 77 F-75 Paris mailto: gpoupeau@antidot.net Blog : Les petites cases Twitter : @lespetitescases