Skip to content

Commit

Permalink
Fix range for related_identifiers slot
Browse files Browse the repository at this point in the history
  • Loading branch information
dalito committed May 7, 2024
1 parent 874a9cb commit 9b889ee
Show file tree
Hide file tree
Showing 14 changed files with 289 additions and 291 deletions.
Binary file modified project/excel/pid4cat_model.xlsx
Binary file not shown.
2 changes: 1 addition & 1 deletion project/graphql/pid4cat_model.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type PID4CatRecord
dcRights: String
curationContact: String
resourceInfo: ResourceInfo
relatedIdentifiers: [Uriorcurie]
relatedIdentifiers: [PID4CatRelation]
changeLog: [LogRecord]!
}

Expand Down
4 changes: 2 additions & 2 deletions project/jsonld/pid4cat_model.context.jsonld
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"comments": {
"description": "Auto generated by LinkML jsonld context generator",
"generation_date": "2024-02-25T23:40:28",
"generation_date": "2024-05-07T23:00:58",
"source": "pid4cat_model.yaml"
},
"@context": {
"DCAT": "http://www.w3.org/ns/dcat#",
"DataCite": "http://purl.org/spar/datacite/",
"dct": "http://purl.org/dc/terms/",
"dcterms": "http://purl.org/dc/terms/",
"linkml": "https://w3id.org/linkml/",
"pid4cat_model": "https://w3id.org/nfdi4cat/pid4cat-model/",
"schema": "http://schema.org/",
Expand Down
29 changes: 15 additions & 14 deletions project/jsonld/pid4cat_model.jsonld
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pid4cat-model",
"description": "A LinkML model for PIDs for resources in catalysis (PID4Cat). PID4Cat is a handle system based persistent identifier (PID) for digital or physical resources used in the catalysis research process. The handle record is used to store metadata about the PID besides the obligatory landing page URL.\nThe model describes metadata for the PID itself and how to access the identified resource. It does not describe the resource itself with the exception of the resource category, which is a high-level description of what is identified by the PID4Cat handle, e.g. a sample or a device.",
"description": "A LinkML model for PIDs for resources in catalysis (PID4Cat). PID4Cat is a handle system based persistent identifier (PID) for digital or physical resources used in the catalysis research process. The handle record is used to store additional metadata about the PID besides the obligatory landing page URL.\nThe model describes metadata for the PID itself and how to access the identified resource. It does not describe the resource itself with the exception of the resource category, which is a high-level description of what is identified by the PID4Cat handle, e.g. a sample or a device.",
"title": "pid4cat-model",
"todos": [
"Refine slots in slot_usage of class instead of globally in slot definitions",
Expand Down Expand Up @@ -29,7 +29,7 @@
"prefix_reference": "http://schema.org/"
},
{
"prefix_prefix": "dct",
"prefix_prefix": "dcterms",
"prefix_reference": "http://purl.org/dc/terms/"
},
{
Expand Down Expand Up @@ -434,12 +434,12 @@
{
"text": "HAS_VERSION",
"description": "The resource has a version.",
"meaning": "dct:hasVersion"
"meaning": "dcterms:hasVersion"
},
{
"text": "IS_VERSION_OF",
"description": "The resource is a version of.",
"meaning": "dct:isVersionOf"
"meaning": "dcterms:isVersionOf"
},
{
"text": "IS_NEW_VERSION_OF",
Expand All @@ -452,12 +452,12 @@
{
"text": "IS_PART_OF",
"description": "The resource is part of another resource.",
"meaning": "dct:isPartOf"
"meaning": "dcterms:isPartOf"
},
{
"text": "HAS_PART",
"description": "The resource has part another resource.",
"meaning": "dct:hasPart"
"meaning": "dcterms:hasPart"
},
{
"text": "IS_DESCRIBED_BY",
Expand All @@ -474,7 +474,7 @@
{
"text": "IS_REFERENCED_BY",
"description": "The resource is referenced by another resource.",
"meaning": "dct:isReferencedBy"
"meaning": "dcterms:isReferencedBy"
},
{
"text": "REFERENCES",
Expand Down Expand Up @@ -527,12 +527,12 @@
{
"text": "IS_REQUIRED_BY",
"description": "The resource is required by another resource.",
"meaning": "dct:isRequiredBy"
"meaning": "dcterms:isRequiredBy"
},
{
"text": "REQUIRES",
"description": "The resource requires another resource.",
"meaning": "dct:requires"
"meaning": "dcterms:requires"
},
{
"text": "IS_OBSOLETED_BY",
Expand Down Expand Up @@ -711,7 +711,7 @@
{
"name": "related_identifiers",
"definition_uri": "https://w3id.org/nfdi4cat/pid4cat-model/related_identifiers",
"description": "Alternate identifiers for the resource",
"description": "Relations of the resource to other identifiers",
"from_schema": "https://w3id.org/nfdi4cat/pid4cat-model",
"mappings": [
"http://schema.org/identifier"
Expand All @@ -722,7 +722,8 @@
"domain_of": [
"PID4CatRecord"
],
"range": "uriorcurie",
"range": "PID4CatRelation",
"inlined": true,
"@type": "SlotDefinition"
},
{
Expand Down Expand Up @@ -1204,9 +1205,9 @@
],
"metamodel_version": "1.7.0",
"source_file": "pid4cat_model.yaml",
"source_file_date": "2024-02-25T18:17:54",
"source_file_size": 12852,
"generation_date": "2024-02-25T23:40:29",
"source_file_date": "2024-05-07T22:57:23",
"source_file_size": 12910,
"generation_date": "2024-05-07T23:00:59",
"@type": "SchemaDefinition",
"@context": [
"project/jsonld/pid4cat_model.context.jsonld",
Expand Down
4 changes: 2 additions & 2 deletions project/jsonschema/pid4cat_model.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@
"type": "string"
},
"related_identifiers": {
"description": "Alternate identifiers for the resource",
"description": "Relations of the resource to other identifiers",
"items": {
"type": "string"
"$ref": "#/$defs/PID4CatRelation"
},
"type": "array"
},
Expand Down
Loading

0 comments on commit 9b889ee

Please sign in to comment.