File tree Expand file tree Collapse file tree
rocrate_validator/profiles/isa-ro-crate Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424@prefix validator: <https://github.com/crs4/rocrate-validator/> .
2525@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
2626
27+ ro-crate:FindISAProcesses a sh:NodeShape, validator:HiddenShape;
28+ sh:name " Identify ISA processes within the RO-Crate" ;
29+ sh:description " A Process has type LabProcess and is attached to a Study or Assay." ;
30+ sh:targetClass bioschemas:LabProcess ;
31+ # Expand data graph with triples from the file data entity
32+ sh:rule [
33+ a sh:TripleRule ;
34+ sh:subject sh:this ;
35+ sh:predicate rdf:type ;
36+ sh:object isa-ro-crate:Process ;
37+ # The condition: need to be attached to a Study or Assay
38+ sh:condition [
39+ sh:property [
40+ sh:path [ sh:inversePath schema:about ] ;
41+ sh:or (
42+ [sh:class isa-ro-crate:Study]
43+ [sh:class isa-ro-crate:Assay]
44+ ) ;
45+ ] ;
46+ ] ;
47+ ]
48+ .
49+
2750
2851
2952# check process must have name
3356isa-ro-crate:ProcessMustHaveName a sh:NodeShape ;
3457 sh:name " Process MUST have name" ;
3558 sh:description " A Process MUST have a name" ;
36- sh:targetClass bioschemas:LabProcess ;
59+ sh:targetClass isa-ro-crate:Process ;
3760 sh:property [
3861 a sh:PropertyShape ;
3962 sh:path schema:name ;
Original file line number Diff line number Diff line change @@ -36,6 +36,11 @@ isa-ro-crate:Assay rdf:type owl:Class ;
3636 rdfs:subClassOf schema:Dataset ;
3737 rdfs:label " Assay" @en .
3838
39+ # Process
40+ isa-ro-crate:Process rdf:type owl:Class ;
41+ rdfs:subClassOf bioschemas:LabProcess ;
42+ rdfs:label " Process" @en .
43+
3944isa-ro-crate:Parameter rdf:type owl:Class ;
4045 rdfs:subClassOf schema:PropertyValue ;
4146 rdfs:label " Parameter" @en .
You can’t perform that action at this time.
0 commit comments