smart:ClauseShape leaf node


URI

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

Label

ClauseShape

Target Classes (1)

Shape Properties

Instances of smart:Clause can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

smart:Clause
dcterms:isPartOf 1 1
dcterms:title rdf:langString
xsd:string

Implementation

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

smart:ClauseShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:string ;
            sh:path smart:hasSectionNumber ],
        [ sh:datatype rdf:langString ;
            sh:path dcterms:title ],
        [ sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:nodeKind sh:IRI ;
            sh:or ( [ sh:class smart:Clause ;
                        sh:node smart:ClauseShape ] [ sh:class smart:PublicationDocument ;
                        sh:node smart:PublicationDocumentShape ] ) ;
            sh:path dcterms:isPartOf ] ;
    sh:targetClass smart:Clause .