« Utilisateur:G.Bots » : différence entre les versions
Aller à la navigation
Aller à la recherche
Ligne 11 : | Ligne 11 : | ||
Diagramme de classes ou modèle RDF (comme vue en cours) | Diagramme de classes ou modèle RDF (comme vue en cours) | ||
[[Fichier:Schema_RDF.png]] | [[Fichier:Schema_RDF.png]] | ||
=== Vocabulaire === | |||
==== Base ==== | |||
<rdf> | |||
BASE <https://data.escr.fr/w/index.php?title=Utilisateur:G.Bots/Projet> | |||
</rdf> | |||
==== Préfixes ==== | |||
<rdf> | |||
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#> | |||
</rdf> | |||
==== Classes ==== | |||
===== Machine ===== | |||
<rdf> | |||
<Ville> rdf:type rdfs:Class. | |||
</rdf> | |||
===== Proprietaire ===== | |||
<rdf> | |||
<Ville> rdf:type rdfs:Class. | |||
</rdf> | |||
===== Adresse ===== | |||
<rdf> | |||
<Ville> rdf:type rdfs:Class. | |||
</rdf> | |||
==== Propriétés==== | |||
===== Nom ===== | |||
<rdf> | |||
<nom> rdf:type rdf:Property . | |||
<nom> rdfs:domain <Ville>. | |||
</rdf> | |||
==== Propriétés==== | |||
===== Nom ===== | |||
<rdf> | |||
<nom> rdf:type rdf:Property . | |||
<nom> rdfs:domain <Proprietaire>. | |||
</rdf> | |||
===== Prénom ===== | |||
<rdf> | |||
<prenom> rdf:type rdf:Property . | |||
<prenom> rdfs:domain <Proprietaire>. | |||
</rdf> | |||
===== Adresse ===== | |||
<rdf> | |||
<adresse> rdf:type rdf:Property . | |||
<adresse> rdfs:domain <Proprietaire>. | |||
</rdf> | |||
===== Machines ===== | |||
<rdf> | |||
<machine> rdf:type rdf:Property . | |||
<machine> rdfs:domain <Proprietaire>. | |||
</rdf> | |||
===== Type ===== | |||
<rdf> | |||
<type> rdf:type rdf:Property . | |||
<type> rdfs:domain <Proprietaire>. | |||
</rdf> | |||
===== Adresse ===== | |||
<rdf> | |||
<adresse> rdf:type rdf:Property . | |||
<adresse> rdfs:domain <Proprietaire>. | |||
</rdf> | |||
===== Prix ===== | |||
<rdf> | |||
<prix> rdf:type rdf:Property . | |||
<prix> rdfs:domain <Proprietaire>. | |||
</rdf> | |||
===== Ville ===== | |||
<rdf> | |||
<ville> rdf:type rdf:Property . | |||
<ville> rdfs:domain <Proprietaire>. | |||
</rdf> | |||
===== Rue ===== | |||
<rdf> | |||
<rue> rdf:type rdf:Property . | |||
<rue> rdfs:domain <Proprietaire>. | |||
</rdf> | |||
===== Numéro ===== | |||
<rdf> | |||
<numero> rdf:type rdf:Property . | |||
<numero> rdfs:domain <Proprietaire>. | |||
</rdf> | |||
* cette propriété attend comme valeur une string. | |||
===== Nombre Machines ===== | |||
<rdf> | |||
<nombre_machines> rdf:type rdf:Property . | |||
<nombre_machines> rdfs:domain <Propriétaire>. | |||
</rdf> | |||
* Cette propriété attend comme valeur un int. | |||
===== Lieu ===== | |||
<rdf> | |||
<lieu> rdf:type rdf:Property . | |||
<lieu> rdfs:domain <Velo>. | |||
</rdf> | |||
* Cette propriété attend comme valeur une string. | |||
===== Disponibilité ===== | |||
<rdf> | |||
<disponibilite> rdf:type rdf:Property . | |||
<disponibilite> rdfs:domain <Velo>. | |||
</rdf> | |||
* Cette propriété attend comme valeur un int. | |||
===== Appartenance ===== | |||
<rdf> | |||
<appartenance> rdf:type rdf:Property . | |||
<appartenance> rdfs:domain <Velo>. | |||
</rdf> | |||
* Cette propriété attend comme valeur une string. |
Version du 26 janvier 2021 à 10:29
Description
- Page 1 : Toutes les villes.
- Liste de toutes les villes disponibles ayant des vélos particuliers à disposition, nombre de vélos disponibles.
- Page 2 : Tous les vélos disponibles
- Liste de tous les vélos disponibles, pendant combien de temps, à qui il appartient.
L'objectif est de pallier au problème de rejet de CO2 en permettant à des particuliers d'emprunter des vélos d'autres particuliers pendant une durée limitée
Schema
Diagramme de classes ou modèle RDF (comme vue en cours)
Vocabulaire
Base
BASE <https://data.escr.fr/w/index.php?title=Utilisateur:G.Bots/Projet>
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
Machine
<Ville> rdf:type rdfs:Class.
Proprietaire
<Ville> rdf:type rdfs:Class.
Adresse
<Ville> rdf:type rdfs:Class.
Propriétés
Nom
<nom> rdf:type rdf:Property .
<nom> rdfs:domain <Ville>.
Propriétés
Nom
<nom> rdf:type rdf:Property .
<nom> rdfs:domain <Proprietaire>.
Prénom
<prenom> rdf:type rdf:Property .
<prenom> rdfs:domain <Proprietaire>.
Adresse
<adresse> rdf:type rdf:Property .
<adresse> rdfs:domain <Proprietaire>.
Machines
<machine> rdf:type rdf:Property .
<machine> rdfs:domain <Proprietaire>.
Type
<type> rdf:type rdf:Property .
<type> rdfs:domain <Proprietaire>.
Adresse
<adresse> rdf:type rdf:Property .
<adresse> rdfs:domain <Proprietaire>.
Prix
<prix> rdf:type rdf:Property .
<prix> rdfs:domain <Proprietaire>.
Ville
<ville> rdf:type rdf:Property .
<ville> rdfs:domain <Proprietaire>.
Rue
<rue> rdf:type rdf:Property .
<rue> rdfs:domain <Proprietaire>.
Numéro
<numero> rdf:type rdf:Property .
<numero> rdfs:domain <Proprietaire>.
- cette propriété attend comme valeur une string.
Nombre Machines
<nombre_machines> rdf:type rdf:Property .
<nombre_machines> rdfs:domain <Propriétaire>.
- Cette propriété attend comme valeur un int.
Lieu
<lieu> rdf:type rdf:Property .
<lieu> rdfs:domain <Velo>.
- Cette propriété attend comme valeur une string.
Disponibilité
<disponibilite> rdf:type rdf:Property .
<disponibilite> rdfs:domain <Velo>.
- Cette propriété attend comme valeur un int.
Appartenance
<appartenance> rdf:type rdf:Property .
<appartenance> rdfs:domain <Velo>.
- Cette propriété attend comme valeur une string.