core:ElementCollection


URI

https://spdx.org/rdf/3.0.1/terms/Core/ElementCollection

Label

ElementCollection

Description

A collection of Elements, not necessarily with unifying context.

Superclasses (1)

Targets (1)

Node Constraints

value type sh:IRI

Property Constraints (4)

Focus nodes of this shape (core:ElementCollection) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
core:element Refers to one or more Elements that are part of an ElementCollection. 0 * core:Element
sh:IRI
core:profileConformance Describes one a profile which the creator of this ElementCollection intends to conform to. 0 * core:ProfileIdentifierType
sh:IRI
sh:in core:ProfileIdentifierType/core, core:ProfileIdentifierType/software, core:ProfileIdentifierType/simpleLicensing, core:ProfileIdentifierType/expandedLicensing, core:ProfileIdentifierType/security, core:ProfileIdentifierType/build, core:ProfileIdentifierType/ai, core:ProfileIdentifierType/dataset, core:ProfileIdentifierType/extension, core:ProfileIdentifierType/lite
core:rootElement This property is used to denote the root Element(s) of a tree of elements contained in a BOM. 0 * core:Element
sh:IRI
rdf:type
sh:message https://spdx.org/rdf/3.0.1/terms/Core/ElementCollection is an abstract class and should not be instantiated directly. Instantiate a subclass instead.
0 *
sh:not sh:hasValue core:ElementCollection

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

core:ElementCollection a owl:Class,
        sh:NodeShape ;
    rdfs:comment "A collection of Elements, not necessarily with unifying context."@en ;
    rdfs:subClassOf core:Element ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:class core:Element ;
            sh:nodeKind sh:IRI ;
            sh:path core:element ],
        [ sh:class core:ProfileIdentifierType ;
            sh:in ( <https://spdx.org/rdf/3.0.1/terms/Core/ProfileIdentifierType/core> <https://spdx.org/rdf/3.0.1/terms/Core/ProfileIdentifierType/software> <https://spdx.org/rdf/3.0.1/terms/Core/ProfileIdentifierType/simpleLicensing> <https://spdx.org/rdf/3.0.1/terms/Core/ProfileIdentifierType/expandedLicensing> <https://spdx.org/rdf/3.0.1/terms/Core/ProfileIdentifierType/security> <https://spdx.org/rdf/3.0.1/terms/Core/ProfileIdentifierType/build> <https://spdx.org/rdf/3.0.1/terms/Core/ProfileIdentifierType/ai> <https://spdx.org/rdf/3.0.1/terms/Core/ProfileIdentifierType/dataset> <https://spdx.org/rdf/3.0.1/terms/Core/ProfileIdentifierType/extension> <https://spdx.org/rdf/3.0.1/terms/Core/ProfileIdentifierType/lite> ) ;
            sh:nodeKind sh:IRI ;
            sh:path core:profileConformance ],
        [ sh:class core:Element ;
            sh:nodeKind sh:IRI ;
            sh:path core:rootElement ],
        [ sh:message "https://spdx.org/rdf/3.0.1/terms/Core/ElementCollection is an abstract class and should not be instantiated directly. Instantiate a subclass instead."@en ;
            sh:not [ sh:hasValue core:ElementCollection ] ;
            sh:path rdf:type ] .