core:NamespaceMap leaf node


URI

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

Label

NamespaceMap

Description

A mapping between prefixes and namespace partial URIs.

Shapes (1)

Property Shapes

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

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
core:NamespaceMap
core:namespace owl:DatatypeProperty Provides an unambiguous mechanism for conveying a URI fragment portion of an Element ID. 1 1 xsd:anyURI
sh:Literal
xsd:anyURI
core:prefix owl:DatatypeProperty A substitute for a URI. 1 1 xsd:string
sh:Literal
xsd:string

Implementation

@prefix core: <https://spdx.org/rdf/3.0.1/terms/Core/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@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#> .

core:NamespaceMap a owl:Class,
        sh:NodeShape ;
    rdfs:comment "A mapping between prefixes and namespace partial URIs."@en ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:prefix ],
        [ sh:datatype xsd:anyURI ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:Literal ;
            sh:path core:namespace ] .