Web Sémantique Et Ontologie (WSO) : Promotion 2019/2020
Web Sémantique Et Ontologie (WSO) : Promotion 2019/2020
Web Sémantique Et Ontologie (WSO) : Promotion 2019/2020
L’ENSEIGNEMENT SUPERIEUR ET DE LA
RECHERCHE SCIENTIFIQUE
UNIVERSITE FERHAT ABBES de SETIF 1
Promotion 2019/2020
1. La représentation en RDF/XML :
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:univ="http://www.univ.com/terms/">
<rdf:Description rdf:ID="chercheur0022">
<univ:nom>reffoufi</univ:nom>
<univ:prenom>alaoua</univ:prenom>
<univ:labo>LRSD</univ:labo>
</rdf:Description>
<rdf:Description rdf:ID="chercheur0035">
<univ:nom>mediani</univ:nom>
<univ:prenom>chahrazed</univ:prenom>
<univ:labo>RIO</univ:labo>
</rdf:Description>
</rdf:RDF>
http://www.w3.org/RDF/Validator/run/15 http://www.univ.com
6 "RIO"
22687645070#chercheur0035 /terms/labo
Déclaration 8 :
Reprendre la déclaration 3 du TP1 en utilisant ce nouveau mécanisme (xml :base).
1. La représentation en RDF/XML :
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:univ="http://www.univ.com/terms/"
xml:base="http://www.univ.com/checheur#">
<rdf:Description rdf:about="#0022">
<univ:nom>reffoufi</univ:nom>
<univ:prenom>alaoua</univ:prenom>
<univ:labo>LRSD</univ:labo>
</rdf:Description>
<rdf:Description rdf:about="#0035">
<univ:nom>mediani</univ:nom>
<univ:prenom>chahrazed</univ:prenom>
<univ:labo>RIO</univ:labo>
</rdf:Description>
</rdf:RDF>
Numbe
Subject Predicate Object
r
http://www.univ.com/checheu http://www.univ.com/terms/
3 "LRSD"
r#0022 labo
http://www.univ.com/checheu http://www.univ.com/terms/
4 "mediani"
r#0035 nom
http://www.univ.com/checheu http://www.univ.com/terms/ "chahraze
5
r#0035 prenom d"
http://www.univ.com/checheu http://www.univ.com/terms/
6 "RIO"
r#0035 labo
Déclaration 9 :
Exercise 1(RDFs) :
1/ le RDFs correspondant :
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:s="http://cours.org/etudiants#"
xml:base="http://www.univ.org/personne#">
<rdfs:Class rdf:ID="Personne"/>
<rdfs:Class rdf:ID="Enseignant">
<rdfs:subClassOf rdf:resource="#Personne"/>
</rdfs:Class>
<rdfs:Class rdf:ID="Etudiant">
<rdfs:subClassOf rdf:resource="#Personne"/>
</rdfs:Class>
<rdfs:Property rdf:ID="Suit-cours-de">
<rdfs:domain rdf:resource="#Etudiant"/>
<rdfs:range rdf:resource="#Enseignant"/>
</rdfs:Property>
<rdfs:Property rdf:ID="Nom">
<rdfs:domain rdf:resource="#Personne"/>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-
schema#Literal"/>
</rdfs:Property>
<rdfs:Property rdf:ID="Prenom">
<rdfs:domain rdf:resource="#Personne"/>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-
schema#Literal"/>
</rdfs:Property>
<rdfs:Property rdf:ID="Date-nais">
<rdfs:domain rdf:resource="#Personne"/>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-
schema#Literal"/>
</rdfs:Property>
<rdfs:Property rdf:ID="Grade">
<rdfs:domain rdf:resource="#Enseignant"/>
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-
schema#Literal"/>
</rdfs:Property>
</rdf:RDF>
Num
Subject Predicate Object
ber
http://www.w3.org
http://www.univ.org/per http://www.w3.org/2000/
1 /1999/02/22-rdf-
sonne#Personne 01/rdf-schema#Class
syntax-ns#type
http://www.w3.org
http://www.univ.org/per http://www.w3.org/2000/
2 /1999/02/22-rdf-
sonne#Enseignant 01/rdf-schema#Class
syntax-ns#type
http://www.w3.org
http://www.univ.org/per http://www.univ.org/per
3 /2000/01/rdf-
sonne#Enseignant sonne#Personne
schema#subClassOf
http://www.w3.org
http://www.univ.org/per http://www.w3.org/2000/
4 /1999/02/22-rdf-
sonne#Etudiant 01/rdf-schema#Class
syntax-ns#type
http://www.w3.org
http://www.univ.org/per http://www.univ.org/per
5 /2000/01/rdf-
sonne#Etudiant sonne#Personne
schema#subClassOf
http://www.w3.org
http://www.univ.org/per http://www.w3.org/2000/
6 /1999/02/22-rdf-
sonne#Suit-cours-de 01/rdf-schema#Property
syntax-ns#type
http://www.w3.org
http://www.univ.org/per http://www.univ.org/per
7 /2000/01/rdf-
sonne#Suit-cours-de sonne#Etudiant
schema#domain
http://www.w3.org
http://www.univ.org/per http://www.univ.org/per
10 /2000/01/rdf-
sonne#Nom sonne#Personne
schema#domain
http://www.w3.org
http://www.univ.org/per http://www.w3.org/2000/
11 /2000/01/rdf-
sonne#Nom 01/rdf- schema#Literal
schema#range
http://www.w3.org
http://www.univ.org/per http://www.w3.org/2000/
12 /1999/02/22-rdf-
sonne#Prenom 01/rdf-schema#Property
syntax-ns#type
http://www.w3.org
http://www.univ.org/per http://www.univ.org/per
13 /2000/01/rdf-
sonne#Prenom sonne#Personne
schema#domain
http://www.w3.org
http://www.univ.org/per http://www.w3.org/2000/
14 /2000/01/rdf-
sonne#Prenom 01/rdf- schema#Literal
schema#range
http://www.w3.org
http://www.univ.org/per http://www.w3.org/2000/
15 /1999/02/22-rdf-
sonne#Date-nais 01/rdf-schema#Property
syntax-ns#type
http://www.w3.org
http://www.univ.org/per http://www.univ.org/per
16 /2000/01/rdf-
sonne#Date-nais sonne#Personne
schema#domain
http://www.w3.org
http://www.univ.org/per http://www.w3.org/2000/
17 /2000/01/rdf-
sonne#Date-nais 01/rdf- schema#Literal
schema#range
http://www.w3.org
http://www.univ.org/per http://www.w3.org/2000/
18 /1999/02/22-rdf-
sonne#Grade 01/rdf-schema#Property
syntax-ns#type
http://www.w3.org
http://www.univ.org/per http://www.univ.org/per
19 /2000/01/rdf-
sonne#Grade sonne#Enseignant
schema#domain
http://www.w3.org
http://www.univ.org/per http://www.w3.org/2000/
20 /2000/01/rdf-
sonne#Grade 01/rdf- schema#Literal
schema#range
2/ :
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:s="http://cours.org/etudiants#"
xmlns:e="http://cours.org/enseignant#"
xml:base="http://www.univ.org/personne#">
<s:Etudiant rdf:ID="etu1">
<s:Nom>nom2</s:Nom>
<s:Prenom>Amine</s:Prenom>
<s:Date-nais>01/12/1995</s:Date-nais>
<s:SuitCourDe>
<e:Enseignant rdf:ID="ens1">
<e:Nom>nom1</e:Nom>
<e:Prenom>Amina</e:Prenom>
<e:Date-nais>01/01/1980</e:Date-nais>
<e:Grade>MCB</e:Grade>
</e:Enseignant>
</s:SuitCourDe>
</s:Etudiant>
</rdf:RDF>
Num
Subject Predicate Object
ber
http://www.w3.org/1999
http://www.univ.org http://cours.org/etudi
1 /02/22-rdf-syntax-
/personne#etu1 ants#Etudiant
ns#type
2 http://www.univ.org http://cours.org/etudi "nom2"
/personne#etu1 ants#Nom
http://www.univ.org http://cours.org/etudi
3 "Amine"
/personne#etu1 ants#Prenom
http://www.univ.org http://cours.org/etudi
4 "01/12/1995"
/personne#etu1 ants#Date-nais
http://www.w3.org/1999
http://www.univ.org http://cours.org/ensei
5 /02/22-rdf-syntax-
/personne#ens1 gnant#Enseignant
ns#type
http://www.univ.org http://cours.org/ensei
8 "Amina"
/personne#ens1 gnant#Prenom
http://www.univ.org http://cours.org/ensei
9 "01/01/1980"
/personne#ens1 gnant#Date-nais
http://www.univ.org http://cours.org/ensei
10 "MCB"
/personne#ens1 gnant#Grade