LHELGOUALCH Vincent/Projet

De ESCR
Aller à la navigation Aller à la recherche

Description

Nous souhaitons montrer l'empreinte carbone des téléphones et de leurs batteries.

Définition de votre graphe de connaissance

BASE

BASE <https://data.escr.fr/wiki/LHELGOUALCH_Vincent/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

Telephone
<Telephone> rdf:type rdfs:Class .
Battery
<Battery> rdf:type rdfs:Class .

Propriétés

BatteryCapacity
<BatteryCapacity> rdf:type rdfs:Property .
<BatteryCapacity> rdf:domain <Battery> .
Chargeur
<Chargeur> rdf:type rdfs:Property .
<Chargeur> rdfs:domain <Telephone> .
PossedeChargeur
<PossedeChargeur> rdf:type rdfs:Property .
<PossedeChargeur> rdf:domain <Telephone> .
<PossedeChargeur> rdf:range <Battery> .
EmpreinteBat
<EmpreinteBat> rdf:type rdfs:Property .
<EmpreinteBat> rdf:domain <Battery> .

Exemple d'un jeu de données

ex:Iphone rdf:type <Telephone> .
ex:Iphone rdfs:label "Iphone 12" .

ex:Iphone ex:PossedeChargeur ex:Li-ion .
ex:Iphone ex:PossedeChargeur ex:Non .
ex:Mi10 rdf:type <Telephone> .
ex:Mi10 rdfs:label "Xiaomi Mi 10" .

ex:Mi10 ex:PossedeChargeur ex:Li-ion .
ex:Mi10 ex:PossedeChargeur ex:Oui .
ex:IphLi-ion rdf:type <Battery> .
ex:IphLi-ion ex:BatteryCapacity "2815"^^xsd:double .
ex:IphLi-ion ex:EmpreinteBat "84"^^xsd:double .
ex:MiLi-ion rdf:type <Battery> .
ex:MiLi-ion ex:BatteryCapacity "4780"^^xsd:double .
ex:MiLi-ion ex:EmpreinteBat "58"^^xsd:double .

Tests requêtes

Test
http://www.example.org/Iphone
http://www.example.org/Mi10
18:19:15 23/04/2024 -- Actualiser -- Durée de la requête :0.026s -- CSV