Skip to content

Commit 5dd4148

Browse files
committed
feat: remove a bunch of non-sensical stuff that developers and researchers don't care for to find their software
1 parent db020be commit 5dd4148

3 files changed

Lines changed: 14 additions & 122 deletions

File tree

src/imaging-ontology/ImagingOntology.ttl

Lines changed: 4 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
dct:creator "Robin Franken" ;
2626
dct:description "The Imaging Plaza ontology provides concepts (classes and properties) to model human and machine readable imaging software metadata. It is the result of re-using external pre-existing vocabularies such as schema.org and the software description ontology, together with custom imaging specific objects and properties. The ontology contains purely semantic information (labels, definitions etc.) and is meant to be used in conjuction with a graph of enumeration values and a graph containing SHACL shapes to provide more machine readable restrictions on values of properties." ;
2727
dct:license <https://spdx.org/licenses/CC-BY-SA-4.0.html> ;
28-
dct:modified "2025-06-23"^^xsd:date ;
28+
dct:modified "2025-10-02"^^xsd:date ;
2929
dct:title "Imaging Plaza Ontology" ;
3030
vann:preferredNamespacePrefix "imag" ;
3131
vann:preferredNamespaceUri "https://imaging-plaza.epfl.ch/ontology#"^^xsd:string ;
32-
owl:versionInfo "1.0.4"^^xsd:string
32+
owl:versionInfo "1.1.0"^^xsd:string
3333
.
3434

3535
schema:SoftwareSourceCode
@@ -114,16 +114,8 @@ imag:relatedToOrganization a rdf:Property ;
114114
rdfs:comment "The lab/institution/group/project/organization to which a software is related and/or affiliated to" ;
115115
rdfs:label "Related to organization" .
116116

117-
schema:familyName a rdf:Property;
118-
rdfs:comment "Family name. In the U.S., the last name of a Person.";
119-
rdfs:label "Family name" .
120-
121-
schema:givenName a rdf:Property;
122-
rdfs:comment "Given name. In the U.S., the first name of a Person.";
123-
rdfs:label "Given name" .
124-
125117
schema:name a rdf:Property;
126-
rdfs:comment "The name of a person, in the US their first and last name(s) seperated by spaces";
118+
rdfs:comment "The name of a thing or person.";
127119
rdfs:label "Name" .
128120

129121
md4i:orcidId a rdf:Property ;
@@ -151,7 +143,7 @@ schema:softwareRequirements a rdf:Property;
151143
rdfs:label "Software requirements" .
152144

153145
schema:softwareVersion a rdf:Property;
154-
rdfs:comment "Version of the software instance.";
146+
rdfs:comment "Version of the software instance expressed as x.x.x .";
155147
rdfs:label "Software version" .
156148

157149
schema:url a rdf:Property;
@@ -162,14 +154,6 @@ schema:identifier a rdf:Property;
162154
rdfs:comment "Represents any kind of unique string to identify something, such as ISBNs, GTIN codes, UUIDs etc.";
163155
rdfs:label "Identifier" .
164156

165-
schema:defaultValue a rdf:Property;
166-
rdfs:comment "The default value of the input. For properties that expect a literal, the default is a literal value, for properties that expect an object, it's an ID reference to one of the current values.";
167-
rdfs:label "Default value" .
168-
169-
schema:valueRequired a rdf:Property;
170-
rdfs:comment "Whether the property must be filled in to complete the action. Default is false.";
171-
rdfs:label "Value required" .
172-
173157
schema:supportingData a rdf:Property;
174158
rdfs:comment "Supporting data for a SoftwareApplication.";
175159
rdfs:label "Supporting data" .
@@ -178,10 +162,6 @@ schema:distribution a rdf:Property;
178162
rdfs:comment "A downloadable form of this dataset, at a specific location, in a specific format." ;
179163
rdfs:label "Distribution" .
180164

181-
schema:encodingFormat a rdf:Property;
182-
rdfs:comment "Expressed using a MIME format (http://www.iana.org/assignments/media-types/media-types.xhtml).";
183-
rdfs:label "Encoding format" .
184-
185165
schema:measurementTechnique a rdf:Property;
186166
rdfs:comment "A technique or technology used in a Dataset corresponding to the method used for measuring the corresponding variable(s)." ;
187167
rdfs:label "Measurement technique" .
@@ -206,18 +186,6 @@ schema:processorRequirements a rdf:Property;
206186
rdfs:comment "Processor architecture required to run the application.";
207187
rdfs:label "Processor requirements" .
208188

