Web semantique

Post on 29-Nov-2014

2.217 views 3 download

description

Support de cours sur le web sémantique, M2 Multimédia, Grenoble-Universitésn Julien PIERRE

Transcript of Web semantique

Le web sémantique

Master 2 MultimédiaGrenoble-UniversitésJulien PIERRE 2011 version 1.0

multiformat.fr

sujet objetprédicat

Triplet de l’assertion

Socrate

une personn

eest

Mais l’assertion inverse est fausseL’objet « Personne » ne contient pas que

Socrate

Graphe orienté

Socrate

une personn

eest

Ontologie

classepropriété

instance logique

Correspondance avec le modèle relationnel

Socrate

une personn

eest

classe relationpropriété domaine

instance tuple

Logique dépendance fonctionnelle

Ontologie

Socrate

une person

neest

classepropriété

instance logique

agent : http://xmlns.com/foaf/0.1/Agent personne : http://xmlns.com/foaf/0.1/Person document : http://xmlns.com/foaf/0.1/Document groupe : http://xmlns.com/foaf/0.1/Group

FOAF

Ontologie

Socrate

une person

neest

classepropriété

instance logique

nom : http://xmlns.com/foaf/0.1/nameprénom: http://xmlns.com/foaf/0.1/firstNamela page Web relative à un agent : http://xmlns.com/foaf/0.1/pagela qualité de membre d'un groupe : http://xmlns.com/foaf/0.1/memberune relation de connaissance entre deux personnes : http://xmlns.com/foaf/0.1/knows

FOAF

RDF

Timune

personne

est

URI<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/Person>

Sérialisation de RDF/XML

Standard W3C Syntaxe XML (RDF n’est pas un schéma XML) = confusion !

Sujet : Tim

une personn

eest

ligne 7

ligne 8prédicat personne

Ligne 9 : prédicat nom = ‘Timothy Berners-Lee’Ligne 10 : prédicat surnom = ‘timbl’

Notation-3 (N3)

Initiative de Tim Berners-Lee Utilisé dans SPARQL Préfixe des espaces de noms Triplets

RDFa

DTD en XHTML+RDFa Document HTML Sujet : about=… Prédicat : property=‘foaf: Objet : élément de la balise

Tim

unepersonnees

t

un membr

e

est

un groupeappartient

à

Jane

connait

appartient à

est

Graphe social