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

De ESCR
Aller à la navigation Aller à la recherche
 
(10 versions intermédiaires par le même utilisateur non affichées)
Ligne 2 : Ligne 2 :


== Description ==
== 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 ==
== Définition de votre graphe de connaissances ==
Ligne 9 : Ligne 15 :
Diagramme de classes ou modèle RDF (comme vue en cours)
Diagramme de classes ou modèle RDF (comme vue en cours)


=== Vocabulaires ===
=== Vocabulaire ===


==== Base ====
==== Base ====
<rdf>
<rdf>
BASE <https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/ExerciceESGI_2020_10_09#>
BASE <https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/Exemple_de_page_projet_pour_ESGI#>
</rdf>
</rdf>


Ligne 47 : Ligne 53 :
</rdf>
</rdf>


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


<starsIn>  rdfs:domain ex:Actor.
<starsIn>  rdfs:domain <Actor>.
<starsIn>  rdfs:range  ex:Movie.
<starsIn>  rdfs:range  <Movie>.
</rdf>
</rdf>


Ligne 59 : Ligne 65 :


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


Ligne 69 : Ligne 75 :
Vérification que le vocabulaire est bien chargé :
Vérification que le vocabulaire est bien chargé :
{{#sparql:
{{#sparql:
BASE <https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/ExerciceESGI_2020_10_09#>
BASE <https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/Exemple_de_page_projet_pour_ESGI#>
SELECT *  
SELECT *  
WHERE {
WHERE {
Ligne 77 : Ligne 83 :


{{#sparql:
{{#sparql:
BASE <https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/ExerciceESGI_2020_10_09#>
BASE <https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/Exemple_de_page_projet_pour_ESGI#>
SELECT *  
SELECT *  
WHERE {
WHERE {
Ligne 85 : Ligne 91 :


{{#sparql:
{{#sparql:
BASE <https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/ExerciceESGI_2020_10_09#>
BASE <https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/Exemple_de_page_projet_pour_ESGI#>
SELECT *  
SELECT *  
WHERE {
WHERE {
Ligne 93 : Ligne 99 :


{{#sparql:
{{#sparql:
BASE <https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/ExerciceESGI_2020_10_09#>
BASE <https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/Exemple_de_page_projet_pour_ESGI#>
SELECT *  
SELECT *  
WHERE {
WHERE {
Ligne 101 : Ligne 107 :


{{#sparql:
{{#sparql:
BASE <https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/ExerciceESGI_2020_10_09#>
BASE <https://data.escr.fr/wiki/Utilisateur:Karima_Rafes/Exemple_de_page_projet_pour_ESGI#>
SELECT *  
SELECT *  
WHERE {
WHERE {

Version actuelle datée du 7 novembre 2021 à 17:18

Introduction

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/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 .
starsIn
<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
19:03:13 27/04/2024 -- Actualiser -- Durée de la requête :0.036s -- CSV


p v
http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.w3.org/2000/01/rdf-schema#Class
19:03:13 27/04/2024 -- Actualiser -- Durée de la requête :0.027s -- 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
19:03:13 27/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
19:03:13 27/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/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
19:03:13 27/04/2024 -- Actualiser -- Durée de la requête :0.031s -- 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
19:03:13 27/04/2024 -- Actualiser -- Durée de la requête :0.032s -- CSV


Démonstration

Des copies d'écran