Skip to content

Commit 731445a

Browse files
authored
updated definitions & shapes
1 parent c26e913 commit 731445a

3 files changed

Lines changed: 26 additions & 9 deletions

File tree

ImagingOntology.ttl

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,19 @@ schema:license a rdf:Property;
2828
rdfs:label "License" .
2929

3030
schema:citation a rdf:Property;
31-
rdfs:comment "A DOI URL citation to publication about this software. Should always be a full and valid DOI URL.";
32-
rdfs:label "Citation" .
31+
rdfs:comment "A DOI https URL citation to publication about this software. Use Zenodo to generate if needed. e.g. https://doi.org/10.1016/j.procs.2017.03.009";
32+
rdfs:label "Citation DOI" .
33+
34+
schema:contentURL a rdf:Property;
35+
rdfs:comment "Actual bytes of the media object, for example the image file or video file.";
36+
rdfs:label "Content URL".
3337

3438
schema:dateCreated a rdf:Property;
3539
rdfs:comment "The date on which the repository was created.";
3640
rdfs:label "Date created" .
3741

3842
schema:datePublished a rdf:Property;
39-
rdfs:comment "Date of the latest published release.";
43+
rdfs:comment "Latest published git release date, else, the publish date of the doi.";
4044
rdfs:label "Date published" .
4145

4246
schema:maintainer a rdf:Property;
@@ -49,15 +53,19 @@ schema:name a rdf:Property;
4953
rdfs:subPropertyOf rdfs:label .
5054

5155
schema:memoryRequirements a rdf:Property;
52-
rdfs:comment "Minimum memory requirements.";
56+
rdfs:comment "Minimum RAM requirements in GB to run the software, 0 if not applicable.";
5357
rdfs:label "Memory requirements" .
5458

5559
ex:fairLevel a rdf:Property;
5660
rdfs:comment "A score of 1-5 rating the Findability, Accessibility, Interoperability and Reusability of a piece of software based on the presence of certain properties for an instance of software";
5761
rdfs:label "FAIR Level" .
5862

63+
schema:affiliation a rdf:Property;
64+
rdfs:comment "An organization that this person is affiliated with. For example, a university (EPFL/ETHZ), lab, company." ;
65+
rdfs:label "Affiliation".
66+
5967
schema:applicationCategory a rdf:Property;
60-
rdfs:comment "Type of software application, e.g. 'Game, Multimedia'.";
68+
rdfs:comment "Type of software application, e.g. 'Plugin, gui, desktop app, library'.";
6169
rdfs:label "Application category" .
6270

6371
schema:codeRepository a rdf:Property;
@@ -77,7 +85,7 @@ schema:featureList a rdf:Property;
7785
rdfs:label "Feature list" .
7886

7987
schema:image a rdf:Property;
80-
rdfs:comment "An image of the item. This can be a URL or a fully described ImageObject.";
88+
rdfs:comment "An image of the item.";
8189
rdfs:label "Image" .
8290

8391
schema:isAccessibleForFree a rdf:Property;

ImagingOntologyShapes.ttl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ schema:CreativeWork-citation
198198
a sh:PropertyShape ;
199199
sh:path schema:citation ;
200200
sh:minCount 1 ;
201-
sh:maxCount 1 ;
202201
sh:datatype xsd:string ;
203202
sh:pattern "^http.*" ;
204203
.
@@ -308,6 +307,7 @@ a sh:NodeShape ;
308307
sh:property schema:Person-familyName ;
309308
sh:property schema:Person-givenName ;
310309
sh:property md4i:orcidIdShape ;
310+
sh:property schema:Person-affiliation
311311
.
312312

313313
schema:Person-email
@@ -336,6 +336,12 @@ md4i:orcidIdShape
336336
sh:datatype xsd:string ;
337337
.
338338

339+
schema:Person-affiliation
340+
a sh:PropertyShape ;
341+
sh:path schema:affiliation ;
342+
sh:datatype xsd:string ;
343+
.
344+
339345
schema:Organization
340346
a sh:NodeShape ;
341347
sh:property schema:Organization-legalName ;
@@ -345,7 +351,9 @@ sh:property md4i:hasRorIdShape ;
345351
schema:SoftwareApplication-memoryRequirements
346352
a sh:PropertyShape ;
347353
sh:path schema:memoryRequirements ;
348-
sh:datatype xsd:string ;
354+
sh:or (
355+
[sh:datatype xsd:string ]
356+
[sh:hasValue "None"])
349357
.
350358

351359
schema:Thing-name

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ This repo contains the SHACL shapes and the IP Ontology used for:
1010
- **v0.1**: Initial release, ex: prefixes updated, sh:nodekind sh:IRI replaced with a regex.
1111
- **v0.2**: Changed shapes, ontology definitions, fairlevel validator.
1212
- **v0.3**: Changed fair calculation.
13-
- **v0.4**: Fixed loose nodes for PySHACL
13+
- **v0.4**: Fixed loose nodes for PySHACL.
14+
- **v0.5**: Updated definitions, cardinality of several shapes.
1415

0 commit comments

Comments
 (0)