« Utilisateur:Stan/Test » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
=== Vocabulaire === | === Vocabulaire === | ||
==== Base ==== | ==== Base ==== | ||
<rdf> | <rdf> | ||
BASE <https://data.escr.fr/wiki/Utilisateur:Stan/Test#> | BASE <https://data.escr.fr/wiki/Utilisateur:Stan/Test#> | ||
</rdf> | </rdf> | ||
==== Préfixes ==== | ==== Préfixes ==== | ||
<rdf> | <rdf> | ||
PREFIX ex: <http://www.example.org/> | PREFIX ex: <http://www.example.org/> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
</rdf> | </rdf> | ||
==== Classes ==== | ==== Classes ==== | ||
<rdf> | ===== Ingredient ===== | ||
<rdf> | |||
<Ingredient> rdf:type rdfs:class. | |||
</rdf> | |||
</rdf> | |||
===== Ingredient Name ===== | |||
<rdf> | |||
<ingredientName> rdf:type rdf:Property; | |||
rdfs:domain <Ingredient>. | |||
</rdf> | |||
< | |||
</rdf> | |||
=== | ===== Ingredient Calorie ===== | ||
<rdf> | |||
<ingredientCalorie> rdf:type rdf:Property; | |||
rdfs:domain <Ingredient>. | |||
</rdf> | |||
===== Baguette ===== | |||
<rdf> | |||
<Baguette> rdf:type rdfs:class. | |||
</rdf> | |||
< | |||
===== Baguette Name ===== | |||
<rdf> | |||
<baguetteName> rdf:type rdf:Property; | |||
rdfs:domain <Baguette>. | |||
< | </rdf> | ||
===== Baguette Calorie ===== | |||
<rdf> | |||
<baguettePrice> rdf:type rdf:Property; | |||
rdfs:domain <Baguette>. | |||
< | </rdf> | ||
===== Baguette Ingredient ===== | |||
<rdf> | |||
<baguetteIngredients> rdf:type rdf:Property; | |||
rdfs:domain <Baguette>; | |||
rdfs:range <Ingredient>. | |||
</rdf> | |||
===== Boulangerie ===== | |||
<rdf> | |||
<Boulangerie> rdf:type rdfs:class. | |||
</rdf> | |||
===== Boulangerie Name ===== | |||
<rdf> | |||
<boulangerieName> rdf:type rdf:Property; | |||
rdfs:domain <Boulangerie>. | |||
</rdf> | |||
===== Boulangerie contain baguettes ===== | |||
<rdf> | |||
<boulangerieBaguette> rdf:type rdf:Property; | |||
rdfs:domain <Boulangerie>; | |||
rdfs:range <Baguette>. | |||
</rdf> | |||
===== Data Exemple ===== | |||
===== ingredients ===== | |||
<rdf> | |||
ex:farine_seigle rdf:type <Ingredient> . | |||
ex:farine_seigle <ingredientName> "Farine de seigle" . | |||
ex:farine_seigle <ingredientCalorie> "30"^^xsd:double . | |||
ex: | </rdf> | ||
===== baguette ===== | |||
<rdf> | |||
ex:baguette_seigle rdf:type <Baguette> . | |||
ex:baguette_seigle <baguetteName> "Baguette de seigle" . | |||
ex:baguette_seigle <baguettePrice> "1"^^xsd:double . | |||
ex:baguette_seigle ex:baguetteIngredients ex:farine_seigle . | |||
</rdf> | |||
== | ===== boulangerie ===== | ||
<rdf> | |||
ex:boulangerie_gagny_1 rdf:type <Boulangerie> . | |||
ex:boulangerie_gagny_1 <boulangerieName> "Baguette de seigle" . | |||
ex:boulangerie_gagny_1 ex:boulangerieBaguette ex:baguette_seigle . | |||
</rdf> |
Version du 11 décembre 2020 à 13:44
Vocabulaire
Base
BASE <https://data.escr.fr/wiki/Utilisateur:Stan/Test#>
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
===== Ingredient =====
<Ingredient> rdf:type rdfs:class.
===== Ingredient Name =====
<ingredientName> rdf:type rdf:Property;
rdfs:domain <Ingredient>.
===== Ingredient Calorie =====
<ingredientCalorie> rdf:type rdf:Property;
rdfs:domain <Ingredient>.
===== Baguette =====
<Baguette> rdf:type rdfs:class.
===== Baguette Name =====
<baguetteName> rdf:type rdf:Property;
rdfs:domain <Baguette>.
===== Baguette Calorie =====
<baguettePrice> rdf:type rdf:Property;
rdfs:domain <Baguette>.
===== Baguette Ingredient =====
<baguetteIngredients> rdf:type rdf:Property;
rdfs:domain <Baguette>;
rdfs:range <Ingredient>.
===== Boulangerie =====
<Boulangerie> rdf:type rdfs:class.
===== Boulangerie Name =====
<boulangerieName> rdf:type rdf:Property;
rdfs:domain <Boulangerie>.
===== Boulangerie contain baguettes =====
<boulangerieBaguette> rdf:type rdf:Property;
rdfs:domain <Boulangerie>;
rdfs:range <Baguette>.
Data Exemple
ingredients
ex:farine_seigle rdf:type <Ingredient> .
ex:farine_seigle <ingredientName> "Farine de seigle" .
ex:farine_seigle <ingredientCalorie> "30"^^xsd:double .
baguette
ex:baguette_seigle rdf:type <Baguette> .
ex:baguette_seigle <baguetteName> "Baguette de seigle" .
ex:baguette_seigle <baguettePrice> "1"^^xsd:double .
ex:baguette_seigle ex:baguetteIngredients ex:farine_seigle .
boulangerie
ex:boulangerie_gagny_1 rdf:type <Boulangerie> .
ex:boulangerie_gagny_1 <boulangerieName> "Baguette de seigle" .
ex:boulangerie_gagny_1 ex:boulangerieBaguette ex:baguette_seigle .