core:Element


URI

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

Label

Element

Description

Base domain class from which all other SPDX-3.0 domain classes derive.

Shapes (1)

Property Shapes

By the associated SHACL property shapes, instances of core:Element can have the following properties:

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
core:Element
core:comment owl:DatatypeProperty Provide consumers with comments by the creator of the Element about the Element. 0 1 xsd:string
sh:Literal
xsd:string
core:creationInfo owl:ObjectProperty Provides information about the creation of the Element. 1 1 core:CreationInfo
sh:BlankNodeOrIRI
core:CreationInfo
core:description owl:DatatypeProperty Provides a detailed description of the Element. 0 1 xsd:string
sh:Literal
xsd:string
core:extension owl:ObjectProperty Specifies an Extension characterization of some aspect of an Element.
sh:message Class is known to not derive from Extension and cannot be used
0 * sh:BlankNodeOrIRI
sh:not sh:or (security:SsvcVulnAssessmentRelationship, security:CvssV2VulnAssessmentRelationship, security:ExploitCatalogVulnAssessmentRelationship, security:CvssV4VulnAssessmentRelationship, security:VexAffectedVulnAssessmentRelationship, security:VexNotAffectedVulnAssessmentRelationship, security:CvssV3VulnAssessmentRelationship, security:Vulnerability, security:VexUnderInvestigationVulnAssessmentRelationship, security:EpssVulnAssessmentRelationship, security:VexFixedVulnAssessmentRelationship, core:NamespaceMap, core:LifecycleScopedRelationship, core:Hash, core:Agent, core:CreationInfo, core:ExternalRef, core:Bom, core:IndividualElement, core:Relationship, core:PositiveIntegerRange, core:DictionaryEntry, core:ExternalMap, core:Annotation, core:SpdxDocument, core:Person, core:Organization, core:Bundle, core:Tool, core:ExternalIdentifier, core:SoftwareAgent, core:PackageVerificationCode, ai:AIPackage, ai:EnergyConsumptionDescription, ai:EnergyConsumption, build:Build, dataset:DatasetPackage, expandedlicensing:CustomLicense, expandedlicensing:OrLaterOperator, expandedlicensing:ListedLicense, expandedlicensing:DisjunctiveLicenseSet, expandedlicensing:ListedLicenseException, expandedlicensing:WithAdditionOperator, expandedlicensing:IndividualLicensingInfo, expandedlicensing:CustomLicenseAddition, expandedlicensing:ConjunctiveLicenseSet, simplelicensing:LicenseExpression, simplelicensing:SimpleLicensingText, extension:CdxPropertyEntry, software:Package, software:File, software:Sbom, software:Snippet, software:ContentIdentifier)
extension:Extension
core:externalIdentifier owl:ObjectProperty Provides a reference to a resource outside the scope of SPDX-3.0 content that uniquely identifies an Element. 0 * core:ExternalIdentifier
sh:BlankNodeOrIRI
core:ExternalIdentifier
core:externalRef owl:ObjectProperty Points to a resource outside the scope of the SPDX-3.0 content that provides additional characteristics of an Element. 0 * core:ExternalRef
sh:BlankNodeOrIRI
core:ExternalRef
core:name owl:DatatypeProperty Identifies the name of an Element as designated by the creator. 0 1 xsd:string
sh:Literal
xsd:string
core:summary owl:DatatypeProperty A short description of an Element. 0 1 xsd:string
sh:Literal
xsd:string
core:verifiedUsing owl:ObjectProperty Provides an IntegrityMethod with which the integrity of an Element can be asserted. 0 * core:IntegrityMethod
sh:BlankNodeOrIRI
core:IntegrityMethod
rdf:type --
sh:message https://spdx.org/rdf/3.0.1/terms/Core/Element is an abstract class and should not be instantiated directly. Instantiate a subclass instead.
0 *
sh:not sh:hasValue core:Element
--

Implementation

