smart:TermEntryShape leaf node


URI

https://w3id.org/standards/smart/ontologies/core/TermEntryShape

Label

TermEntryShape

Target Classes (1)

Shape Properties

Instances of smart:TermEntry can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

smart:TermEntry
xsd:string
prov:Derivation
skos:definition 1 rdf:langString
skos:scopeNote rdf:langString
skosxl:Label
smart:Term
1 skosxl:Label
smart:Term
smart:deprecatedLabel skosxl:Label
smart:Term

Implementation

@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix skosxl: <http://www.w3.org/2008/05/skos-xl#> .
@prefix smart: <https://w3id.org/standards/smart/ontologies/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

smart:TermEntryShape a sh:NodeShape ;
    sh:property [ sh:class skosxl:Label,
                smart:Term ;
            sh:minCount 1 ;
            sh:node smart:TermShape ;
            sh:nodeKind sh:IRI ;
            sh:path skosxl:prefLabel ],
        [ sh:datatype xsd:string ;
            sh:path dcterms:identifier ],
        [ sh:datatype rdf:langString ;
            sh:minCount 1 ;
            sh:path ( skosxl:prefLabel skosxl:literalForm ) ;
            sh:uniqueLang true ],
        [ sh:class skosxl:Label,
                smart:Term ;
            sh:node smart:TermShape ;
            sh:nodeKind sh:IRI ;
            sh:path skosxl:altLabel ],
        [ sh:class skosxl:Label,
                smart:Term ;
            sh:node smart:TermShape ;
            sh:nodeKind sh:IRI ;
            sh:path smart:deprecatedLabel ],
        [ sh:class prov:Derivation ;
            sh:node smart:DerivationShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path prov:qualifiedDerivation ],
        [ sh:datatype rdf:langString ;
            sh:path skos:scopeNote ],
        [ sh:datatype rdf:langString ;
            sh:minCount 1 ;
            sh:path skos:definition ;
            sh:uniqueLang true ] ;
    sh:targetClass smart:TermEntry .