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;
27+ isa- ro-crate:FindISAProcesses a sh:NodeShape, validator:HiddenShape;
2828 sh:name " Identify ISA processes within the RO-Crate" ;
2929 sh:description " A Process has type LabProcess and is attached to a Study or Assay." ;
3030 sh:targetClass bioschemas:LabProcess ;
@@ -38,15 +38,52 @@ ro-crate:FindISAProcesses a sh:NodeShape, validator:HiddenShape;
3838 sh:condition [
3939 sh:property [
4040 sh:path [ sh:inversePath schema:about ] ;
41- sh:or (
42- [sh:class isa-ro-crate:Study]
43- [sh:class isa-ro-crate:Assay]
44- ) ;
41+ # sh:qualifiedValueShape [
42+ # sh:class isa-ro-crate:Assay
43+ # ] ;
44+ sh:qualifiedValueShape [
45+ sh:class schema:Dataset ;
46+ sh:property [
47+ sh:path schema:additionalType ;
48+ sh:or (
49+ [sh:hasValue " Study" ]
50+ [sh:hasValue " Assay" ]
51+ ) ;
52+ ] ;
53+ ] ;
54+ sh:qualifiedMinCount 1 ;
4555 ] ;
4656 ] ;
4757 ]
4858.
4959
60+ # isa-ro-crate:FindISAProcesses a sh:NodeShape, validator:HiddenShape;
61+ # sh:name "Identify ISA processes within the RO-Crate" ;
62+ # sh:description "A Process has type LabProcess and is attached to a Study or Assay." ;
63+ # sh:target [
64+ # a sh:SPARQLTarget ;
65+ # sh:select """
66+ # PREFIX bioschemas: <https://bioschemas.org/>
67+ # PREFIX isa-ro-crate: <https://github.com/crs4/rocrate-validator/profiles/isa-ro-crate/>
68+ # PREFIX schema: <http://schema.org/>
69+
70+ # SELECT ?this
71+ # WHERE {
72+ # ?this a bioschemas:LabProcess .
73+ # ?assay schema:about ?this .
74+ # ?assay a isa-ro-crate:Assay .
75+ # }
76+ # """ ;
77+ # ] ;
78+ # # Expand data graph with triples from the file data entity
79+ # sh:rule [
80+ # a sh:TripleRule ;
81+ # sh:subject sh:this ;
82+ # sh:predicate rdf:type ;
83+ # sh:object isa-ro-crate:Process ;
84+ # ]
85+ # .
86+
5087
5188
5289# check process must have name
0 commit comments