Skip to content

Commit 0893ae8

Browse files
committed
mnt: updated shape files
1 parent f3d6ed2 commit 0893ae8

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

reproschema/tests/reproschema-shacl.ttl

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ reproschema:FieldShape a sh:NodeShape ;
6262
sh:minCount 1 ;
6363
sh:path skos:prefLabel ],
6464

65-
[ sh:datatype rdf:langString ;
66-
sh:path skos:altLabel ],
67-
6865
[ sh:datatype rdf:langString ;
6966
sh:path schema:description ],
7067

@@ -96,7 +93,7 @@ reproschema:FieldShape a sh:NodeShape ;
9693
[ sh:node reproschema:AdditionalNoteObj ;
9794
sh:path reproschema:additionalNotesObj ],
9895

99-
[ sh:or ( [ sh:nodeKind sh:IRI ] [ sh:node reproschema:ResponseOptionsShape ] ) ;
96+
[ sh:or ( [ sh:nodeKind sh:IRI ] [ sh:node reproschema:ResponseOptionShape ] ) ;
10097
sh:path reproschema:responseOptions ] ;
10198
sh:targetClass reproschema:Field .
10299

@@ -147,7 +144,7 @@ reproschema:ProtocolShape a sh:NodeShape ;
147144
sh:path reproschema:allow ] ;
148145
sh:targetClass reproschema:Protocol .
149146

150-
reproschema:ResponseOptionsShape a sh:NodeShape ;
147+
reproschema:ResponseOptionShape a sh:NodeShape ;
151148
sh:closed true ;
152149
sh:ignoredProperties ( rdf:type ) ;
153150
sh:property [ sh:datatype schema:Boolean ;
@@ -174,7 +171,7 @@ reproschema:ResponseOptionsShape a sh:NodeShape ;
174171

175172
[ sh:node reproschema:ChoicesShape ;
176173
sh:path reproschema:choices ] ;
177-
sh:targetClass reproschema:ResponseOptions .
174+
sh:targetClass reproschema:ResponseOption .
178175

179176
reproschema:AddPropertiesShape a sh:NodeShape ;
180177
sh:closed true ;
@@ -194,25 +191,21 @@ reproschema:AddPropertiesShape a sh:NodeShape ;
194191
sh:path skos:prefLabel ],
195192

196193
[ sh:datatype xsd:boolean ;
197-
sh:path schema:valueRequired ] .
194+
sh:path schema:valueRequired ] ;
195+
sh:targetClass reproschema:AdditionalProperty .
198196

199197
reproschema:ChoicesShape a sh:NodeShape ;
200198
sh:closed true ;
201199
sh:ignoredProperties ( rdf:type ) ;
202200
sh:property [ sh:nodeKind sh:IRI ;
203201
sh:path schema:image ],
204202

205-
[ sh:nodeKind sh:IRI ;
206-
sh:path reproschema:DontKnow ],
207-
208-
[ sh:nodeKind sh:IRI ;
209-
sh:path reproschema:Skipped ],
210-
211203
[ sh:datatype rdf:langString ;
212204
sh:path schema:name ],
213205

214206
[ sh:or ( [ sh:datatype xsd:integer ] [ sh:nodeKind sh:IRI ] [ sh:datatype schema:Boolean ] [ sh:datatype schema:StructuredValue ] [ sh:datatype schema:Text ]) ;
215-
sh:path reproschema:value ] .
207+
sh:path reproschema:value ];
208+
sh:targetClass reproschema:Choice .
216209

217210
reproschema:IsVisShape a sh:NodeShape ;
218211
sh:closed true ;
@@ -237,7 +230,8 @@ reproschema:ComputeSpecificationShape a sh:NodeShape ;
237230
sh:path reproschema:variableName ],
238231
[ sh:datatype rdf:langString ;
239232
sh:minCount 1 ;
240-
sh:path reproschema:jsExpression ] .
233+
sh:path reproschema:jsExpression ] ;
234+
sh:targetClass reproschema:ComputeSpecification .
241235

242236
reproschema:AdditionalNoteObjShape a sh:NodeShape ;
243237
sh:closed true ;
@@ -251,4 +245,5 @@ reproschema:AdditionalNoteObjShape a sh:NodeShape ;
251245
sh:path reproschema:column ],
252246

253247
[ sh:or ( [ sh:datatype xsd:integer ] [ sh:nodeKind sh:IRI ] [ sh:datatype schema:Boolean ] [ sh:datatype schema:StructuredValue ] [ sh:datatype schema:Text ]) ;
254-
sh:path reproschema:value ] .
248+
sh:path reproschema:value ] ;
249+
sh:targetClass reproschema:AdditionalNoteObj .

0 commit comments

Comments
 (0)