Skip to content

Commit fbdacb5

Browse files
committed
ISA profile: fixed some issues and removed leftover code
1 parent e66a363 commit fbdacb5

20 files changed

Lines changed: 75 additions & 2237 deletions

rocrate_validator/profiles/isa-ro-crate/2_assay.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ isa-ro-crate:AssayMustHaveBaseDescriptors a sh:NodeShape ;
9393

9494

9595
isa-ro-crate:AssayMustBeReferencedFromInvestigation a sh:NodeShape ;
96-
sh:name "Assay MUST be directly referenced from Investigation or Study (Root Data Entity)" ;
96+
sh:name "Assay MUST be directly referenced from Investigation (Root Data Entity) or Study" ;
9797
sh:targetClass isa-ro-crate:Assay ;
9898
sh:property[
9999
a sh:PropertyShape ;
@@ -105,7 +105,7 @@ isa-ro-crate:AssayMustBeReferencedFromInvestigation a sh:NodeShape ;
105105
) ;
106106
] ;
107107
sh:qualifiedMinCount 1 ;
108-
sh:name "Assay MUST be directly referenced from Investigation or Study (Root Data Entity)" ;
108+
sh:name "Assay MUST be directly referenced from Investigation (Root Data Entity) or Study" ;
109109
sh:description """Check if the Assay is directly linked to the Investigation (which is the Root Data Entity) or a Study using the `hasPart` (as defined in `schema.org`) property" """ ;
110110
sh:message "Assay MUST be directly referenced in hasPart on the Investigation (Root Data Entity) or a Study"
111111
]

rocrate_validator/profiles/isa-ro-crate/4_protocol.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ isa-ro-crate:ProtocolShouldHaveIntendedUse a sh:NodeShape ;
9898
[sh:datatype xsd:string]
9999
[sh:class schema:DefinedTerm]
100100
) ;
101-
sh:description "Check that if protocol does have at least one intended use, it MUST be of type DefinedTerm" ;
102-
sh:message "Protocol intended use MUST be of type DefinedTerm" ;
101+
sh:description "Check that if protocol does have at least one intended use, it MUST be of type string or DefinedTerm" ;
102+
sh:message "Protocol intended use MUST be of type string or DefinedTerm" ;
103103
sh:severity sh:Violation ;
104104
]
105105
.

rocrate_validator/profiles/isa-ro-crate/5_sample.ttl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ isa-ro-crate:SampleShouldHaveAdditionalPropertyOfCorrectType a sh:NodeShape ;
5454
a sh:PropertyShape ;
5555
sh:path bioschemas-prop:additionalProperty ;
5656
sh:minCount 1 ;
57-
sh:not [
58-
sh:hasValue ""
59-
] ;
6057
sh:description "Check that sample does have at least one additional property" ;
6158
sh:message "Sample entity SHOULD have at least one additional property" ;
6259
sh:severity sh:Warning ;

rocrate_validator/profiles/isa-ro-crate/7_person.ttl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ isa-ro-crate:PersonShouldHaveAffiliationOfCorrectType a sh:NodeShape ;
5454
a sh:PropertyShape ;
5555
sh:path schema:affiliation ;
5656
sh:minCount 1 ;
57-
sh:not [
58-
sh:hasValue ""
59-
] ;
6057
sh:description "Check that person does have at least one affiliation" ;
6158
sh:message "Person entity SHOULD have at least one affiliation" ;
6259
sh:severity sh:Warning ;
@@ -79,9 +76,6 @@ isa-ro-crate:PersonShouldHaveJobTitleOfCorrectType a sh:NodeShape ;
7976
a sh:PropertyShape ;
8077
sh:path schema:jobTitle ;
8178
sh:minCount 1 ;
82-
sh:not [
83-
sh:hasValue ""
84-
] ;
8579
sh:description "Check that person does have at least one job title" ;
8680
sh:message "Person entity SHOULD have at least one job title" ;
8781
sh:severity sh:Warning ;

rocrate_validator/profiles/isa-ro-crate/8_article.ttl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ isa-ro-crate:ArticleShouldHaveAuthorOfCorrectType a sh:NodeShape ;
7373
a sh:PropertyShape ;
7474
sh:path schema:author ;
7575
sh:minCount 1 ;
76-
sh:not [
77-
sh:hasValue ""
78-
] ;
7976
sh:description "Check that article does have at least one author" ;
8077
sh:message "Article entity SHOULD have at least one author" ;
8178
sh:severity sh:Warning ;

0 commit comments

Comments
 (0)