209-
sd:hasInput a rdf:Property;
210-
rdfs:comment "Property that links a model configuration to the input types expected by it."@en;
211-
rdfs:label "Has input"@en .
212-
213-
sd:hasOutput a rdf:Property;
214-
rdfs:comment "Property that expresses what the outputs of a model are"@en;
215-
rdfs:label "Has output"@en .
216-
217-
sd:hasParameter a rdf:Property;
218-
rdfs:comment "Property that indicates the parameters of a model configuration"@en;
219-
rdfs:label "Has parameter"@en .
220-
221189
sd:hasFunding a rdf:Property;
222190
rdfs:comment "Property that links a software project to its funding information"@en;
223191
rdfs:label "Has funding information"@en .
@@ -257,10 +225,6 @@ sd:fundingGrant a rdf:Property;
257225
rdfs:label "Funding grant"@en;
258226
rdfs:subPropertyOf <https://codemeta.github.io/terms/funding> .
259227

260-
sd:hasFormat a rdf:Property;
261-
rdfs:comment "Format followed by a file. For example, txt, nc, etc."@en;
262-
rdfs:label "Has format"@en .
263-
264228
sd:availableInRegistry a rdf:Property;
265229
rdfs:comment "URL to registry of where software image can be found. For example, https://hub.docker.com/r/pytorch/pytorch"@en;
266230
rdfs:label "Available in registry"@en .
@@ -355,12 +319,7 @@ sd:DatasetSpecification a rdfs:Class ;
355319
rdfs:label "Dataset Specification"@en ;
356320
.
357321

358-
bio:FormalParameter a rdfs:Class ;
359-
rdfs:subClassOf <http://purl.org/linked-data/cube#DataStructureDefinition> ;
360-
rdfs:comment "A FormalParameter is an identified variable used to stand for the actual value(s) that are consumed/produced by a set of steps"@en ;
361-
rdfs:label "Formal Parameter"@en ;
362322

363-
.
364323
imag:ExecutableNotebook a rdfs:Class ;
365324
rdfs:comment "An object representing an executable notebook such as Jupyter Notebook" ;
366325
rdfs:label "Executable Notebook"@en ;

src/imaging-ontology/ImagingOntologyEnumeration.ttl

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ imag:UZH a imag:AffiliationEnum ;
6666
.
6767

6868
imag:NoneAffiliation a imag:AffiliationEnum ;
69-
rdfs:label "None" ;
69+
rdfs:label "No affiliation" ;
7070
.
7171

7272
imag:IsPluginModuleOfEnum a rdfs:Class ;
@@ -99,10 +99,6 @@ imag:Pyxu a imag:IsPluginModuleOfEnum ;
9999
rdfs:label "pyxu" ;
100100
.
101101

102-
imag:NonePluginModule a imag:IsPluginModuleOfEnum ;
103-
rdfs:label "None" ;
104-
.
105-
106102
imag:ApplicationCategoryEnum a rdfs:Class ;
107103
rdfs:comment "Enumeration class for application category" ;
108104
rdfs:label "Application Category Enumeration" ;
@@ -174,7 +170,7 @@ imag:MacOS a imag:OperatingSystemEnum ;
174170
.
175171

176172
imag:OtherOS a imag:OperatingSystemEnum ;
177-
rdfs:label "Other" ;
173+
rdfs:label "Other OS" ;
178174
.
179175

180176
imag:ProcessorRequirementsEnum a rdfs:Class ;
@@ -192,7 +188,7 @@ imag:AMD64 a imag:ProcessorRequirementsEnum ;
192188
.
193189

194190
imag:NoneProcessorRequirement a imag:ProcessorRequirementsEnum ;
195-
rdfs:label "None" ;
191+
rdfs:label "No processor requirements" ;
196192
.
197193

198194
imag:FeatureEnum a rdfs:Class ;
@@ -533,7 +529,7 @@ imag:CUDA_9_0 a imag:SoftwareRequirementsEnum ;
533529
.
534530

535531
imag:NoneSoftwareRequirement a imag:SoftwareRequirementsEnum ;
536-
rdfs:label "None" ;
532+
rdfs:label "No software requirements" ;
537533
.
538534

539535
imag:ComputerLanguageEnum a rdfs:Class ;
@@ -618,7 +614,7 @@ imag:Wasm a imag:HostTypeEnumeration ;
618614

619615

620616
imag:OtherHostType a imag:HostTypeEnumeration ;
621-
rdfs:label "Other" ;
617+
rdfs:label "Other host type" ;
622618
.
623619

624620
imag:DatasetFormatEnumeration a rdfs:Class ;
@@ -668,5 +664,5 @@ imag:RAW a imag:DatasetFormatEnumeration ;
668664
.
669665

670666
imag:OtherDatasetFormat a imag:DatasetFormatEnumeration ;
671-
rdfs:label "Other" ;
667+
rdfs:label "Other format" ;
672668
.

src/imaging-ontology/ImagingOntologyShapes.ttl

