rec:Document


URI

https://w3id.org/rec#Document

Label

Document

Superclasses (1)

Shapes (1)

Usage

Instances of rec:Document can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE

Property Shapes

By the associated SHACL property shapes, instances of rec:Document can have the following properties:

PROPERTY PROPERTY TYPE DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS GLOBAL RANGE
rec:Document
rec:documentTopic owl:ObjectProperty document topic
0 * sh:IRI --
rec:url owl:ObjectProperty 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 ] .