smart:SpecificResourceShape leaf node


URI

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

Label

SpecificResourceShape

Target Classes (1)

Shape Properties

Instances of oa:SpecificResource can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

oa:SpecificResource
1 xsd:string
oa:hasSelector oa:Selector
oa:hasSource smart:PublicationDocument
1 rdf:langString
smart:isSuccessorOf oa:SpecificResource

Implementation

@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix oa: <http://www.w3.org/ns/oa#> .
@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:SpecificResourceShape a sh:NodeShape ;
    sh:property [ sh:class smart:PublicationDocument ;
            sh:nodeKind sh:IRI ;
            sh:path oa:hasSource ],
        [ sh:class oa:Selector ;
            sh:node smart:SelectorShape ;
            sh:nodeKind sh:IRI ;
            sh:path oa:hasSelector ],
        [ sh:class oa:SpecificResource ;
            sh:node smart:SpecificResourceShape ;
            sh:nodeKind sh:IRI ;
            sh:path smart:isSuccessorOf ],
        [ sh:datatype rdf:langString ;
            sh:maxCount 1 ;
            sh:path rdf:value ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:path dcterms:format ] ;
    sh:targetClass oa:SpecificResource .