rec:Document


URI

https://w3id.org/rec#Document

Label

Document

Superclasses (1)

Targets (1)

Property Constraints (2)

Focus nodes of this shape (rec:Document) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rec:documentTopic document topic
0 * sh:IRI
rec:url URL
0 * sh:IRI

Implementation

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rec: <https://w3id.org/rec#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

rec:Document a rdfs:Class,
        sh:NodeShape ;
    rdfs:label "Document"^^xsd:string ;
    rdfs:subClassOf rec:Information ;
    sh:property [ a sh:PropertyShape ;
            sh:name "document topic"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:documentTopic ],
        [ a sh:PropertyShape ;
            sh:name "URL"^^xsd:string ;
            sh:nodeKind sh:IRI ;
            sh:path rec:url ] .