« Utilisateur:Karima Rafes/Exemple de page projet pour ESGI » : différence entre les versions

De ESCR
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
Introduction
Based on the given datasets, an ontology should be engineered, the data shall be integrated in a knowledge graph as well
as the business questions should be answered from that graph.


== Description ==
== Objectives ==
A company want to make their knowledge graph accessible via a SPARQL service.


Le cas d'usage de ce projet...
The SPARQL service need to answer business questions, examples:
# Find related products (e.g. cluster by packaging size or weight)
# Find services / products without a product manager
# Find services / products without responsible department
# Identify alternative experts that can take over responsibility
 
Three datasets exists and these data have to be reusable in a knowledge graph accessible via a SPARQL service.


Le démonstrateur de ce projet se compose de 2 pages Web :
# ...
# ...


== Définition de votre graphe de connaissances ==
== Définition de votre graphe de connaissances ==

Version du 5 septembre 2021 à 07:32

Based on the given datasets, an ontology should be engineered, the data shall be integrated in a knowledge graph as well as the business questions should be answered from that graph.

Objectives

A company want to make their knowledge graph accessible via a SPARQL service.

The SPARQL service need to answer business questions, examples:

  1. Find related products (e.g. cluster by packaging size or weight)
  2. Find services / products without a product manager
  3. Find services / products without responsible department
  4. Identify alternative experts that can take over responsibility

Three datasets exists and these data have to be reusable in a knowledge graph accessible via a SPARQL service.


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:Karima_Rafes/Exemple_de_page_projet_pour_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

Movie
<Movie> rdf:type rdfs:Class .
MovieStaff
<MovieStaff> rdf:type rdfs:Class .
Actor
<Actor> rdf:type rdfs:Class .
<Actor> rdfs:subClassOf <MovieStaff>.

Propriétés

participatesIn
<participatesIn> rdf:type 		 rdf:Property .
participatesIn
<starsIn> 	rdf:type 		 rdf:Property .
<starsIn> 	rdfs:subPropertyOf <participatesIn> .

<starsIn>  rdfs:domain <Actor>.
<starsIn>  rdfs:range  <Movie>.

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
09:33:14 25/04/2024 -- Actualiser -- Durée de la requête :0.031s -- CSV


p v
http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.w3.org/2000/01/rdf-schema#Class
09:33:14 25/04/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/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
09:33:14 25/04/2024 -- Actualiser -- Durée de la requête :0.023s -- 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
09:33:14 25/04/2024 -- Actualiser -- Durée de la requête :0.018s -- 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
09:33:14 25/04/2024 -- Actualiser -- Durée de la requête :0.021s -- 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
09:33:14 25/04/2024 -- Actualiser -- Durée de la requête :0.021s -- CSV


Démonstration

Des copies d'écran