@prefix ai: <https://spdx.org/rdf/3.0.1/terms/AI/> .
@prefix build: <https://spdx.org/rdf/3.0.1/terms/Build/> .
@prefix core: <https://spdx.org/rdf/3.0.1/terms/Core/> .
@prefix dataset: <https://spdx.org/rdf/3.0.1/terms/Dataset/> .
@prefix expandedlicensing: <https://spdx.org/rdf/3.0.1/terms/ExpandedLicensing/> .
@prefix extension: <https://spdx.org/rdf/3.0.1/terms/Extension/> .
@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 security: <https://spdx.org/rdf/3.0.1/terms/Security/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix simplelicensing: <https://spdx.org/rdf/3.0.1/terms/SimpleLicensing/> .
@prefix software: <https://spdx.org/rdf/3.0.1/terms/Software/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

core:Element a owl:Class,
        sh:NodeShape ;
    rdfs:comment "Base domain class from which all other SPDX-3.0 domain classes derive."@en ;
    sh:nodeKind sh:IRI ;
    sh:property [ sh:class core:ExternalIdentifier ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path core:externalIdentifier ],
        [ sh:message "Class is known to not derive from Extension and cannot be used"@en ;
            sh:not [ sh:or ( [ sh:class security:SsvcVulnAssessmentRelationship ] [ sh:class security:CvssV2VulnAssessmentRelationship ] [ sh:class security:ExploitCatalogVulnAssessmentRelationship ] [ sh:class security:CvssV4VulnAssessmentRelationship ] [ sh:class security:VexAffectedVulnAssessmentRelationship ] [ sh:class security:VexNotAffectedVulnAssessmentRelationship ] [ sh:class security:CvssV3VulnAssessmentRelationship ] [ sh:class security:Vulnerability ] [ sh:class security:VexUnderInvestigationVulnAssessmentRelationship ] [ sh:class security:EpssVulnAssessmentRelationship ] [ sh:class security:VexFixedVulnAssessmentRelationship ] [ sh:class core:NamespaceMap ] [ sh:class core:LifecycleScopedRelationship ] [ sh:class core:Hash ] [ sh:class core:Agent ] [ sh:class core:CreationInfo ] [ sh:class core:ExternalRef ] [ sh:class core:Bom ] [ sh:class core:IndividualElement ] [ sh:class core:Relationship ] [ sh:class core:PositiveIntegerRange ] [ sh:class core:DictionaryEntry ] [ sh:class core:ExternalMap ] [ sh:class core:Annotation ] [ sh:class core:SpdxDocument ] [ sh:class core:Person ] [ sh:class core:Organization ] [ sh:class core:Bundle ] [ sh:class core:Tool ] [ sh:class core:ExternalIdentifier ] [ sh:class core:SoftwareAgent ] [ sh:class core:PackageVerificationCode ] [ sh:class ai:AIPackage ] [ sh:class ai:EnergyConsumptionDescription ] [ sh:class ai:EnergyConsumption ] [ sh:class build:Build ] [ sh:class dataset:DatasetPackage ] [ sh:class expandedlicensing:CustomLicense ] [ sh:class expandedlicensing:OrLaterOperator ] [ sh:class expandedlicensing:ListedLicense ] [ sh:class expandedlicensing:DisjunctiveLicenseSet ] [ sh:class expandedlicensing:ListedLicenseException ] [ sh:class expandedlicensing:WithAdditionOperator ] [ sh:class expandedlicensing:IndividualLicensingInfo ] [ sh:class expandedlicensing:CustomLicenseAddition ] [ sh:class expandedlicensing:ConjunctiveLicenseSet ] [ sh:class simplelicensing:LicenseExpression ] [ sh:class simplelicensing:SimpleLicensingText ] [ sh:class extension:CdxPropertyEntry ] [ sh:class software:Package ] [ sh:class software:File ] [ sh:class software:Sbom ] [ sh:class software:Snippet ] [ sh:class software:ContentIdentifier ] ) ] ;
            sh:path core:extension ],
        [ sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path core:extension ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:summary ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:description ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:comment ],
        [ sh:class core:IntegrityMethod ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path core:verifiedUsing ],
        [ sh:class core:ExternalRef ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path core:externalRef ],
        [ sh:message "https://spdx.org/rdf/3.0.1/terms/Core/Element is an abstract class and should not be instantiated directly. Instantiate a subclass instead."@en ;
            sh:not [ sh:hasValue core:Element ] ;
            sh:path rdf:type ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:name ],
        [ sh:class core:CreationInfo ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path core:creationInfo ] .