Skip to content

Commit

Permalink
feat:introduce author instead of maintainer + producer
Browse files Browse the repository at this point in the history
  • Loading branch information
rmfranken committed Jan 15, 2025
1 parent a8c5c8b commit 224babc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 54 deletions.
6 changes: 2 additions & 4 deletions locales/en/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"contentURL_label": "Content URL",
"dateCreated_label": "Date created",
"datePublished_label": "Date published",
"maintainer_label": "Maintainer",
"memoryRequirements_label": "Memory requirements",
"fairLevel_label": "FAIR Level",
"affiliation_label": "Affiliation",
Expand All @@ -33,7 +32,7 @@
"hasRorId_label": "Has ROR ID",
"legalName_label": "Legal name",
"operatingSystem_label": "Operating system",
"producer_label": "Producer",
"author_label": "Author",
"programmingLanguage_label": "Programming Language",
"softwareRequirements_label": "Software requirements",
"softwareVersion_label": "Software version",
Expand Down Expand Up @@ -81,7 +80,6 @@
"contentURL_placeholder": "Actual bytes of the media object, for example the image file or video file.",
"dateCreated_placeholder": "The date on which the repository was created.",
"datePublished_placeholder": "Latest published git release date, else, the publish date of the doi.",
"maintainer_placeholder": "A maintainer of a Dataset, software package or other Project. A maintainer is a Person or Organization that manages contributions to, and/or publication of, some (typically complex) artifact.",
"memoryRequirements_placeholder": "Minimum RAM requirements in GB to run the software, 0 if not applicable.",
"fairLevel_placeholder": "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",
"affiliation_placeholder": "An organization that this person is affiliated with. For example, a university (EPFL/ETHZ), lab, company.",
Expand All @@ -102,7 +100,7 @@
"hasRorId_placeholder": "A Research Organization Registry identifier, that points to a research organization",
"legalName_placeholder": "The official name of the organization, e.g. the registered company name.",
"operatingSystem_placeholder": "Operating systems supported (Windows 7/10/11, OS X 10.6, Android 1.6).",
"producer_placeholder": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).",
"author_placeholder": "The author of the software, this can be organizations or people that are maintainers and/or producers of the software.",
"programmingLanguage_placeholder": "The computer programming language.",
"softwareRequirements_placeholder": "Special third party dependencies (e.g. CUDA, Tensorflow etc. related requirements).",
"softwareVersion_placeholder": "Version of the software instance.",
Expand Down
10 changes: 3 additions & 7 deletions schemas/ImagingOntology.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ schema:datePublished a rdf:Property;
rdfs:comment "Latest published git release date, else, the publish date of the doi.";
rdfs:label "Date published" .

schema:maintainer a rdf:Property;
rdfs:comment "A maintainer of a Dataset, software package or other Project. A maintainer is a Person or Organization that manages contributions to, and/or publication of, some (typically complex) artifact.";
rdfs:label "Maintainer" .
schema:author a rdf:Property;
rdfs:comment "The author of the software, this can be organizations or people that are maintainers and/or producers of the software.";
rdfs:label "Author" .

schema:memoryRequirements a rdf:Property;
rdfs:comment "Minimum RAM requirements in GB to run the software, 0 if not applicable.";
Expand Down Expand Up @@ -139,10 +139,6 @@ schema:operatingSystem a rdf:Property;
rdfs:comment "Operating systems supported (Windows 7/10/11, OS X 10.6, Android 1.6).";
rdfs:label "Operating system" .

schema:producer a rdf:Property;
rdfs:comment "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).";
rdfs:label "Producer" .

schema:programmingLanguage a rdf:Property;
rdfs:comment "The computer programming language.";
rdfs:label "Programming Language" .
Expand Down
31 changes: 6 additions & 25 deletions schemas/ImagingOntologyCombined.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,10 @@ sh:property schema:SoftwareApplication-applicationCategory ,
imag:isPluginModuleOfShape,
imag:relatedToOrganizationShape,
schema:CreativeWork-license ,
schema:CreativeWork-maintainer ,
schema:CreativeWork-author ,
schema:SoftwareApplication-memoryRequirements ,
schema:Thing-name ,
schema:SoftwareApplication-operatingSystem ,
schema:CreativeWork-producer ,
schema:SoftwareSourceCode-programmingLanguage ,
schema:SoftwareApplication-softwareRequirements ,
schema:SoftwareApplication-processorRequirements ,
Expand Down Expand Up @@ -345,9 +344,9 @@ schema:CreativeWork-license
sh:minCount 1 ;
.

