Utilisateur:Chricris/Projet-ESGI

De ESCR
< Utilisateur:Chricris
Révision datée du 22 janvier 2021 à 15:27 par Chricris (discussion | contributions)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

Introduction Projet de web sémantique de l'ESGI

Description

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/Utilisateur:Chricris/Projet-ESGI#>

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#>

Classes

Humain
<Humain> rdf:type rdfs:Class .
Homme
<Homme> rdf:type rdfs:Class .
EnergieConso
<EnergieConso> rdf:type rdfs:Class .
<EnergieConso> rdfs:subClassOf <Homme>.

Propriétés

utilise
<utilise> rdf:type 		 rdf:Property .
utilise
<consome> 	rdf:type 		 rdf:Property .
<consome> 	rdfs:subPropertyOf <utilise> .

<consome>  rdfs:domain <EnergieConso>.
<consome>  rdfs:range  <Humain>.

Exemple d'un jeu de données

ex:bradPitt rdf:type <EnergieConso>.
ex:bradPitt ex:consome 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
12:20:41 20/04/2024 -- Actualiser -- Durée de la requête :0.026s -- CSV


p v
http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.w3.org/2000/01/rdf-schema#Class
12:20:41 20/04/2024 -- Actualiser -- Durée de la requête :0.02s -- 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:Chricris/Projet-ESGI#Homme
12:20:41 20/04/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/1999/02/22-rdf-syntax-ns#Property
12:20:41 20/04/2024 -- Actualiser -- Durée de la requête :0.019s -- 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:Chricris/Projet-ESGI#utilise
http://www.w3.org/2000/01/rdf-schema#domain https://data.escr.fr/wiki/Utilisateur:Chricris/Projet-ESGI#EnergieConso
http://www.w3.org/2000/01/rdf-schema#range https://data.escr.fr/wiki/Utilisateur:Chricris/Projet-ESGI#Humain
12:20:41 20/04/2024 -- Actualiser -- Durée de la requête :0.018s -- 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
12:20:41 20/04/2024 -- Actualiser -- Durée de la requête :0.025s -- CSV