File tree Expand file tree Collapse file tree
rocrate_validator/profiles/ro-crate Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,17 +73,7 @@ ro-crate:ROCrateMetadataFileDescriptorRecommendedProperties a sh:NodeShape ;
7373 sh:name " RO-Crate Metadata File Descriptor REQUIRED properties" ;
7474 sh:description """ RO-Crate Metadata Descriptor MUST be defined
7575 according with the requirements details defined in [RO-Crate Metadata File Descriptor](https://www.researchobject.org/ro-crate/1.1/root-data-entity.html#ro-crate-metadata-file-descriptor)""" ;
76- sh:target [
77- a sh:SPARQLTarget ;
78- sh:prefixes ro-crate:sparqlPrefixes ;
79- sh:select """
80- SELECT ?this
81- WHERE {
82- ?this ?p ?o .
83- FILTER( STRENDS(STR(?this), "ro-crate-metadata.json") )
84- }
85- """ ;
86- ] ;
76+ sh:targetClass ro-crate:ROCrateMetadataFileDescriptor ;
8777 sh:property [
8878 a sh:PropertyShape ;
8979 sh:name " Metadata File Descriptor entity type" ;
Original file line number Diff line number Diff line change 3131# # # Classes
3232# # #################################################################
3333
34+ # Declare the ROCrateMetadataFileDescriptor class
35+ ro-crate:ROCrateMetadataFileDescriptor rdf:type owl:Class ;
36+ rdfs:subClassOf schema:CreativeWork ;
37+ rdfs:label " ROCrateMetadataFileDescriptor" @en .
38+
3439# Declare the RootDataEntity class
3540ro-crate:RootDataEntity rdf:type owl:Class ;
3641 rdfs:subClassOf schema:Dataset ;
@@ -65,3 +70,12 @@ ro-crate:DataEntity rdf:type owl:Class ;
6570ro-crate:Directory rdf:type owl:Class ;
6671 rdfs:subClassOf schema:Dataset ;
6772 rdfs:label " Directory" @en .
73+
74+
75+ # # #################################################################
76+ # # # Individuals
77+ # # ##############################################################
78+
79+ # Declare the individual representing the RO-Crate Metadata File Descriptor entity
80+ ro:ro-crate-metadata.json a owl:NamedIndividual, ro-crate:ROCrateMetadataFileDescriptor .
81+
You can’t perform that action at this time.
0 commit comments