schema:CreativeWork-maintainer
schema:CreativeWork-author
a sh:PropertyShape ;
sh:path schema:maintainer ;
sh:path schema:author ;
sh:minCount 1 ;
sh:or (
[
Expand Down Expand Up @@ -428,20 +427,6 @@ schema:SoftwareApplication-operatingSystem
sh:in ("Linux" "Windows" "MacOS" "Other") ;
.

schema:CreativeWork-producer
a sh:PropertyShape ;
sh:path schema:producer ;
sh:minCount 1 ;
sh:or (
[
sh:class schema:Organization ;
]
[
sh:class schema:Person ;
]
) ;
.

schema:SoftwareSourceCode-programmingLanguage
a sh:PropertyShape ;
sh:path schema:programmingLanguage ;
Expand Down Expand Up @@ -699,9 +684,9 @@ schema:datePublished a rdf:Property;
rdfs:comment "Latest published git release date, else, the publish date of the doi.";
rdfs:label "Date published" .

schema:maintainer a rdf:Property;
rdfs:comment "A maintainer of a Dataset, software package or other Project. A maintainer is a Person or Organization that manages contributions to, and/or publication of, some (typically complex) artifact.";
rdfs:label "Maintainer" .
schema:author a rdf:Property;
rdfs:comment "The author of the software, this can be organizations or people that are maintainers and/or producers of the software." ;
rdfs:label "Author" .

schema:memoryRequirements a rdf:Property;
rdfs:comment "Minimum RAM requirements in GB to run the software, 0 if not applicable.";
Expand Down Expand Up @@ -783,10 +768,6 @@ schema:operatingSystem a rdf:Property;
rdfs:comment "Operating systems supported (Windows 7/10/11, OS X 10.6, Android 1.6).";
rdfs:label "Operating system" .

schema:producer a rdf:Property;
rdfs:comment "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).";
rdfs:label "Producer" .

schema:programmingLanguage a rdf:Property;
rdfs:comment "The computer programming language.";
rdfs:label "Programming Language" .
Expand Down
21 changes: 3 additions & 18 deletions schemas/ImagingOntologyShapes.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,10 @@ sh:property schema:SoftwareApplication-applicationCategory ,
imag:isPluginModuleOfShape,
imag:relatedToOrganizationShape,
schema:CreativeWork-license ,
schema:CreativeWork-maintainer ,
schema:CreativeWork-author ,
schema:SoftwareApplication-memoryRequirements ,
schema:Thing-name ,
schema:SoftwareApplication-operatingSystem ,
schema:CreativeWork-producer ,
schema:SoftwareSourceCode-programmingLanguage ,
schema:SoftwareApplication-softwareRequirements ,
schema:SoftwareApplication-processorRequirements ,
Expand Down Expand Up @@ -345,9 +344,9 @@ schema:CreativeWork-license
sh:minCount 1 ;
.

schema:CreativeWork-maintainer
schema:CreativeWork-author
a sh:PropertyShape ;
sh:path schema:maintainer ;
sh:path schema:author ;
sh:minCount 1 ;
sh:or (
[
Expand Down Expand Up @@ -428,20 +427,6 @@ schema:SoftwareApplication-operatingSystem
sh:in ("Linux" "Windows" "MacOS" "Other") ;
.

schema:CreativeWork-producer
a sh:PropertyShape ;
sh:path schema:producer ;
sh:minCount 1 ;
sh:or (
[
sh:class schema:Organization ;
]
[
sh:class schema:Person ;
]
) ;
.

schema:SoftwareSourceCode-programmingLanguage
a sh:PropertyShape ;
sh:path schema:programmingLanguage ;
Expand Down

0 comments on commit 224babc

Please sign in to comment.