Lines changed: 4 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,6 @@ prefix skos: <http://www.w3.org/2004/02/skos/core#>
9494
sh:description "This shape defines the requirements for a software to be considered FAIR level 4 compliant. It builds upon level 3 and adds more detailed metadata and requirements." ;
9595
sh:targetClass schema:SoftwareSourceCode ;
9696
sh:property
97-
[sh:path schema:memoryRequirements ;
98-
sh:minCount 1;
99-
sh:message "Fair level 4"] ,
100-
10197
[sh:path sd:hasDocumentation ;
10298
sh:minCount 1;
10399
sh:message "Fair level 4"] ,
@@ -168,7 +164,6 @@ sh:property schema:SoftwareApplication-applicationCategory ,
168164
sd:SoftwareApplication-hasDocumentation ,
169165
sd:SoftwareApplication-hasExecutableInstructions ,
170166
imag:SoftwareApplication-hasExecutableNotebook ,
171-
sd:SoftwareApplication-hasParameter ,
172167
sd:SoftwareApplication-readme ,
173168
sd:SoftwareApplication-hasFunding ,
174169
sd:SoftwareConfiguration-hasSoftwareImage ,
@@ -367,20 +362,6 @@ a sh:NodeShape ;
367362
sh:property schema:Person-affiliation
368363
.
369364

370-
schema:Person-familyName
371-
a sh:PropertyShape ;
372-
sh:path schema:familyName ;
373-
sh:datatype xsd:string ;
374-
sh:minCount 1 ;
375-
.
376-
377-
schema:Person-givenName
378-
a sh:PropertyShape ;
379-
sh:path schema:givenName ;
380-
sh:datatype xsd:string ;
381-
sh:minCount 1 ;
382-
.
383-
384365
md4i:orcidIdShape
385366
a sh:PropertyShape ;
386367
sh:path md4i:orcidId ;
@@ -402,17 +383,15 @@ sh:property md4i:hasRorIdShape ;
402383
schema:SoftwareApplication-memoryRequirements
403384
a sh:PropertyShape ;
404385
sh:path schema:memoryRequirements ;
405-
sh:or (
406-
[sh:datatype xsd:string ]
407-
[sh:hasValue "None"])
386+
sh:datatype xsd:integer ;
408387
.
409388

410389
schema:Thing-name
411390
a sh:PropertyShape ;
412391
sh:path schema:name ;
413392
sh:datatype xsd:string ;
414393
sh:minCount 1 ;
415-
sh:maxLength 60
394+
sh:maxLength 120
416395
.
417396

418397
schema:SoftwareApplication-operatingSystem
@@ -478,12 +457,6 @@ imag:SoftwareApplication-hasExecutableNotebook
478457
sh:class imag:ExecutableNotebook ;
479458
.
480459

481-
sd:SoftwareApplication-hasParameter
482-
a sh:PropertyShape ;
483-
sh:path sd:hasParameter ;
484-
sh:class bio:FormalParameter ;
485-
.
486-
487460
sd:SoftwareApplication-readme
488461
a sh:PropertyShape ;
489462
sh:path sd:readme ;
@@ -577,49 +550,12 @@ sd:FundingInformation
577550
sd:FundingInformation-fundingSource ;
578551
.
579552

580-
581-
582-
bio:FormalParameter
583-
a sh:NodeShape ;
584-
sh:property schema:Thing-description ,
585-
schema:CreativeWork-encodingFormat,
586-
schema:Thing-name,
587-
sd:DatasetSpecification-hasDimensionality,
588-
sd:DatasetSpecification-hasFormat ,
589-
schema:PropertyValueSpecification-defaultValue,
590-
schema:PropertyValueSpecification-valueRequired
591-
.
592-
593-
schema:CreativeWork-encodingFormat
594-
a sh:PropertyShape ;
595-
sh:path schema:encodingFormat ;
596-
sh:pattern ".*iana.org/assignments/media-types/.*" ;
597-
.
598-
599553
sd:DatasetSpecification-hasDimensionality
600554
a sh:PropertyShape ;
601555
sh:path sd:hasDimensionality ;
602556
sh:datatype xsd:integer ;
603557
.
604558

605-
sd:DatasetSpecification-hasFormat
606-
a sh:PropertyShape ;
607-
sh:path sd:hasFormat ;
608-
sh:datatype xsd:string ;
609-
.
610-
611-
schema:PropertyValueSpecification-defaultValue
612-
a sh:PropertyShape ;
613-
sh:path schema:defaultValue ;
614-
sh:datatype xsd:string ;
615-
.
616-
617-
schema:PropertyValueSpecification-valueRequired
618-
a sh:PropertyShape ;
619-
sh:path schema:valueRequired ;
620-
sh:datatype xsd:boolean ;
621-
.
622-
623559
sd:SoftwareConfiguration-hasSoftwareImage
624560
a sh:PropertyShape ;
625561
sh:path sd:hasSoftwareImage ;
@@ -640,7 +576,8 @@ imag:ExecutableNotebook a sh:NodeShape ;
640576

641577
imag:RunnableExample
642578
a sh:NodeShape ;
643-
sh:property schema:Thing-description ,
579+
sh:property schema:SoftwareApplication-softwareVersion ,
580+
schema:Thing-description ,
644581
schema:Thing-url ,
645582
schema:Thing-name ,
646583
imag:hostTypeShape

0 commit comments

Comments
 (0)