default1:FileSetShape leaf node


URI

https://ontology.solveit-df.org/solveit/observable/shapes/FileSetShape

Label

File Set Shape

Description

Validates that the members of a FileSet, named with hasFile, are files.

Targets (1)

Property Constraints (1)

Focus nodes of this shape (solveit-observable:FileSet) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
solveit-observable:hasFile A file belonging to this file set.
sh:message hasFile must reference uco-observable:File instances
0 * uco-observable:File
sh:IRI

Implementation

@prefix default1: <https://ontology.solveit-df.org/solveit/observable/shapes/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix solveit-observable: <https://ontology.solveit-df.org/solveit/observable/> .
@prefix uco-observable: <https://ontology.unifiedcyberontology.org/uco/observable/> .

default1:FileSetShape a sh:NodeShape ;
    rdfs:label "File Set Shape"@en ;
    rdfs:comment "Validates that the members of a FileSet, named with hasFile, are files."@en ;
    sh:property [ sh:class uco-observable:File ;
            sh:message "hasFile must reference uco-observable:File instances"@en ;
            sh:nodeKind sh:IRI ;
            sh:path solveit-observable:hasFile ] ;
    sh:targetClass solveit-observable:FileSet .