ai:AIPackage leaf node


URI

https://spdx.org/rdf/3.0.1/terms/AI/AIPackage

Label

AIPackage

Description

Specifies an AI package and its associated information.

Targets (1)

Node Constraints

value type sh:IRI

Property Constraints (15)

Focus nodes of this shape (ai:AIPackage) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
ai:autonomyType Indicates whether the system can perform a decision or action without human involvement or guidance. 0 1 core:PresenceType
sh:IRI
sh:in core:PresenceType/yes, core:PresenceType/no, core:PresenceType/noAssertion
ai:domain Captures the domain in which the AI package can be used. 0 * xsd:string
sh:Literal
ai:energyConsumption Indicates the amount of energy consumption incurred by an AI model. 0 1 ai:EnergyConsumption
sh:BlankNodeOrIRI
ai:hyperparameter Records a hyperparameter used to build the AI model contained in the AI package. 0 * core:DictionaryEntry
sh:BlankNodeOrIRI
ai:informationAboutApplication Provides relevant information about the AI software, not including the model description. 0 1 xsd:string
sh:Literal
ai:informationAboutTraining Describes relevant information about different steps of the training process. 0 1 xsd:string
sh:Literal
ai:limitation Captures a limitation of the AI software. 0 1 xsd:string
sh:Literal
ai:metric Records the measurement of prediction quality of the AI model. 0 * core:DictionaryEntry
sh:BlankNodeOrIRI
ai:metricDecisionThreshold Captures the threshold that was used for computation of a metric described in the metric field. 0 * core:DictionaryEntry
sh:BlankNodeOrIRI
ai:modelDataPreprocessing Describes all the preprocessing steps applied to the training data before the model training. 0 * xsd:string
sh:Literal
ai:modelExplainability Describes methods that can be used to explain the results from the AI model. 0 * xsd:string
sh:Literal
ai:safetyRiskAssessment Records the results of general safety risk assessment of the AI system. 0 1 ai:SafetyRiskAssessmentType
sh:IRI
sh:in ai:SafetyRiskAssessmentType/serious, ai:SafetyRiskAssessmentType/high, ai:SafetyRiskAssessmentType/medium, ai:SafetyRiskAssessmentType/low
ai:standardCompliance Captures a standard that is being complied with. 0 * xsd:string
sh:Literal
ai:typeOfModel Records the type of the model used in the AI software. 0 * xsd:string
sh:Literal
ai:useSensitivePersonalInformation Records if sensitive personal information is used during model training or could be used during the inference. 0 1 core:PresenceType
sh:IRI
sh:in core:PresenceType/yes, core:PresenceType/no, core:PresenceType/noAssertion

Implementation

@prefix ai: <https://spdx.org/rdf/3.0.1/terms/AI/> .
@prefix core: <https://spdx.org/rdf/3.0.1/terms/Core/> .
@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 software: <https://spdx.org/rdf/3.0.1/terms/Software/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

ai:AIPackage a owl:Class,
        sh:NodeShape ;
    rdfs:comment "Specifies an AI package and its associated information."@en ;
    rdfs:subClassOf software:Package ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:class core:PresenceType ;
            sh:in ( <https://spdx.org/rdf/3.0.1/terms/Core/PresenceType/yes> <https://spdx.org/rdf/3.0.1/terms/Core/PresenceType/no> <https://spdx.org/rdf/3.0.1/terms/Core/PresenceType/noAssertion> ) ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path ai:autonomyType ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path ai:informationAboutTraining ],
        [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path ai:domain ],
        [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path ai:modelExplainability ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path ai:informationAboutApplication ],
        [ sh:class core:DictionaryEntry ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path ai:metric ],
        [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path ai:standardCompliance ],
        [ sh:class core:DictionaryEntry ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path ai:metricDecisionThreshold ],
        [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path ai:modelDataPreprocessing ],
        [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path ai:typeOfModel ],
        [ sh:class ai:SafetyRiskAssessmentType ;
            sh:in ( <https://spdx.org/rdf/3.0.1/terms/AI/SafetyRiskAssessmentType/serious> <https://spdx.org/rdf/3.0.1/terms/AI/SafetyRiskAssessmentType/high> <https://spdx.org/rdf/3.0.1/terms/AI/SafetyRiskAssessmentType/medium> <https://spdx.org/rdf/3.0.1/terms/AI/SafetyRiskAssessmentType/low> ) ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path ai:safetyRiskAssessment ],
        [ sh:class core:PresenceType ;
            sh:in ( <https://spdx.org/rdf/3.0.1/terms/Core/PresenceType/yes> <https://spdx.org/rdf/3.0.1/terms/Core/PresenceType/no> <https://spdx.org/rdf/3.0.1/terms/Core/PresenceType/noAssertion> ) ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path ai:useSensitivePersonalInformation ],
        [ sh:class ai:EnergyConsumption ;
            sh:maxCount 1 ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path ai:energyConsumption ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path ai:limitation ],
        [ sh:class core:DictionaryEntry ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path ai:hyperparameter ] .