software:SoftwareArtifact


URI

https://spdx.org/rdf/3.0.1/terms/Software/SoftwareArtifact

Label

SoftwareArtifact

Description

A distinct article or unit related to Software.

Superclasses (2)

Targets (1)

Node Constraints

value type sh:IRI

Property Constraints (6)

Focus nodes of this shape (software:SoftwareArtifact) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rdf:type
sh:message https://spdx.org/rdf/3.0.1/terms/Software/SoftwareArtifact is an abstract class and should not be instantiated directly. Instantiate a subclass instead.
0 *
sh:not sh:hasValue software:SoftwareArtifact
software:additionalPurpose Provides additional purpose information of the software artifact. 0 * software:SoftwarePurpose
sh:IRI
sh:in software:SoftwarePurpose/application, software:SoftwarePurpose/archive, software:SoftwarePurpose/bom, software:SoftwarePurpose/configuration, software:SoftwarePurpose/container, software:SoftwarePurpose/data, software:SoftwarePurpose/device, software:SoftwarePurpose/diskImage, software:SoftwarePurpose/deviceDriver, software:SoftwarePurpose/documentation, software:SoftwarePurpose/evidence, software:SoftwarePurpose/executable, software:SoftwarePurpose/file, software:SoftwarePurpose/filesystemImage, software:SoftwarePurpose/firmware, software:SoftwarePurpose/framework, software:SoftwarePurpose/install, software:SoftwarePurpose/library, software:SoftwarePurpose/manifest, software:SoftwarePurpose/model, software:SoftwarePurpose/module, software:SoftwarePurpose/operatingSystem, software:SoftwarePurpose/other, software:SoftwarePurpose/patch, software:SoftwarePurpose/platform, software:SoftwarePurpose/requirement, software:SoftwarePurpose/source, software:SoftwarePurpose/specification, software:SoftwarePurpose/test
software:attributionText Provides a place for the SPDX data creator to record acknowledgement text for a software Package, File or Snippet. 0 * xsd:string
sh:Literal
software:contentIdentifier A canonical, unique, immutable identifier of the artifact content, that may be used for verifying its identity and/or integrity. 0 * software:ContentIdentifier
sh:BlankNodeOrIRI
software:copyrightText Identifies the text of one or more copyright notices for a software Package, File or Snippet, if any. 0 1 xsd:string
sh:Literal
software:primaryPurpose Provides information about the primary purpose of the software artifact. 0 1 software:SoftwarePurpose
sh:IRI
sh:in software:SoftwarePurpose/application, software:SoftwarePurpose/archive, software:SoftwarePurpose/bom, software:SoftwarePurpose/configuration, software:SoftwarePurpose/container, software:SoftwarePurpose/data, software:SoftwarePurpose/device, software:SoftwarePurpose/diskImage, software:SoftwarePurpose/deviceDriver, software:SoftwarePurpose/documentation, software:SoftwarePurpose/evidence, software:SoftwarePurpose/executable, software:SoftwarePurpose/file, software:SoftwarePurpose/filesystemImage, software:SoftwarePurpose/firmware, software:SoftwarePurpose/framework, software:SoftwarePurpose/install, software:SoftwarePurpose/library, software:SoftwarePurpose/manifest, software:SoftwarePurpose/model, software:SoftwarePurpose/module, software:SoftwarePurpose/operatingSystem, software:SoftwarePurpose/other, software:SoftwarePurpose/patch, software:SoftwarePurpose/platform, software:SoftwarePurpose/requirement, software:SoftwarePurpose/source, software:SoftwarePurpose/specification, software:SoftwarePurpose/test

Implementation

@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#> .

software:SoftwareArtifact a owl:Class,
        sh:NodeShape ;
    rdfs:comment "A distinct article or unit related to Software."@en ;
    rdfs:subClassOf core:Artifact ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:datatype xsd:string ;
            sh:nodeKind sh:Literal ;
            sh:path software:attributionText ],
        [ sh:class software:SoftwarePurpose ;
            sh:in ( <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/application> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/archive> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/bom> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/configuration> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/container> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/data> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/device> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/diskImage> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/deviceDriver> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/documentation> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/evidence> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/executable> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/file> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/filesystemImage> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/firmware> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/framework> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/install> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/library> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/manifest> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/model> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/module> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/operatingSystem> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/other> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/patch> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/platform> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/requirement> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/source> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/specification> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/test> ) ;
            sh:maxCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:path software:primaryPurpose ],
        [ sh:class software:SoftwarePurpose ;
            sh:in ( <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/application> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/archive> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/bom> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/configuration> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/container> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/data> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/device> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/diskImage> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/deviceDriver> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/documentation> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/evidence> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/executable> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/file> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/filesystemImage> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/firmware> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/framework> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/install> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/library> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/manifest> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/model> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/module> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/operatingSystem> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/other> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/patch> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/platform> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/requirement> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/source> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/specification> <https://spdx.org/rdf/3.0.1/terms/Software/SoftwarePurpose/test> ) ;
            sh:nodeKind sh:IRI ;
            sh:path software:additionalPurpose ],
        [ sh:class software:ContentIdentifier ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path software:contentIdentifier ],
        [ sh:message "https://spdx.org/rdf/3.0.1/terms/Software/SoftwareArtifact is an abstract class and should not be instantiated directly. Instantiate a subclass instead."@en ;
            sh:not [ sh:hasValue software:SoftwareArtifact ] ;
            sh:path rdf:type ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path software:copyrightText ] .