« Liste de lunettes et d'opticiens » : différence entre les versions

De ESCR
Aller à la navigation Aller à la recherche
Ligne 55 : Ligne 55 :
</rdf>
</rdf>


===== participatesIn =====
===== Matière composant =====
<rdf>
<rdf>
<starsIn> rdf:type rdf:Property .
<ComposantMatière> rdf:type rdf:Property;
<starsIn> rdfs:subPropertyOf <participatesIn> .
    rdfs:domain <Composant>.
 
<starsIn>  rdfs:domain <Actor>.
<starsIn>  rdfs:range  <Movie>.
</rdf>
</rdf>



Version du 6 mai 2021 à 21:57

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 :

  1. ...
  2. ...

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 composant
<ComposantMatière> rdf:type rdf:Property;
    rdfs:domain <Composant>.

Exemple d'un jeu de données

ex:bradPitt rdf:type <Actor>.
ex:bradPitt ex:starsIn ex:worldWarZ .

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
18:16:11 07/05/2024 -- Actualiser -- Durée de la requête :0.035s -- CSV


p v
http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.w3.org/2000/01/rdf-schema#Class
18:16:11 07/05/2024 -- Actualiser -- Durée de la requête :0.025s -- 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
18:16:11 07/05/2024 -- Actualiser -- Durée de la requête :0.029s -- 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
18:16:11 07/05/2024 -- Actualiser -- Durée de la requête :0.032s -- 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
http://www.w3.org/2000/01/rdf-schema#subPropertyOf https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/Exemple_de_page_projet_pour_ESGI#participatesIn
http://www.w3.org/2000/01/rdf-schema#domain https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/Exemple_de_page_projet_pour_ESGI#Actor
http://www.w3.org/2000/01/rdf-schema#range https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/Exemple_de_page_projet_pour_ESGI#Movie
18:16:11 07/05/2024 -- Actualiser -- Durée de la requête :0.02s -- CSV


Vérification que les données sont chargées :

p v
http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/Exemple_de_page_projet_pour_ESGI#Actor
http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://data.escr.fr/Magnus_dot/projet:Karima_Rafes/Exemple_de_page_projet_pour_ESGI#Actor
http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://data.escr.fr/wiki/Utilisateur:Chricris/ExerciceESGI_2020_10_09#Actor
http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://data.escr.fr/wiki/Utilisateur:Chricris/Projet-ESGI#EnergieConso
http://www.example.org/starsIn http://www.example.org/worldWarZ
http://www.example.org/consome http://www.example.org/worldWarZ
18:16:11 07/05/2024 -- Actualiser -- Durée de la requête :0.026s -- CSV


Démonstration

Des copies d'écran