XML/RDF - PowerPoint PPT Presentation

View by Category
About This Presentation
Title:

XML/RDF

Description:

xmlns:rdf= http://www.w3.org/1999/02/22-rdf-syntax-ns ... namespace http://www.w3.org/1999/02/22-rdf-syntax-ns# rdf:RDF = la balise RDF. du ... – PowerPoint PPT presentation

Number of Views:47
Avg rating:3.0/5.0
Slides: 23
Provided by: SEM79
Learn more at: http://www-sop.inria.fr
Category:

less

Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: XML/RDF


1
XML/RDF
  • olivier.corby_at_sophia.inria.fr

2
RDF/XML
  • Resource Description Framework
  • Resource Property Value
  • csemanticweb cauthor ccorby
  • Syntaxe XML

3
RDF/XML
lt?xml version1.0 ?gt ltrdfRDF xmlnsrdf
http//www.w3.org/1999/02/22-rdf-syntax-nsgt lt/
rdfRDFgt declare un prefix xmlnsrdf declare
xmlns prefix rdf
4
RDF/XML
lt?xml version1.0 ?gt ltrdfRDF xmlnsrdf
http//www.w3.org/1999/02/22-rdf-syntax-nsgt lt/
rdfRDFgt namespace http//www.w3.org/1999/02/22-r
df-syntax-ns rdfRDF la balise RDF du
namespace http//www.w3.org/1999/02/22-rdf-syntax-
ns
5
RDF/XML
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rd
f-syntax-ns"gt gt ltrdfRDF xmlnsrdf rdf
gt lt/rdfRDFgt ENTITY rdf definit une
constante rdf expanse la constante
6
RDF/XML
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rd
f-syntax-ns"gt gt ltrdfRDF xmlnsrdf
http//www.w3.org/1999/02/22-rdf-syntax-ns
gt lt/rdfRDFgt
7
RDF/XML
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnsccgt lt/rdfRDFgt
8
RDF/XML
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnsccgt ltrdfDescription
rdfabouthttp//www.inria.fr/semanticwebgt ltca
uthor rdfresourcehttp//www.inria.fr/ocorby
/gt lt/rdfDescriptiongt lt/rdfRDFgt
9
RDF/XML
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnsccgt ltrdfDescription
rdfabouthttp//www.inria.fr/semanticwebgt ltc
author rdfresourcehttp//www.inria.fr/ocorby
/gt lt/rdfDescriptiongt lt/rdfRDFgt
10
RDF/XML
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnscc gt ltrdfDescription
rdfabouthttp//www.inria.fr/semanticwebgt ltc
author rdfresourcehttp//www.inria.fr/ocorby
/gt lt/rdfDescriptiongt lt/rdfRDFgt
11
RDF/XML
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnsccgt ltrdfDescription
rdfabouthttp//www.inria.fr/semanticwebgt ltc
author rdfresourcehttp//www.inria.fr/ocorby
/gt lt/rdfDescriptiongt lt/rdfRDFgt
12
RDF/XML
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnsccgt ltrdfDescription
rdfabouthttp//www.inria.fr/semanticwebgt ltc
author rdfresourcehttp//www.inria.fr/ocorby
/gt lt/rdfDescriptiongt lt/rdfRDFgt
13
RDF/XML
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnsccgt ltrdfsClass rdfIDhttp//www.inr
ia.fr/acacia/commaMangt ltrdfssubClassOf
rdfresource http//www.inria.fr/acacia/co
mmaHuman /gt lt/rdfsClassgt lt/rdfRDFgt
14
RDF/XML
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnsccgt ltrdfsClass rdfIDhttp//www.inr
ia.fr/acacia/commaMangt ltrdfssubClassOf
rdfresource http//www.inria.fr/acacia/co
mmaHuman /gt lt/rdfsClassgt lt/rdfRDFgt
15
RDF/XML BASE
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnscc xmlbasec gt ltrdfsClass
rdfIDhttp//www.inria.fr/acacia/commaMangt ltr
dfssubClassOf rdfresource http//www.inr
ia.fr/acacia/commaHuman /gt lt/rdfsClassgt lt/rdfR
DFgt
16
RDF/XML BASE
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnscc xmlbasec gt ltrdfsClass
rdfIDMangt ltrdfssubClassOf
rdfresourceHuman /gt lt/rdfsClassgt lt/rdfRDFgt
17
RDF/XML BASE
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnscc xmlbasec gt ltrdfsClass
rdfaboutMangt ltrdfssubClassOf
rdfresourceHuman /gt lt/rdfsClassgt lt/rdfRDFgt

18
RDF/XML DEFAULT PREFIX
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnscc xmlbasec gt ltrdfsClass
rdfaboutMangt ltrdfssubClassOf
rdfresourceHuman /gt lt/rdfsClassgt lt/rdfRDFgt
19
RDF/XML DEFAULT PREFIX
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnscc xmlbasec xmlnsrdfs
gt ltrdfsClass rdfaboutMangt ltrdfssubClassOf
rdfresourceHuman /gt lt/rdfsClassgt lt/rdfRDFgt
20
RDF/XML DEFAULT PREFIX
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnscc xmlbasec xmlnsrdfs
gt ltClass rdfaboutMangt ltsubClassOf
rdfresourceHuman /gt lt/Classgt lt/rdfRDFgt
21
RDF/XML
lt?xml version1.0 ?gt lt!DOCTYPE rdfRDF
lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
-syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/2
000/01/rdf-schema"gt lt!ENTITY c
"http//www.inria.fr/acacia/comma"gt gt ltrdfRDF
xmlnsrdf rdf xmlnsrdfs rdfs
xmlnscc xmlbasec gt ltrdfProperty
rdfIDnamegt ltrdfsrange rdfresourcerdfsLi
teral /gt lt/rdfPropertygt lt/rdfRDFgt
22
Question
  • lt?xml version1.0 ?gtlt!DOCTYPE rdfRDF
    lt!ENTITY rdf "http//www.w3.org/1999/02/22-rdf
    -syntax-ns"gt lt!ENTITY rdfs "http//www.w3.org/
    2000/01/rdf-schema"gt lt!ENTITY c
    "http//www.inria.fr/acacia/comma"gtgt
  • ltrdfRDF xmlnsrdf rdf xmlnsrdfs
    rdfs xmlnscc xmlbasec
    xmlnsrdfsgt ltrdfProperty rdfIDnamegt ltr
    ange rdfresourcerdfsLiteral
    /gt lt/rdfPropertygtlt/rdfRDFgt
  • Namespace de
  • RDF, Property, range, name, Literal
About PowerShow.com