« Liste de lunettes et d'opticiens » : différence entre les versions
Aller à la navigation
Aller à la recherche
(→Schema) |
Aucun résumé des modifications |
||
Ligne 15 : | Ligne 15 : | ||
Diagramme de classes ou modèle RDF (comme vue en cours) | Diagramme de classes ou modèle RDF (comme vue en cours) | ||
[[Fichier:Rdf-lunette-opticien.png| | [[Fichier:Rdf-lunette-opticien.png | 500px]] | ||
=== Vocabulaire === | === Vocabulaire === | ||
Ligne 52 : | Ligne 52 : | ||
===== Nom du composant ===== | ===== Nom du composant ===== | ||
<rdf> | <rdf> | ||
< | <composantName> rdf:type rdf:Property; | ||
rdfs:domain <Composant>. | rdfs:domain <Composant>. | ||
</rdf> | </rdf> | ||
Ligne 58 : | Ligne 58 : | ||
===== Matière du composant ===== | ===== Matière du composant ===== | ||
<rdf> | <rdf> | ||
< | <composantMatière> rdf:type rdf:Property; | ||
rdfs:domain <Composant>. | rdfs:domain <Composant>. | ||
</rdf> | </rdf> | ||
Ligne 64 : | Ligne 64 : | ||
===== Nom de l'opticien ===== | ===== Nom de l'opticien ===== | ||
<rdf> | <rdf> | ||
< | <opticienName> rdf:type rdf:Property; | ||
rdfs:domain <Opticien>. | rdfs:domain <Opticien>. | ||
</rdf> | </rdf> | ||
Ligne 70 : | Ligne 70 : | ||
===== Marque de lunette ===== | ===== Marque de lunette ===== | ||
<rdf> | <rdf> | ||
< | <lunetteMarque> rdf:type rdf:Property; | ||
rdfs:domain <Lunette>. | rdfs:domain <Lunette>. | ||
</rdf> | </rdf> | ||
Ligne 76 : | Ligne 76 : | ||
===== Prix de lunette ===== | ===== Prix de lunette ===== | ||
<rdf> | <rdf> | ||
< | <lunettePrix> rdf:type rdf:Property; | ||
rdfs:domain <Lunette>. | rdfs:domain <Lunette>. | ||
</rdf> | </rdf> | ||
Ligne 82 : | Ligne 82 : | ||
===== Opticien contient lunette ===== | ===== Opticien contient lunette ===== | ||
<rdf> | <rdf> | ||
< | <opticienLunette> rdf:type rdf:Property; | ||
rdfs:domain <Opticien>; | rdfs:domain <Opticien>; | ||
rdfs:range <Lunette>. | rdfs:range <Lunette>. | ||
Ligne 92 : | Ligne 92 : | ||
<rdf> | <rdf> | ||
ex:monture_métal rdf:type <Composant> . | ex:monture_métal rdf:type <Composant> . | ||
ex:monture_métal < | ex:monture_métal <composantName> "Monture en métal" . | ||
ex:monture_métal < | ex:monture_métal <composantMatière> "Métal" . | ||
</rdf> | </rdf> | ||
<rdf> | <rdf> | ||
ex:monture_aluminium rdf:type <Composant> . | ex:monture_aluminium rdf:type <Composant> . | ||
ex:monture_aluminium < | ex:monture_aluminium <composantName> "Monture en aluminium" . | ||
ex:monture_aluminium < | ex:monture_aluminium <composantMatière> "Aluminium" . | ||
</rdf> | </rdf> | ||
<rdf> | <rdf> | ||
ex:monture_titane rdf:type <Composant> . | ex:monture_titane rdf:type <Composant> . | ||
ex:monture_titane < | ex:monture_titane <composantName> "Monture en titane" . | ||
ex:monture_titane < | ex:monture_titane <composantMatière> "Titane" . | ||
</rdf> | </rdf> | ||
<rdf> | <rdf> | ||
ex:verre_unifocaux rdf:type <Ingredient> . | ex:verre_unifocaux rdf:type <Ingredient> . | ||
ex:verre_unifocaux < | ex:verre_unifocaux <composantName> "Verre unifocaux" . | ||
ex:verre_unifocaux < | ex:verre_unifocaux <composantMatière> "Verre minéral " . | ||
</rdf> | </rdf> | ||
<rdf> | <rdf> | ||
ex:verre_progressifs rdf:type <Ingredient> . | ex:verre_progressifs rdf:type <Ingredient> . | ||
ex:verre_progressifs < | ex:verre_progressifs <composantName> "Verre progressifs" . | ||
ex:verre_progressifs < | ex:verre_progressifs <composantMatière> "Verre polycarbonate " . | ||
</rdf> | </rdf> | ||
<rdf> | <rdf> | ||
ex:verre_midistance rdf:type <Ingredient> . | ex:verre_midistance rdf:type <Ingredient> . | ||
ex:verre_midistance < | ex:verre_midistance <composantName> "Verre midistance" . | ||
ex:verre_midistance < | ex:verre_midistance <composantMatière> "Verre organique " . | ||
</rdf> | </rdf> | ||
Ligne 129 : | Ligne 129 : | ||
<rdf> | <rdf> | ||
ex:lunette_john_jess_j43 rdf:type <Lunette> . | ex:lunette_john_jess_j43 rdf:type <Lunette> . | ||
ex:lunette_john_jess_j43 < | ex:lunette_john_jess_j43 <lunetteMarque> "John & Jess" . | ||
ex:lunette_john_jess_j43 < | ex:lunette_john_jess_j43 <lunettePrix> "150"^^xsd:double . | ||
ex:lunette_john_jess_j43 ex:lunetteComposant ex:verre_midistance . | ex:lunette_john_jess_j43 ex:lunetteComposant ex:verre_midistance . | ||
ex:lunette_john_jess_j43 ex:lunetteComposant ex:monture_titane . | ex:lunette_john_jess_j43 ex:lunetteComposant ex:monture_titane . | ||
Ligne 137 : | Ligne 137 : | ||
<rdf> | <rdf> | ||
ex:lunette_SL_234_F_003 rdf:type <Lunette> . | ex:lunette_SL_234_F_003 rdf:type <Lunette> . | ||
ex:lunette_SL_234_F_003 < | ex:lunette_SL_234_F_003 <lunetteMarque> "John & Jess" . | ||
ex:lunette_SL_234_F_003 < | ex:lunette_SL_234_F_003 <lunettePrix> "230"^^xsd:double . | ||
ex:lunette_SL_234_F_003 | ex:lunette_SL_234_F_003 <lunetteComposant> ex:verre_progressifs . | ||
ex:lunette_SL_234_F_003 | ex:lunette_SL_234_F_003 <lunetteComposant> ex:monture_aluminium . | ||
</rdf> | </rdf> | ||
<rdf> | <rdf> | ||
ex:lunette_carrera_1123 rdf:type <Lunette> . | ex:lunette_carrera_1123 rdf:type <Lunette> . | ||
ex:lunette_carrera_1123 < | ex:lunette_carrera_1123 <lunetteMarque> "Carrera" . | ||
ex:lunette_carrera_1123 < | ex:lunette_carrera_1123 <lunettePrix> "380"^^xsd:double . | ||
ex:lunette_carrera_1123 | ex:lunette_carrera_1123 <lunetteComposant> ex:verre_unifocaux . | ||
ex:lunette_carrera_1123 | ex:lunette_carrera_1123 <lunetteComposant> ex:monture_aluminium . | ||
</rdf> | </rdf> | ||
Ligne 154 : | Ligne 154 : | ||
<rdf> | <rdf> | ||
ex:opticien_courbevoie_1 rdf:type <Opticien> . | ex:opticien_courbevoie_1 rdf:type <Opticien> . | ||
ex:opticien_courbevoie_1 < | ex:opticien_courbevoie_1 <opticienName> "Lissac l'Opticien Courbevoie" . | ||
ex:opticien_courbevoie_1 | ex:opticien_courbevoie_1 <opticienLunette> ex:lunette_carrera_1123 . | ||
ex:opticien_courbevoie_1 | ex:opticien_courbevoie_1 <opticienLunette> ex:lunette_SL_234_F_003 . | ||
</rdf> | </rdf> | ||
<rdf> | <rdf> | ||
ex:opticien_courbevoie_2 rdf:type <Opticien> . | ex:opticien_courbevoie_2 rdf:type <Opticien> . | ||
ex:opticien_courbevoie_2 < | ex:opticien_courbevoie_2 <opticienName> "Opticien Krys Courbevoie" . | ||
ex:opticien_courbevoie_2 | ex:opticien_courbevoie_2 <opticienLunette> ex:lunette_john_jess_j43 . | ||
ex:opticien_courbevoie_2 | ex:opticien_courbevoie_2 <opticienLunette> ex:lunette_SL_234_F_003 . | ||
</rdf> | </rdf> | ||
<rdf> | <rdf> | ||
ex:opticien_courbevoie_3 rdf:type <Opticien> . | ex:opticien_courbevoie_3 rdf:type <Opticien> . | ||
ex:opticien_courbevoie_3 < | ex:opticien_courbevoie_3 <opticienName> "L'Opticien-Optique Médicale" . | ||
ex:opticien_courbevoie_3 | ex:opticien_courbevoie_3 <opticienLunette> ex:lunette_john_jess_j43 . | ||
ex:opticien_courbevoie_3 | ex:opticien_courbevoie_3 <opticienLunette> ex:lunette_carrera_1123 . | ||
</rdf> | </rdf> | ||
Version du 7 mai 2021 à 07:21
Introduction: Cette page Web permet de comparer les lunettes présentes dans différents opticiens.
Description
Le cas d'usage de ce projet...
Le démonstrateur de ce projet se compose de 2 pages Web :
- ...
- ...
Définition de votre graphe de connaissances
Schema
Diagramme de classes ou modèle RDF (comme vue en cours)
Vocabulaire
Base
BASE <https://data.escr.fr/wiki/Liste_de_lunettes_et_d%27opticiens#>
Préfixes
PREFIX ex: <http://www.example.org/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
Classes
Opticien
<Opticien> rdf:type rdfs:class.
Lunette
<Lunette> rdf:type rdfs:Class .
Composant
<Composant> rdf:type rdfs:Class .
Propriétés
Nom du composant
<composantName> rdf:type rdf:Property;
rdfs:domain <Composant>.
Matière du composant
<composantMatière> rdf:type rdf:Property;
rdfs:domain <Composant>.
Nom de l'opticien
<opticienName> rdf:type rdf:Property;
rdfs:domain <Opticien>.
Marque de lunette
<lunetteMarque> rdf:type rdf:Property;
rdfs:domain <Lunette>.
Prix de lunette
<lunettePrix> rdf:type rdf:Property;
rdfs:domain <Lunette>.
Opticien contient lunette
<opticienLunette> rdf:type rdf:Property;
rdfs:domain <Opticien>;
rdfs:range <Lunette>.
Exemple d'un jeu de données
Composants
ex:monture_métal rdf:type <Composant> .
ex:monture_métal <composantName> "Monture en métal" .
ex:monture_métal <composantMatière> "Métal" .
ex:monture_aluminium rdf:type <Composant> .
ex:monture_aluminium <composantName> "Monture en aluminium" .
ex:monture_aluminium <composantMatière> "Aluminium" .
ex:monture_titane rdf:type <Composant> .
ex:monture_titane <composantName> "Monture en titane" .
ex:monture_titane <composantMatière> "Titane" .
ex:verre_unifocaux rdf:type <Ingredient> .
ex:verre_unifocaux <composantName> "Verre unifocaux" .
ex:verre_unifocaux <composantMatière> "Verre minéral " .
ex:verre_progressifs rdf:type <Ingredient> .
ex:verre_progressifs <composantName> "Verre progressifs" .
ex:verre_progressifs <composantMatière> "Verre polycarbonate " .
ex:verre_midistance rdf:type <Ingredient> .
ex:verre_midistance <composantName> "Verre midistance" .
ex:verre_midistance <composantMatière> "Verre organique " .
lunettes
ex:lunette_john_jess_j43 rdf:type <Lunette> .
ex:lunette_john_jess_j43 <lunetteMarque> "John & Jess" .
ex:lunette_john_jess_j43 <lunettePrix> "150"^^xsd:double .
ex:lunette_john_jess_j43 ex:lunetteComposant ex:verre_midistance .
ex:lunette_john_jess_j43 ex:lunetteComposant ex:monture_titane .
ex:lunette_SL_234_F_003 rdf:type <Lunette> .
ex:lunette_SL_234_F_003 <lunetteMarque> "John & Jess" .
ex:lunette_SL_234_F_003 <lunettePrix> "230"^^xsd:double .
ex:lunette_SL_234_F_003 <lunetteComposant> ex:verre_progressifs .
ex:lunette_SL_234_F_003 <lunetteComposant> ex:monture_aluminium .
ex:lunette_carrera_1123 rdf:type <Lunette> .
ex:lunette_carrera_1123 <lunetteMarque> "Carrera" .
ex:lunette_carrera_1123 <lunettePrix> "380"^^xsd:double .
ex:lunette_carrera_1123 <lunetteComposant> ex:verre_unifocaux .
ex:lunette_carrera_1123 <lunetteComposant> ex:monture_aluminium .
Opticien
ex:opticien_courbevoie_1 rdf:type <Opticien> .
ex:opticien_courbevoie_1 <opticienName> "Lissac l'Opticien Courbevoie" .
ex:opticien_courbevoie_1 <opticienLunette> ex:lunette_carrera_1123 .
ex:opticien_courbevoie_1 <opticienLunette> ex:lunette_SL_234_F_003 .
ex:opticien_courbevoie_2 rdf:type <Opticien> .
ex:opticien_courbevoie_2 <opticienName> "Opticien Krys Courbevoie" .
ex:opticien_courbevoie_2 <opticienLunette> ex:lunette_john_jess_j43 .
ex:opticien_courbevoie_2 <opticienLunette> ex:lunette_SL_234_F_003 .
ex:opticien_courbevoie_3 rdf:type <Opticien> .
ex:opticien_courbevoie_3 <opticienName> "L'Opticien-Optique Médicale" .
ex:opticien_courbevoie_3 <opticienLunette> ex:lunette_john_jess_j43 .
ex:opticien_courbevoie_3 <opticienLunette> ex:lunette_carrera_1123 .
Requêtes
Vérification que le vocabulaire est bien chargé :
p | v |
---|---|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Class |
13:09:50 07/05/2024 -- Actualiser -- Durée de la requête :0.022s -- CSV |
p | v |
---|---|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Class |
13:09:50 07/05/2024 -- Actualiser -- Durée de la requête :0.022s -- CSV |
p | v |
---|---|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/2000/01/rdf-schema#Class |
http://www.w3.org/2000/01/rdf-schema#subClassOf | https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/Exemple_de_page_projet_pour_ESGI#MovieStaff |
13:09:50 07/05/2024 -- Actualiser -- Durée de la requête :0.024s -- CSV |
p | v |
---|---|
http://www.w3.org/1999/02/22-rdf-syntax-ns#type | http://www.w3.org/1999/02/22-rdf-syntax-ns#Property |
13:09:50 07/05/2024 -- Actualiser -- Durée de la requête :0.021s -- CSV |
Vérification que les données sont chargées :
Démonstration
Des copies d'écran