https://spdx.org/rdf/3.0.1/terms/AI/EnergyConsumptionDescription
The class that helps note down the quantity of energy consumption and the unit
used for measurement.
Focus nodes of this shape (ai:EnergyConsumptionDescription) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| ai:energyQuantity | Represents the energy quantity. | 1 | 1 | xsd:decimal sh:Literal |
|
| ai:energyUnit | Specifies the unit in which energy is measured. | 1 | 1 | ai:EnergyUnitType sh:IRI |
sh:in
ai:EnergyUnitType/kilowattHour, ai:EnergyUnitType/megajoule, ai:EnergyUnitType/other
|
@prefix ai: <https://spdx.org/rdf/3.0.1/terms/AI/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ai:EnergyConsumptionDescription a owl:Class,
sh:NodeShape ;
rdfs:comment """The class that helps note down the quantity of energy consumption and the unit
used for measurement."""@en ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:property [ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:nodeKind sh:Literal ;
sh:path ai:energyQuantity ],
[ sh:class ai:EnergyUnitType ;
sh:in ( <https://spdx.org/rdf/3.0.1/terms/AI/EnergyUnitType/kilowattHour> <https://spdx.org/rdf/3.0.1/terms/AI/EnergyUnitType/megajoule> <https://spdx.org/rdf/3.0.1/terms/AI/EnergyUnitType/other> ) ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:nodeKind sh:IRI ;
sh:path ai:energyUnit ] .