From 63af5a0f976808945ee1e828389017a8b8cab947 Mon Sep 17 00:00:00 2001 From: Sam Leeflang Date: Tue, 3 Sep 2024 15:16:55 +0200 Subject: [PATCH] Latest data model changes and some small improvements --- app/data/opends/annotation-termlist.csv | 25 ++++++----- ...create-update-tombstone-event-termlist.csv | 4 +- app/data/opends/data-mapping-termlist.csv | 8 ++-- app/data/opends/digital-media-termlist.csv | 7 ++-- app/data/opends/digital-specimen-termlist.csv | 7 ++-- .../machine-annotation-service-termlist.csv | 5 ++- app/data/opends/source-system-termlist.csv | 10 ++--- app/md/annotation/quick-reference-header.md | 2 +- app/md/annotation/resources-header.md | 2 +- app/md/annotation/termlist-header.md | 2 +- .../quick-reference-header.md | 2 +- .../resources-header.md | 2 +- .../termlist-header.md | 2 +- app/md/data-mapping/quick-reference-header.md | 2 +- app/md/data-mapping/resources-header.md | 2 +- app/md/data-mapping/termlist-header.md | 2 +- .../digital-media/quick-reference-header.md | 2 +- app/md/digital-media/resources-header.md | 2 +- app/md/digital-media/termlist-header.md | 2 +- .../quick-reference-header.md | 2 +- app/md/digital-specimen/resources-header.md | 2 +- app/md/digital-specimen/termlist-header.md | 4 +- .../quick-reference-header.md | 2 +- .../resources-header.md | 2 +- .../termlist-header.md | 2 +- app/md/opends/home-content.md | 12 +++--- .../source-system/quick-reference-header.md | 2 +- app/md/source-system/resources-header.md | 2 +- app/md/source-system/termlist-header.md | 2 +- app/routes.py | 42 +++++++++---------- app/templates/base.html | 2 +- app/templates/includes/navbar.html | 2 +- .../class-diagrams/annotation-full.html | 31 +++++++------- .../class-diagrams/data-mapping-full.html | 4 +- .../class-diagrams/digital-media-full.html | 5 ++- .../class-diagrams/digital-specimen-full.html | 5 ++- .../machine-annotation-service-full.html | 5 ++- .../class-diagrams/source-system-full.html | 4 +- app/utils/generation/main.py | 14 ++++++- 39 files changed, 129 insertions(+), 107 deletions(-) diff --git a/app/data/opends/annotation-termlist.csv b/app/data/opends/annotation-termlist.csv index adfb937..5fa934c 100644 --- a/app/data/opends/annotation-termlist.csv +++ b/app/data/opends/annotation-termlist.csv @@ -7,14 +7,8 @@ rdf:,type,Type,The type of the annotation. It is always ods:Annotation. https:// ods:,version,Version,"The version of the object, each change generates a new version",,,[1],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,True,False,Annotation.version,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/version,ods:version,integer oa:,motivation,Motivation,The motivation for the annotation. Based on a selection of https://www.w3.org/TR/annotation-model/#motivation-and-purpose. The motivation ods:adding is added for DiSSCo's purposes.,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,True,False,Annotation.motivation,http://www.w3.org/ns/oa#,http://www.w3.org/ns/oa#motivation,oa:motivation, oa:,motivatedBy,Motivated By,Describes the reason for the annotation. https://www.w3.org/TR/annotation-vocab/#motivatedby,,,['The country is incorrect'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,False,False,Annotation.motivatedBy,http://www.w3.org/ns/oa#,http://www.w3.org/ns/oa#motivatedBy,oa:motivatedBy,string -oa:,hasTarget,Has Target,Indicates the particular object and part of the object on which the annotation has been made.,,,,http://www.w3.org/2000/01/rdf-schema#Class,Annotation,True,False,Annotation.hasTarget,http://www.w3.org/ns/oa#,http://www.w3.org/ns/oa#hasTarget,oa:hasTarget,object -ods:,ID,Id,"This is the PID of the target object. Valid targets are the Digital Specimen, Digital Media Object or another annotation.",,,"['https://hdl.handle.net/20.5000.1025/XXX-XXX-XXX', 'https://doi.org/10.22/XXX-XXX-XXX']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,hasTarget,False,False,oa:hasTarget.ID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/ID,ods:ID,string -ods:,type,Type,This is the handle to the type of the target object.,,,"['https://doi.org/21.T11148/bbad8c4e101e8af01115', 'https://doi.org/21.T11148/894b1e6cad57e921764e']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,hasTarget,True,False,oa:hasTarget.type,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/type,ods:type,string -oa:,hasSelector,Has Selector,"Optional field to indicate the part of the target object that is being annotated. It can be a field, a class or a region of interest.",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,hasTarget,False,False,oa:hasTarget.hasSelector,http://www.w3.org/ns/oa#,http://www.w3.org/ns/oa#hasSelector,oa:hasSelector,object -oa:,hasBody,Has Body,The body of the annotation contains the specific value of the annotation,,,,http://www.w3.org/2000/01/rdf-schema#Class,Annotation,False,False,Annotation.hasBody,http://www.w3.org/ns/oa#,http://www.w3.org/ns/oa#hasBody,oa:hasBody,object -oa:,value,Value,An array of multiple values in string representation specific for the particular selector,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,hasBody,True,False,oa:hasBody.value,http://www.w3.org/ns/oa#,http://www.w3.org/ns/oa#value,oa:value,array -dcterms:,references,References,Indicates how the value came to be. https://purl.org/dc/terms/references,,,['https://api.gbif.org/v1/occurrence/search?occurrenceID=https://herbarium.bgbm.org/object/BW00965020&catalogNumber=B -W 00965 -02 0&basisOfRecord=PreservedSpecimen'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,hasBody,False,False,oa:hasBody.references,http://purl.org/dc/terms/,http://purl.org/dc/terms/references,dcterms:references,string -ods:,score,Score,A score between 0 and 1 indicating the confidence in the value. 1 is the highest confidence and 0 is the lowest.,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,hasBody,False,False,oa:hasBody.score,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/score,ods:score,number +oa:,hasTarget,Has Target,Indicates the particular object and part of the object on which the annotation has been made.,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,True,False,Annotation.hasTarget,http://www.w3.org/ns/oa#,http://www.w3.org/ns/oa#hasTarget,oa:hasTarget,object +oa:,hasBody,Has Body,The body of the annotation contains the specific value of the annotation,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,True,False,Annotation.hasBody,http://www.w3.org/ns/oa#,http://www.w3.org/ns/oa#hasBody,oa:hasBody,object dcterms:,creator,Creator,Contains an ods:Agent object,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,True,False,Annotation.creator,http://purl.org/dc/terms/,http://purl.org/dc/terms/creator,dcterms:creator,object dcterms:,created,Created,The date and time when the annotation was created. https://purl.org/dc/terms/created,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,True,False,Annotation.created,http://purl.org/dc/terms/,http://purl.org/dc/terms/created,dcterms:created,string dcterms:,modified,Modified,"The date and time when the annotation was last modified, generating a new version. https://purl.org/dc/terms/modified",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,True,False,Annotation.modified,http://purl.org/dc/terms/,http://purl.org/dc/terms/modified,dcterms:modified,string @@ -24,17 +18,18 @@ schema:,AggregateRating,Aggregate Rating,The average rating based on multiple ra schema:,ratingCount,Rating Count,The count of total number of ratings. https://schema.org/ratingCount,,,[3],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,AggregateRating,True,False,schema:AggregateRating.ratingCount,http://schema.org/,http://schema.org/ratingCount,schema:ratingCount,integer schema:,ratingValue,Rating Value,The rating for the content. https://schema.org/ratingValue,,,[4.5],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,AggregateRating,True,False,schema:AggregateRating.ratingValue,http://schema.org/,http://schema.org/ratingValue,schema:ratingValue,number ods:,batchID,Batch Id,Internally generated PID to identify the batch the annotation was generated by,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,False,False,Annotation.batchID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/batchID,ods:batchID,string +ods:,placeInBatch,Place In Batch,"For batching only. Links annotation to batchMetadata provided in a batch event. If present, must correspond to an ods:placeInBatch in the batch metadata",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,False,False,Annotation.placeInBatch,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/placeInBatch,ods:placeInBatch,integer ods:,mergingDecisionStatus,Merging Decision Status,The merging status of the annotation. Only present when motivation is ods:adding or oa:editing,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,False,False,Annotation.mergingDecisionStatus,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/mergingDecisionStatus,ods:mergingDecisionStatus, ods:,mergingStateChangeDate,Merging State Change Date,The date and time when the annotation was merging state was changed. Only present when motivation is ods:adding or oa:editing,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,False,False,Annotation.mergingStateChangeDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/mergingStateChangeDate,ods:mergingStateChangeDate,string ods:,MergingStateChangedBy,Merging State Changed By,Object containing information on who changed the merging state of the annotation. Only present when motivation is ods:adding or oa:editing. Contains an ods:Agent object.,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,False,False,Annotation.MergingStateChangedBy,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/MergingStateChangedBy,ods:MergingStateChangedBy,object ods:,TombstoneMetadata,Tombstone Metadata,Object containing the tombstone metadata of the object. Only present when ods:status is ods:Tombstone,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,False,False,Annotation.TombstoneMetadata,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstoneMetadata,ods:TombstoneMetadata,object ods:,TombstoneMetadata,Tombstone Metadata,The tombstone metadata about the tombstoned digital object,,,,http://www.w3.org/2000/01/rdf-schema#Class,TombstoneMetadata,False,True,TombstoneMetadata,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstoneMetadata,ods:TombstoneMetadata, -ods:,tombstonedDate,Tombstoned Date,Timestamp the Digital Object was tombstoned and no longer active.,,,['2021-06-01T12:00:000Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstonedDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstonedDate,ods:tombstonedDate,string -ods:,tombstonedText,Tombstoned Text,A reason why the Digital Object was tombstoned,,,"['This is a duplicate of XXX', 'This object was made by mistake']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstonedText,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstonedText,ods:tombstonedText,string +ods:,tombstoneDate,Tombstone Date,Timestamp the Digital Object was tombstoned and no longer active.,,,['2021-06-01T12:00:000Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstoneDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstoneDate,ods:tombstoneDate,string +ods:,tombstoneText,Tombstone Text,A reason why the Digital Object was tombstoned,,,"['This is a duplicate of XXX', 'This object was made by mistake']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstoneText,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstoneText,ods:tombstoneText,string ods:,TombstonedByAgent,Tombstoned By Agent,"The agent who tombstoned the object, contains an ods:Agent object",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.TombstonedByAgent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstonedByAgent,ods:TombstonedByAgent,object ods:,hasRelatedPID,Has Related Pid,The PIDs of the object the tombstoned object is related to,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,False,False,TombstoneMetadata.hasRelatedPID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/hasRelatedPID,ods:hasRelatedPID,array ods:,Agent,Agent,Description of the agents connected to the digital object,,,,http://www.w3.org/2000/01/rdf-schema#Class,Agent,False,True,Agent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/Agent,ods:Agent, -schema:,name,Name,Full name of the agent,,,['John Smith'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,True,False,Agent.name,http://schema.org/,http://schema.org/name,schema:name,string +schema:,name,Name,Full name of the agent,,,['John Smith'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.name,http://schema.org/,http://schema.org/name,schema:name,string schema:,roleName,Role Name,"Indicates the role of the agent, https://schema.org/roleName",,,"['collector', 'preparer', 'identifier', 'recorder']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.roleName,http://schema.org/,http://schema.org/roleName,schema:roleName,string schema:,startDate,Start Date,Date the agent began the role,,,['2023-10-02T12:31:34.806Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.startDate,http://schema.org/,http://schema.org/startDate,schema:startDate,string schema:,endDate,End Date,Date the agent ended the role,,,['2023-09-02T12:31:34.806Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.endDate,http://schema.org/,http://schema.org/endDate,schema:endDate,string @@ -42,3 +37,11 @@ ods:,roleOrder,Role Order,Order of the agent in the role. Can be used to indicat schema:,email,Email,"Email of the agent, can be present in case the agent is a maintainer of a MAS",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.email,http://schema.org/,http://schema.org/email,schema:email,string schema:,url,Url,"URL of the agent, can be present in case the agent is a maintainer of a MAS",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.url,http://schema.org/,http://schema.org/url,schema:url,string ods:,hasIdentifier,Has Identifier,Contains zero or more ods:Identifier objects,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.hasIdentifier,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/hasIdentifier,ods:hasIdentifier,array +ods:,AnnotationTarget,Annotation Target,Description of the target of the annotation,,,,http://www.w3.org/2000/01/rdf-schema#Class,AnnotationTarget,True,True,AnnotationTarget,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/AnnotationTarget,ods:AnnotationTarget, +ods:,ID,Id,"This is the PID of the target object. Valid targets are the Digital Specimen, Digital Media Object or another annotation.",,,"['https://hdl.handle.net/20.5000.1025/XXX-XXX-XXX', 'https://doi.org/10.22/XXX-XXX-XXX']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,AnnotationTarget,False,False,AnnotationTarget.ID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/ID,ods:ID,string +ods:,type,Type,This is the handle to the type of the target object.,,,"['https://doi.org/21.T11148/bbad8c4e101e8af01115', 'https://doi.org/21.T11148/894b1e6cad57e921764e']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,AnnotationTarget,True,False,AnnotationTarget.type,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/type,ods:type,string +oa:,hasSelector,Has Selector,"Optional field to indicate the part of the target object that is being annotated. It can be a field, a class or a region of interest.",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,AnnotationTarget,False,False,AnnotationTarget.hasSelector,http://www.w3.org/ns/oa#,http://www.w3.org/ns/oa#hasSelector,oa:hasSelector,object +ods:,AnnotationBody,Annotation Body,Description of the body of the annotation,,,,http://www.w3.org/2000/01/rdf-schema#Class,AnnotationBody,True,True,AnnotationBody,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/AnnotationBody,ods:AnnotationBody, +oa:,value,Value,An array of multiple values in string representation specific for the particular selector,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,AnnotationBody,True,False,AnnotationBody.value,http://www.w3.org/ns/oa#,http://www.w3.org/ns/oa#value,oa:value,array +dcterms:,references,References,Indicates how the value came to be. https://purl.org/dc/terms/references,,,['https://api.gbif.org/v1/occurrence/search?occurrenceID=https://herbarium.bgbm.org/object/BW00965020&catalogNumber=B -W 00965 -02 0&basisOfRecord=PreservedSpecimen'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,AnnotationBody,False,False,AnnotationBody.references,http://purl.org/dc/terms/,http://purl.org/dc/terms/references,dcterms:references,string +ods:,score,Score,A score between 0 and 1 indicating the confidence in the value. 1 is the highest confidence and 0 is the lowest.,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,AnnotationBody,False,False,AnnotationBody.score,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/score,ods:score,number diff --git a/app/data/opends/create-update-tombstone-event-termlist.csv b/app/data/opends/create-update-tombstone-event-termlist.csv index c9b682a..7a94e13 100644 --- a/app/data/opends/create-update-tombstone-event-termlist.csv +++ b/app/data/opends/create-update-tombstone-event-termlist.csv @@ -9,12 +9,12 @@ prov:,used,Used,"The unique identifier of the prov:Entity that was used in the A rdfs:,comment,Comment,"A comment about the activity, https://www.w3.org/2000/01/rdf-schema#comment",,,['This activity was created by the user'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Activity,False,False,prov:Activity.comment,http://www.w3.org/2000/01/rdf-schema#,http://www.w3.org/2000/01/rdf-schema#comment,rdfs:comment,string ods:,changeValue,Change Value,"The json patch object that describes the changes made to the object as opposed to the previous version, empty if this is a ods:Create or ods:Tombstone activity",,,"[[{'op': 'add', 'path': '/ods:attributes/dwc:collectionId', 'value': 'Herbarium Berolinense'}, {'op': 'copy', 'path': '/ods:attributes/dwc:identification/0/taxonIdentifications/0/dwc:infragenericEpithet', 'from': '/ods:attributes/dwc:identification/0/taxonIdentifications/0/dwc:specificEpithet'}]]",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Activity,False,False,prov:Activity.changeValue,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/changeValue,ods:changeValue,array prov:,Entity,Entity,"Based on the prov-ontology Entity Class, https://www.w3.org/ns/prov#Entity",,,,http://www.w3.org/2000/01/rdf-schema#Class,CreateUpdateTombstoneEvent,False,False,CreateUpdateTombstoneEvent.Entity,,Entity,prov:Entity,object -prov:,value,Value,"The full object that is the result of the prov:Activity, the structure of this object is defined by the `@type` field. When the `prov:Activity` is of type `ods:Tombstone`, this field is empty",,,"[{'@id': 'https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI', '@type': 'ods:Mapping', 'ods:ID': 'https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI', 'ods:type': 'https://doi.org/10.15468/1a2b3c', 'schema:version': 1, 'schema:name': 'Default Mapping for Herbarium of University of Coimbra (COI)', 'schema:description': 'The default mapping for the Herbarium of the University of Coimbra (COI) to the Darwin Core standard.', 'schema:dateCreated': '2021-06-01T12:00:00.111Z', 'ods:creator': 'e2befba6-9324-4bb4-9f41-d7dfae4a44b0', 'ods:Mapping': {'ods:DefaultMapping': [{'ods:physicalSpecimenIdType': 'cetaf'}, {'ods:type': 'ZoologyVertebrateSpecimen'}, {'ods:organisationId': 'https://ror.org/05xg72x27'}], 'ods:FieldMapping': [{'ods:physicalSpecimenId': 'dwc:catalogNumber'}]}, 'ods:mappingDataStandard': 'dwc'}]",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Entity,False,False,prov:Entity.value,,value,prov:value,object +prov:,value,Value,"The full object that is the result of the prov:Activity, the structure of this object is defined by the `@type` field. When the `prov:Activity` is of type `ods:Tombstone`, this field is empty",,,"[{'@id': 'https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI', '@type': 'ods:Mapping', 'ods:ID': 'https://hdl.handle.net/20.5000.1025/ABC-DEF-GHI', 'ods:type': 'https://doi.org/10.15468/1a2b3c', 'schema:version': 1, 'schema:name': 'Default Mapping for Herbarium of University of Coimbra (COI)', 'schema:description': 'The default mapping for the Herbarium of the University of Coimbra (COI) to the Darwin Core standard.', 'schema:dateCreated': '2021-06-01T12:00:00.111Z', 'ods:creator': 'e2befba6-9324-4bb4-9f41-d7dfae4a44b0', 'ods:Mapping': {'ods:DefaultMapping': [{'ods:physicalSpecimenIDType': 'Global'}, {'ods:type': 'ZoologyVertebrateSpecimen'}, {'ods:organisationId': 'https://ror.org/05xg72x27'}], 'ods:FieldMapping': [{'ods:physicalSpecimenId': 'dwc:catalogNumber'}]}, 'ods:mappingDataStandard': 'dwc'}]",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Entity,False,False,prov:Entity.value,,value,prov:value,object prov:,wasRevisionOf,Was Revision Of,"The unique identifier (handle) of the previous version of the object, only present when prov:Activity is of type ods:Update and ods:Tombstone",,,['https://hdl.handle.net/20.5000.1025/XXX-XXX-XXX/1'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Entity,False,False,prov:Entity.wasRevisionOf,,wasRevisionOf,prov:wasRevisionOf,string prov:,wasGeneratedBy,Was Generated By,"The unique identifier of the prov:Activity that generated the Entity (as indicated at @id in the Activity Class), http://www.w3.org/ns/prov#wasGeneratedBy",,,"['7ba628d4-2e28-4ce4-ad1e-e99c97c20507', '807f145c-11a1-41f0-af34-b2d7c580bcc1']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Entity,True,False,prov:Entity.wasGeneratedBy,,wasGeneratedBy,prov:wasGeneratedBy,string ods:,hasProvAgent,Has Prov Agent,Contains zero or more prov:Agent objects,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,CreateUpdateTombstoneEvent,False,False,CreateUpdateTombstoneEvent.hasProvAgent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/hasProvAgent,ods:hasProvAgent,array ods:,Agent,Agent,Description of the agents connected to the digital object,,,,http://www.w3.org/2000/01/rdf-schema#Class,Agent,False,True,Agent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/Agent,ods:Agent, -schema:,name,Name,Full name of the agent,,,['John Smith'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,True,False,Agent.name,http://schema.org/,http://schema.org/name,schema:name,string +schema:,name,Name,Full name of the agent,,,['John Smith'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.name,http://schema.org/,http://schema.org/name,schema:name,string schema:,roleName,Role Name,"Indicates the role of the agent, https://schema.org/roleName",,,"['collector', 'preparer', 'identifier', 'recorder']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.roleName,http://schema.org/,http://schema.org/roleName,schema:roleName,string schema:,startDate,Start Date,Date the agent began the role,,,['2023-10-02T12:31:34.806Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.startDate,http://schema.org/,http://schema.org/startDate,schema:startDate,string schema:,endDate,End Date,Date the agent ended the role,,,['2023-09-02T12:31:34.806Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.endDate,http://schema.org/,http://schema.org/endDate,schema:endDate,string diff --git a/app/data/opends/data-mapping-termlist.csv b/app/data/opends/data-mapping-termlist.csv index 9cd9e01..c5d5721 100644 --- a/app/data/opends/data-mapping-termlist.csv +++ b/app/data/opends/data-mapping-termlist.csv @@ -4,18 +4,18 @@ ods:,ID,Id,Handle of the Mapping,,,['https://hdl.handle.net/20.5000.1025/XXX-XXX ods:,type,Type,The DOI to the FDO type of the object,,,['https://doi.org/10.15468/1a2b3c'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,True,False,Mapping.type,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/type,ods:type,string ods:,status,Status,The status of the Digital Object,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,False,False,Mapping.status,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/status,ods:status, schema:,version,Version,"Version of the Mapping, https://schema.org/version",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,True,False,Mapping.version,http://schema.org/,http://schema.org/version,schema:version,integer -schema:,name,Name,"Name of the Mapping as provided by the user, https://schema.org/name",,,['Default Mapping for Herbarium of University of Coimbra (COI)'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,True,False,Mapping.name,http://schema.org/,http://schema.org/name,schema:name,string +schema:,name,Name,"Name of the Mapping as provided by the user, https://schema.org/name",,,['Default Mapping for Herbarium of University of Coimbra (COI)'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,False,False,Mapping.name,http://schema.org/,http://schema.org/name,schema:name,string schema:,description,Description,"Description of the Mapping as provided by the user, https://schema.org/description",,,['The default mapping for the Herbarium of the University of Coimbra (COI) to the Darwin Core standard.'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,False,False,Mapping.description,http://schema.org/,http://schema.org/description,schema:description,string schema:,dateCreated,Date Created,"Timestamp of creation. Internally generated, https://schema.org/dateCreated",,,['2021-06-01T12:00:00.445Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,True,False,Mapping.dateCreated,http://schema.org/,http://schema.org/dateCreated,schema:dateCreated,string schema:,dateModified,Date Modified,"Timestamp of last modification. Internally generated, https://schema.org/dateModified",,,['2021-06-06T13:22:00.445Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,True,False,Mapping.dateModified,http://schema.org/,http://schema.org/dateModified,schema:dateModified,string schema:,creator,Creator,Contains an ods:Agent object,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,True,False,Mapping.creator,http://schema.org/,http://schema.org/creator,schema:creator,object -ods:,DefaultMapping,Default Mapping,"A mapping object setting default values for ods terms. These default mappings will be set for each record in the dataset. Key is the ods term, value the default value to use",,,"[[{'ods:physicalSpecimenIdType': 'cetaf'}, {'ods:type': 'ZoologyVertebrateSpecimen'}, {'ods:organisationId': 'https://ror.org/05xg72x27'}]]",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,False,False,Mapping.DefaultMapping,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/DefaultMapping,ods:DefaultMapping,array +ods:,DefaultMapping,Default Mapping,"A mapping object setting default values for ods terms. These default mappings will be set for each record in the dataset. Key is the ods term, value the default value to use",,,"[[{'ods:physicalSpecimenIDType': 'Global'}, {'ods:type': 'ZoologyVertebrateSpecimen'}, {'ods:organisationId': 'https://ror.org/05xg72x27'}]]",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,False,False,Mapping.DefaultMapping,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/DefaultMapping,ods:DefaultMapping,array ods:,FieldMapping,Field Mapping,"Setting an explicit mapping for an ods term to a term from the incoming dataset. Key is the ods term, value the incoming data standard term",,,[[{'ods:physicalSpecimenId': 'dwc:catalogNumber'}]],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,False,False,Mapping.FieldMapping,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/FieldMapping,ods:FieldMapping,array ods:,mappingDataStandard,Mapping Data Standard,Type of data standard we are mapping to,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,True,False,Mapping.mappingDataStandard,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/mappingDataStandard,ods:mappingDataStandard, ods:,TombstoneMetadata,Tombstone Metadata,Object containing the tombstone metadata of the object. Only present when ods:status is ods:Tombstone,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Mapping,False,False,Mapping.TombstoneMetadata,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstoneMetadata,ods:TombstoneMetadata,object ods:,TombstoneMetadata,Tombstone Metadata,The tombstone metadata about the tombstoned digital object,,,,http://www.w3.org/2000/01/rdf-schema#Class,TombstoneMetadata,False,True,TombstoneMetadata,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstoneMetadata,ods:TombstoneMetadata, -ods:,tombstonedDate,Tombstoned Date,Timestamp the Digital Object was tombstoned and no longer active.,,,['2021-06-01T12:00:000Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstonedDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstonedDate,ods:tombstonedDate,string -ods:,tombstonedText,Tombstoned Text,A reason why the Digital Object was tombstoned,,,"['This is a duplicate of XXX', 'This object was made by mistake']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstonedText,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstonedText,ods:tombstonedText,string +ods:,tombstoneDate,Tombstone Date,Timestamp the Digital Object was tombstoned and no longer active.,,,['2021-06-01T12:00:000Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstoneDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstoneDate,ods:tombstoneDate,string +ods:,tombstoneText,Tombstone Text,A reason why the Digital Object was tombstoned,,,"['This is a duplicate of XXX', 'This object was made by mistake']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstoneText,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstoneText,ods:tombstoneText,string ods:,TombstonedByAgent,Tombstoned By Agent,"The agent who tombstoned the object, contains an ods:Agent object",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.TombstonedByAgent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstonedByAgent,ods:TombstonedByAgent,object ods:,hasRelatedPID,Has Related Pid,The PIDs of the object the tombstoned object is related to,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,False,False,TombstoneMetadata.hasRelatedPID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/hasRelatedPID,ods:hasRelatedPID,array ods:,Agent,Agent,Description of the agents connected to the digital object,,,,http://www.w3.org/2000/01/rdf-schema#Class,Agent,False,True,Agent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/Agent,ods:Agent, diff --git a/app/data/opends/digital-media-termlist.csv b/app/data/opends/digital-media-termlist.csv index a8ce1d6..7d23c81 100644 --- a/app/data/opends/digital-media-termlist.csv +++ b/app/data/opends/digital-media-termlist.csv @@ -9,6 +9,7 @@ ods:,type,Type,The DOI to the FDO type of the object,,,['https://doi.org/10.1546 dcterms:,type,Type,https://purl.org/dc/terms/type,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.type,http://purl.org/dc/terms/,http://purl.org/dc/terms/type,dcterms:type, ac:,accessURI,Access Uri,https://rs.tdwg.org/ac/terms/accessURI,,,[],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,True,False,DigitalMedia.accessURI,http://rs.tdwg.org/ac/terms/,http://rs.tdwg.org/ac/terms/accessURI,ac:accessURI,string ods:,sourceSystemID,Source System Id,The handle to the source system object which retrieved the data from the CMS,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,True,False,DigitalMedia.sourceSystemID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/sourceSystemID,ods:sourceSystemID,string +ods:,sourceSystemName,Source System Name,The name of the source system as provided to DiSSCo,,,['Naturalis Biodiversity Center (NL) - Vermes'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.sourceSystemName,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/sourceSystemName,ods:sourceSystemName,string ods:,organisationID,Organisation Id,ROR or Wikidata identifie of the organisation,,,['https://ror.org/015hz7p22'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.organisationID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/organisationID,ods:organisationID,string ods:,organisationName,Organisation Name,Full museum name according to ROR or Wikidata,,,['National Museum of Natural History'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.organisationName,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/organisationName,ods:organisationName,string dcterms:,format,Format,https://purl.org/dc/terms/format,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.format,http://purl.org/dc/terms/,http://purl.org/dc/terms/format,dcterms:format,string @@ -26,7 +27,7 @@ ods:,hasEntityRelationship,Has Entity Relationship,Contains zero or more ods:Ent ods:,hasAgent,Has Agent,Contains zero or more ods:Agent objects,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.hasAgent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/hasAgent,ods:hasAgent,array ods:,TombstoneMetadata,Tombstone Metadata,Object containing the tombstone metadata of the object. Only present when ods:status is ods:Tombstone,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.TombstoneMetadata,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstoneMetadata,ods:TombstoneMetadata,object ods:,Agent,Agent,The Agent of the digital specimen,,,,http://www.w3.org/2000/01/rdf-schema#Class,Agent,False,True,Agent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/Agent,ods:Agent, -schema:,name,Name,Full name of the agent,,,['John Smith'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,True,False,Agent.name,http://schema.org/,http://schema.org/name,schema:name,string +schema:,name,Name,Full name of the agent,,,['John Smith'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.name,http://schema.org/,http://schema.org/name,schema:name,string schema:,roleName,Role Name,"Indicates the role of the agent, https://schema.org/roleName",,,"['collector', 'preparer', 'identifier', 'recorder']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.roleName,http://schema.org/,http://schema.org/roleName,schema:roleName,string schema:,startDate,Start Date,Date the agent began the role,,,['2023-10-02T12:31:34.806Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.startDate,http://schema.org/,http://schema.org/startDate,schema:startDate,string schema:,endDate,End Date,Date the agent ended the role,,,['2023-09-02T12:31:34.806Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.endDate,http://schema.org/,http://schema.org/endDate,schema:endDate,string @@ -82,7 +83,7 @@ ods:,isPartOfLabel,Is Part Of Label,Indicates whether the identifier is part of ods:,isBarcodeOrNFC,Is Barcode Or Nfc,Indicates whether the identifier is part of the barcode or nfc chip,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Identifier,False,False,Identifier.isBarcodeOrNFC,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/isBarcodeOrNFC,ods:isBarcodeOrNFC,boolean ods:,isIDPersistent,Is Idpersistent,Indicates whether the identifier is a persistent identifier,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Identifier,False,False,Identifier.isIDPersistent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/isIDPersistent,ods:isIDPersistent,boolean ods:,TombstoneMetadata,Tombstone Metadata,The tombstone metadata about the tombstoned digital object,,,,http://www.w3.org/2000/01/rdf-schema#Class,TombstoneMetadata,False,True,TombstoneMetadata,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstoneMetadata,ods:TombstoneMetadata, -ods:,tombstonedDate,Tombstoned Date,Timestamp the Digital Object was tombstoned and no longer active.,,,['2021-06-01T12:00:000Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstonedDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstonedDate,ods:tombstonedDate,string -ods:,tombstonedText,Tombstoned Text,A reason why the Digital Object was tombstoned,,,"['This is a duplicate of XXX', 'This object was made by mistake']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstonedText,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstonedText,ods:tombstonedText,string +ods:,tombstoneDate,Tombstone Date,Timestamp the Digital Object was tombstoned and no longer active.,,,['2021-06-01T12:00:000Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstoneDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstoneDate,ods:tombstoneDate,string +ods:,tombstoneText,Tombstone Text,A reason why the Digital Object was tombstoned,,,"['This is a duplicate of XXX', 'This object was made by mistake']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstoneText,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstoneText,ods:tombstoneText,string ods:,TombstonedByAgent,Tombstoned By Agent,"The agent who tombstoned the object, contains an ods:Agent object",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.TombstonedByAgent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstonedByAgent,ods:TombstonedByAgent,object ods:,hasRelatedPID,Has Related Pid,The PIDs of the object the tombstoned object is related to,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,False,False,TombstoneMetadata.hasRelatedPID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/hasRelatedPID,ods:hasRelatedPID,array diff --git a/app/data/opends/digital-specimen-termlist.csv b/app/data/opends/digital-specimen-termlist.csv index f00901b..e8c850a 100644 --- a/app/data/opends/digital-specimen-termlist.csv +++ b/app/data/opends/digital-specimen-termlist.csv @@ -17,6 +17,7 @@ ods:,isMarkedAsType,Is Marked As Type,The specimen is marked as a type specimen, ods:,isKnownToContainMedia,Is Known To Contain Media,Indicates if there are any media objects attached to this specimen,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalSpecimen,False,False,DigitalSpecimen.isKnownToContainMedia,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/isKnownToContainMedia,ods:isKnownToContainMedia,boolean ods:,specimenName,Specimen Name,The accepted specimen name of the digital specimen,,,"['Roptrocerus typographi (Györfi, 1952)']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalSpecimen,False,False,DigitalSpecimen.specimenName,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/specimenName,ods:specimenName,string ods:,sourceSystemID,Source System Id,The handle to the source system object which retrieved the data from the CMS,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalSpecimen,True,False,DigitalSpecimen.sourceSystemID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/sourceSystemID,ods:sourceSystemID,string +ods:,sourceSystemName,Source System Name,The name of the source system as provided to DiSSCo,,,['Naturalis Biodiversity Center (NL) - Vermes'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalSpecimen,False,False,DigitalSpecimen.sourceSystemName,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/sourceSystemName,ods:sourceSystemName,string ods:,livingOrPreserved,Living Or Preserved,Whether the specimen is living or preserved,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalSpecimen,False,False,DigitalSpecimen.livingOrPreserved,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/livingOrPreserved,ods:livingOrPreserved, ods:,language,Language,"The language of the Digital Specimen metadata. Only indicate, not enforced. Recommended to use ISO 639-1 codes",,,"[['en', 'fr', 'de']]",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalSpecimen,False,False,DigitalSpecimen.language,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/language,ods:language,array dcterms:,license,License,https://purl.org/dc/terms/license,,,['https://creativecommons.org/licenses/by/4.0/'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalSpecimen,False,False,DigitalSpecimen.license,http://purl.org/dc/terms/,http://purl.org/dc/terms/license,dcterms:license,string @@ -229,7 +230,7 @@ dwc:,formation,Formation,https://rs.tdwg.org/dwc/terms/formation,,,['House Limes dwc:,member,Member,https://rs.tdwg.org/dwc/terms/member,,,['Lava Dam Member'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,GeologicalContext,False,False,ods:GeologicalContext.member,http://rs.tdwg.org/dwc/terms/,http://rs.tdwg.org/dwc/terms/member,dwc:member,string dwc:,bed,Bed,https://rs.tdwg.org/dwc/terms/bed,,,['Harlem coal'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,GeologicalContext,False,False,ods:GeologicalContext.bed,http://rs.tdwg.org/dwc/terms/,http://rs.tdwg.org/dwc/terms/bed,dwc:bed,string ods:,Agent,Agent,The Agent of the digital specimen,,,,http://www.w3.org/2000/01/rdf-schema#Class,Agent,False,True,Agent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/Agent,ods:Agent, -schema:,name,Name,Full name of the agent,,,['John Smith'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,True,False,Agent.name,http://schema.org/,http://schema.org/name,schema:name,string +schema:,name,Name,Full name of the agent,,,['John Smith'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.name,http://schema.org/,http://schema.org/name,schema:name,string schema:,roleName,Role Name,"Indicates the role of the agent, https://schema.org/roleName",,,"['collector', 'preparer', 'identifier', 'recorder']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.roleName,http://schema.org/,http://schema.org/roleName,schema:roleName,string schema:,startDate,Start Date,Date the agent began the role,,,['2023-10-02T12:31:34.806Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.startDate,http://schema.org/,http://schema.org/startDate,schema:startDate,string schema:,endDate,End Date,Date the agent ended the role,,,['2023-09-02T12:31:34.806Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Agent,False,False,Agent.endDate,http://schema.org/,http://schema.org/endDate,schema:endDate,string @@ -304,7 +305,7 @@ chrono:,chronometricAgeDeterminedDate,Chronometric Age Determined Date,https://r chrono:,chronometricAgeReferences,Chronometric Age References,https://rs.tdwg.org/chrono/terms/chronometricAgeReferences,,,['https://doi.org/10.1007/s10814-019-09140-x'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,ChronometricAge,False,False,ChronometricAge.chronometricAgeReferences,http://rs.tdwg.org/chrono/terms/,http://rs.tdwg.org/chrono/terms/chronometricAgeReferences,chrono:chronometricAgeReferences,string chrono:,chronometricAgeRemarks,Chronometric Age Remarks,https://rs.tdwg.org/chrono/terms/chronometricAgeRemarks,,,['Beta Analytic number: 323913'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,ChronometricAge,False,False,ChronometricAge.chronometricAgeRemarks,http://rs.tdwg.org/chrono/terms/,http://rs.tdwg.org/chrono/terms/chronometricAgeRemarks,chrono:chronometricAgeRemarks,string ods:,TombstoneMetadata,Tombstone Metadata,The tombstone metadata about the tombstoned digital object,,,,http://www.w3.org/2000/01/rdf-schema#Class,TombstoneMetadata,False,True,TombstoneMetadata,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstoneMetadata,ods:TombstoneMetadata, -ods:,tombstonedDate,Tombstoned Date,Timestamp the Digital Object was tombstoned and no longer active.,,,['2021-06-01T12:00:000Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstonedDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstonedDate,ods:tombstonedDate,string -ods:,tombstonedText,Tombstoned Text,A reason why the Digital Object was tombstoned,,,"['This is a duplicate of XXX', 'This object was made by mistake']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstonedText,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstonedText,ods:tombstonedText,string +ods:,tombstoneDate,Tombstone Date,Timestamp the Digital Object was tombstoned and no longer active.,,,['2021-06-01T12:00:000Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstoneDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstoneDate,ods:tombstoneDate,string +ods:,tombstoneText,Tombstone Text,A reason why the Digital Object was tombstoned,,,"['This is a duplicate of XXX', 'This object was made by mistake']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstoneText,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstoneText,ods:tombstoneText,string ods:,TombstonedByAgent,Tombstoned By Agent,"The agent who tombstoned the object, contains an ods:Agent object",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.TombstonedByAgent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstonedByAgent,ods:TombstonedByAgent,object ods:,hasRelatedPID,Has Related Pid,The PIDs of the object the tombstoned object is related to,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,False,False,TombstoneMetadata.hasRelatedPID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/hasRelatedPID,ods:hasRelatedPID,array diff --git a/app/data/opends/machine-annotation-service-termlist.csv b/app/data/opends/machine-annotation-service-termlist.csv index 7f53275..9ac8287 100644 --- a/app/data/opends/machine-annotation-service-termlist.csv +++ b/app/data/opends/machine-annotation-service-termlist.csv @@ -26,12 +26,13 @@ schema:,url,Url,"Email of the contact point, https://schema.org/email",,,,http:/ schema:,telephone,Telephone,"Telephone number of the contact point, https://schema.org/telephone",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,ContactPoint,False,False,schema:ContactPoint.telephone,http://schema.org/,http://schema.org/telephone,schema:telephone,string ods:,slaDocumentation,Sla Documentation,Link to SLA documentation,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,MachineAnnotationService,False,False,MachineAnnotationService.slaDocumentation,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/slaDocumentation,ods:slaDocumentation,string ods:,topicName,Topic Name,Kafka topic through which the MAS receives messages. Defaults to PID of MAS,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,MachineAnnotationService,False,False,MachineAnnotationService.topicName,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/topicName,ods:topicName,string +ods:,maxReplicas,Max Replicas,The maximum amount of this MAS that can simultaneously run without causing issues,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,MachineAnnotationService,False,False,MachineAnnotationService.maxReplicas,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/maxReplicas,ods:maxReplicas,integer ods:,batchingPermitted,Batching Permitted,"Whether or not this MAS can create Batch Annotations. MAS outputs must then comply with batchMetadata, see https://schemas.dissco.tech/schemas/annotations/0.1.0/annotation-event.json",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,MachineAnnotationService,True,False,MachineAnnotationService.batchingPermitted,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/batchingPermitted,ods:batchingPermitted,boolean ods:,timeToLive,Time To Live,Time in milliseconds the MAS message may remain in the Kafka Queue before being marked as timed out. Min 1 hour.,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,MachineAnnotationService,True,False,MachineAnnotationService.timeToLive,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/timeToLive,ods:timeToLive,integer ods:,TombstoneMetadata,Tombstone Metadata,Object containing the tombstone metadata of the object,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,MachineAnnotationService,False,False,MachineAnnotationService.TombstoneMetadata,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstoneMetadata,ods:TombstoneMetadata,object ods:,TombstoneMetadata,Tombstone Metadata,The tombstone metadata about the tombstoned digital object,,,,http://www.w3.org/2000/01/rdf-schema#Class,TombstoneMetadata,False,True,TombstoneMetadata,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstoneMetadata,ods:TombstoneMetadata, -ods:,tombstonedDate,Tombstoned Date,Timestamp the Digital Object was tombstoned and no longer active.,,,['2021-06-01T12:00:000Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstonedDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstonedDate,ods:tombstonedDate,string -ods:,tombstonedText,Tombstoned Text,A reason why the Digital Object was tombstoned,,,"['This is a duplicate of XXX', 'This object was made by mistake']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstonedText,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstonedText,ods:tombstonedText,string +ods:,tombstoneDate,Tombstone Date,Timestamp the Digital Object was tombstoned and no longer active.,,,['2021-06-01T12:00:000Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstoneDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstoneDate,ods:tombstoneDate,string +ods:,tombstoneText,Tombstone Text,A reason why the Digital Object was tombstoned,,,"['This is a duplicate of XXX', 'This object was made by mistake']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstoneText,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstoneText,ods:tombstoneText,string ods:,TombstonedByAgent,Tombstoned By Agent,"The agent who tombstoned the object, contains an ods:Agent object",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.TombstonedByAgent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstonedByAgent,ods:TombstonedByAgent,object ods:,hasRelatedPID,Has Related Pid,The PIDs of the object the tombstoned object is related to,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,False,False,TombstoneMetadata.hasRelatedPID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/hasRelatedPID,ods:hasRelatedPID,array ods:,Agent,Agent,Description of the agents connected to the digital object,,,,http://www.w3.org/2000/01/rdf-schema#Class,Agent,False,True,Agent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/Agent,ods:Agent, diff --git a/app/data/opends/source-system-termlist.csv b/app/data/opends/source-system-termlist.csv index 8e798d1..4e11531 100644 --- a/app/data/opends/source-system-termlist.csv +++ b/app/data/opends/source-system-termlist.csv @@ -4,19 +4,19 @@ ods:,ID,Id,Handle of the Source System,,,['https://hdl.handle.net/20.5000.1025/X ods:,type,Type,The DOI to the FDO type of the object,,,['https://doi.org/10.15468/1a2b3c'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,True,False,SourceSystem.type,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/type,ods:type,string ods:,status,Status,The status of the Digital Object,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,False,False,SourceSystem.status,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/status,ods:status, schema:,version,Version,"Version of the Source System, https://schema.org/version",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,True,False,SourceSystem.version,http://schema.org/,http://schema.org/version,schema:version,integer -schema:,name,Name,"Name of the Source System as provided by the user, https://schema.org/name",,,['Herbarium of University of Coimbra (COI)'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,True,False,SourceSystem.name,http://schema.org/,http://schema.org/name,schema:name,string +schema:,name,Name,"Name of the Source System as provided by the user, https://schema.org/name",,,['Herbarium of University of Coimbra (COI)'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,False,False,SourceSystem.name,http://schema.org/,http://schema.org/name,schema:name,string schema:,description,Description,"Description of the Source System as provided by the user, https://schema.org/description",,,"['The herbarium collection of the University of Coimbra is one of the oldest in Portugal, with specimens dating back to the 18th century.']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,False,False,SourceSystem.description,http://schema.org/,http://schema.org/description,schema:description,string schema:,dateCreated,Date Created,"Timestamp of creation. Internally generated, https://schema.org/dateCreated",,,['2021-06-01T12:00:00.323Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,True,False,SourceSystem.dateCreated,http://schema.org/,http://schema.org/dateCreated,schema:dateCreated,string schema:,dateModified,Date Modified,"Timestamp of last modification. Internally generated, https://schema.org/dateModified",,,['2021-06-06T13:22:00.445Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,True,False,SourceSystem.dateModified,http://schema.org/,http://schema.org/dateModified,schema:dateModified,string schema:,creator,Creator,Contains an ods:Agent object,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,True,False,SourceSystem.creator,http://schema.org/,http://schema.org/creator,schema:creator,object -schema:,url,Url,Endpoint from which data may be retrieved,,,['http://ipt.gbif.pt/ipt/archive.do?r=coi'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,False,False,SourceSystem.url,http://schema.org/,http://schema.org/url,schema:url,string +schema:,url,Url,Endpoint from which data may be retrieved,,,['http://ipt.gbif.pt/ipt/archive.do?r=coi'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,True,False,SourceSystem.url,http://schema.org/,http://schema.org/url,schema:url,string ltc:,collectionManagementSystem,Collection Management System,"The collection management system that the source system is using, https://rs.tdwg.org/ltc/terms/collectionManagementSystem",,,['Specify 7'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,False,False,SourceSystem.collectionManagementSystem,http://rs.tdwg.org/ltc/terms/,http://rs.tdwg.org/ltc/terms/collectionManagementSystem,ltc:collectionManagementSystem,string ods:,translatorType,Translator Type,The serialisation of the data the endpoint provides indicating what type of Translator is required,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,True,False,SourceSystem.translatorType,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/translatorType,ods:translatorType, -ods:,dataMappingID,Data Mapping Id,The Handle of the Mapping Object needed for this Source System,,,['https://hdl.handle.net/20.5000.1025/XXX-XXX-XXX'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,False,False,SourceSystem.dataMappingID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/dataMappingID,ods:dataMappingID,string +ods:,dataMappingID,Data Mapping Id,The Handle of the Mapping Object needed for this Source System,,,['https://hdl.handle.net/20.5000.1025/XXX-XXX-XXX'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,True,False,SourceSystem.dataMappingID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/dataMappingID,ods:dataMappingID,string ods:,TombstoneMetadata,Tombstone Metadata,Object containing the tombstone metadata of the object. Only present when ods:status is ods:Tombstone,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,SourceSystem,False,False,SourceSystem.TombstoneMetadata,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstoneMetadata,ods:TombstoneMetadata,object ods:,TombstoneMetadata,Tombstone Metadata,The tombstone metadata about the tombstoned digital object,,,,http://www.w3.org/2000/01/rdf-schema#Class,TombstoneMetadata,False,True,TombstoneMetadata,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstoneMetadata,ods:TombstoneMetadata, -ods:,tombstonedDate,Tombstoned Date,Timestamp the Digital Object was tombstoned and no longer active.,,,['2021-06-01T12:00:000Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstonedDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstonedDate,ods:tombstonedDate,string -ods:,tombstonedText,Tombstoned Text,A reason why the Digital Object was tombstoned,,,"['This is a duplicate of XXX', 'This object was made by mistake']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstonedText,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstonedText,ods:tombstonedText,string +ods:,tombstoneDate,Tombstone Date,Timestamp the Digital Object was tombstoned and no longer active.,,,['2021-06-01T12:00:000Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstoneDate,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstoneDate,ods:tombstoneDate,string +ods:,tombstoneText,Tombstone Text,A reason why the Digital Object was tombstoned,,,"['This is a duplicate of XXX', 'This object was made by mistake']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.tombstoneText,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/tombstoneText,ods:tombstoneText,string ods:,TombstonedByAgent,Tombstoned By Agent,"The agent who tombstoned the object, contains an ods:Agent object",,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,True,False,TombstoneMetadata.TombstonedByAgent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/TombstonedByAgent,ods:TombstonedByAgent,object ods:,hasRelatedPID,Has Related Pid,The PIDs of the object the tombstoned object is related to,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,TombstoneMetadata,False,False,TombstoneMetadata.hasRelatedPID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/hasRelatedPID,ods:hasRelatedPID,array ods:,Agent,Agent,Description of the agents connected to the digital object,,,,http://www.w3.org/2000/01/rdf-schema#Class,Agent,False,True,Agent,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/Agent,ods:Agent, diff --git a/app/md/annotation/quick-reference-header.md b/app/md/annotation/quick-reference-header.md index 80eb710..9da0431 100644 --- a/app/md/annotation/quick-reference-header.md +++ b/app/md/annotation/quick-reference-header.md @@ -1,2 +1,2 @@ -## Overview (In Progress) +## Overview diff --git a/app/md/annotation/resources-header.md b/app/md/annotation/resources-header.md index b758eea..b44dadf 100644 --- a/app/md/annotation/resources-header.md +++ b/app/md/annotation/resources-header.md @@ -1,4 +1,4 @@ -# Annotation Resources (In Progress) +# Annotation Resources This page contains an assortment of resources to help explain the structure and relationship of the Annotation object. The annotation data model is based on the W3C Web Annotation model and is used to attach annotations to any digital object in the DiSSCo infrastructure. It follows the model as outlined in the below image. diff --git a/app/md/annotation/termlist-header.md b/app/md/annotation/termlist-header.md index f652e4e..f9ae017 100644 --- a/app/md/annotation/termlist-header.md +++ b/app/md/annotation/termlist-header.md @@ -1,4 +1,4 @@ -# Annotation List of Terms (In Progress) +# Annotation List of Terms **Title** : Annotation List of Terms diff --git a/app/md/create-update-tombstone-event/quick-reference-header.md b/app/md/create-update-tombstone-event/quick-reference-header.md index 80eb710..9da0431 100644 --- a/app/md/create-update-tombstone-event/quick-reference-header.md +++ b/app/md/create-update-tombstone-event/quick-reference-header.md @@ -1,2 +1,2 @@ -## Overview (In Progress) +## Overview diff --git a/app/md/create-update-tombstone-event/resources-header.md b/app/md/create-update-tombstone-event/resources-header.md index ccdf500..468036d 100644 --- a/app/md/create-update-tombstone-event/resources-header.md +++ b/app/md/create-update-tombstone-event/resources-header.md @@ -1,4 +1,4 @@ -# Create Update Delete Tombstone Resources (In Progress) +# Create Update Delete Tombstone Resources This page contains an assortment of resources to help explain the structure and relationship of the Create Update Tombstone Event object. The Create Update Tombstone Event data model is based on the W3C PROV model and is used to track the history of an object in the DiSSCo infrastructure. Within each object (Agent, Activity, Entity) are properties which indicate the relationship to each-other. diff --git a/app/md/create-update-tombstone-event/termlist-header.md b/app/md/create-update-tombstone-event/termlist-header.md index 616b74b..72718ff 100644 --- a/app/md/create-update-tombstone-event/termlist-header.md +++ b/app/md/create-update-tombstone-event/termlist-header.md @@ -1,4 +1,4 @@ -# Create Update Tombstone Event List of Terms (In Progress) +# Create Update Tombstone Event List of Terms **Title** : Create Update Tombstone Event List of Terms diff --git a/app/md/data-mapping/quick-reference-header.md b/app/md/data-mapping/quick-reference-header.md index 80eb710..9da0431 100644 --- a/app/md/data-mapping/quick-reference-header.md +++ b/app/md/data-mapping/quick-reference-header.md @@ -1,2 +1,2 @@ -## Overview (In Progress) +## Overview diff --git a/app/md/data-mapping/resources-header.md b/app/md/data-mapping/resources-header.md index f3eef24..935c676 100644 --- a/app/md/data-mapping/resources-header.md +++ b/app/md/data-mapping/resources-header.md @@ -1,2 +1,2 @@ -# Data Mapping Resources (In Progress) +# Data Mapping Resources This page contains an assortment of resources to help explain the structure and relationship of the Data Mapping object. diff --git a/app/md/data-mapping/termlist-header.md b/app/md/data-mapping/termlist-header.md index 2dc64ee..c8a77b3 100644 --- a/app/md/data-mapping/termlist-header.md +++ b/app/md/data-mapping/termlist-header.md @@ -1,4 +1,4 @@ -# Data Mapping List of Terms (In Progress) +# Data Mapping List of Terms **Title** : Data Mapping List of Terms diff --git a/app/md/digital-media/quick-reference-header.md b/app/md/digital-media/quick-reference-header.md index 80eb710..9da0431 100644 --- a/app/md/digital-media/quick-reference-header.md +++ b/app/md/digital-media/quick-reference-header.md @@ -1,2 +1,2 @@ -## Overview (In Progress) +## Overview diff --git a/app/md/digital-media/resources-header.md b/app/md/digital-media/resources-header.md index 7237539..640cf99 100644 --- a/app/md/digital-media/resources-header.md +++ b/app/md/digital-media/resources-header.md @@ -1,2 +1,2 @@ -# Digital Media Resources (In Progress) +# Digital Media Resources This page contains an assortment of resources to help explain the structure and relationship of the Digital Media object. diff --git a/app/md/digital-media/termlist-header.md b/app/md/digital-media/termlist-header.md index b791a7a..c2209e7 100644 --- a/app/md/digital-media/termlist-header.md +++ b/app/md/digital-media/termlist-header.md @@ -1,4 +1,4 @@ -# Digital Media List of Terms (In Progress) +# Digital Media List of Terms **Title** : Digital Media List of Terms diff --git a/app/md/digital-specimen/quick-reference-header.md b/app/md/digital-specimen/quick-reference-header.md index 80eb710..9da0431 100644 --- a/app/md/digital-specimen/quick-reference-header.md +++ b/app/md/digital-specimen/quick-reference-header.md @@ -1,2 +1,2 @@ -## Overview (In Progress) +## Overview diff --git a/app/md/digital-specimen/resources-header.md b/app/md/digital-specimen/resources-header.md index b26961f..724fa18 100644 --- a/app/md/digital-specimen/resources-header.md +++ b/app/md/digital-specimen/resources-header.md @@ -1,2 +1,2 @@ -# Digital Specimen Resources (In Progress) +# Digital Specimen Resources This page contains an assortment of resources to help explain the structure and relationship of the Digital Media object. diff --git a/app/md/digital-specimen/termlist-header.md b/app/md/digital-specimen/termlist-header.md index e19bd3d..4b45998 100644 --- a/app/md/digital-specimen/termlist-header.md +++ b/app/md/digital-specimen/termlist-header.md @@ -1,4 +1,4 @@ -# Digital Specimen List of Terms (In Progress) +# Digital Specimen List of Terms **Title** : Digital Specimen List of Terms @@ -74,6 +74,6 @@ Table 1. Vocabularies from which terms have been borrowed (non-normative) ## 3 Namespaces, Prefixes and Term Names The namespace of terms borrowed from other vocabularies is that of the original. -The namespace of de openDS terms is http://rs.dissco.eu/opends/terms/. In the table of terms, each term entry has a row with the term name. +The namespace of the openDS terms is http://rs.dissco.eu/opends/terms/. In the table of terms, each term entry has a row with the term name. This term name is generally an “unqualified name” preceded by a widely accepted prefix designating an abbreviation for the namespace It is RECOMMENDED that implementers who need a namespace prefix for the openDS namespace use ods. In this web document, hovering over a term in the Index By Term Name list below will reveal a complete URL that can be used in other web documents to link to this document’s treatment of that term, even if it is from a borrowed vocabulary. diff --git a/app/md/machine-annotation-service/quick-reference-header.md b/app/md/machine-annotation-service/quick-reference-header.md index 80eb710..9da0431 100644 --- a/app/md/machine-annotation-service/quick-reference-header.md +++ b/app/md/machine-annotation-service/quick-reference-header.md @@ -1,2 +1,2 @@ -## Overview (In Progress) +## Overview diff --git a/app/md/machine-annotation-service/resources-header.md b/app/md/machine-annotation-service/resources-header.md index 00ec4a3..e4e0233 100644 --- a/app/md/machine-annotation-service/resources-header.md +++ b/app/md/machine-annotation-service/resources-header.md @@ -1,2 +1,2 @@ -# Machine Annotation Service Resources (In Progress) +# Machine Annotation Service Resources This page contains an assortment of resources to help explain the structure and relationship of the Machine Annotation object. \ No newline at end of file diff --git a/app/md/machine-annotation-service/termlist-header.md b/app/md/machine-annotation-service/termlist-header.md index 9e9dae8..6275f21 100644 --- a/app/md/machine-annotation-service/termlist-header.md +++ b/app/md/machine-annotation-service/termlist-header.md @@ -1,4 +1,4 @@ -# Machine Annotation Service List of Terms (In Progress) +# Machine Annotation Service List of Terms **Title** : Machine Annotation Service List of Terms diff --git a/app/md/opends/home-content.md b/app/md/opends/home-content.md index d6ee565..738cc7f 100644 --- a/app/md/opends/home-content.md +++ b/app/md/opends/home-content.md @@ -9,13 +9,11 @@ Getting started[](#getting-started) * [Normative Term List Digital Specimen](digital-specimen-terms) * [Quick Reference Guide Digital Specimen](digital-specimen-guide) * [Json Schema](https://schemas.dissco.tech) provide the original schemas on which this site is generated -* The [OpenDS Github](https://github.com/DiSSCo/openDS) provides any additional information available, including examples. -* For questions and change requests please create a [Github Issue](https://github.com/DiSSCo/openDS/issues) -* Add or join a [Discussion](https://github.com/DiSSCo/openDS/discussions) +* The [openDS Github](https://github.com/DiSSCo/openDS) provides any additional information available, including examples. +* For questions and change requests please create a [Github Issue](https://github.com/DiSSCo/openDS/issues/new/choose) ------------- -First version of the DiSSCo terms page online! -Please note that this is a temporary version as we are working on some changes in the data model. -Any additional feedback is very welcome! +Open Review has been extended until 10th of September. +Please feel free to provide feedback on [Github Issue](https://github.com/DiSSCo/openDS/issues/new/choose). -*Last Updated: June. 18, 2024* +*Last Updated: September. 3, 2024* diff --git a/app/md/source-system/quick-reference-header.md b/app/md/source-system/quick-reference-header.md index 80eb710..9da0431 100644 --- a/app/md/source-system/quick-reference-header.md +++ b/app/md/source-system/quick-reference-header.md @@ -1,2 +1,2 @@ -## Overview (In Progress) +## Overview diff --git a/app/md/source-system/resources-header.md b/app/md/source-system/resources-header.md index 915f8e8..474b535 100644 --- a/app/md/source-system/resources-header.md +++ b/app/md/source-system/resources-header.md @@ -1,2 +1,2 @@ -# Source System Resources (In Progress) +# Source System Resources This page contains an assortment of resources to help explain the structure and relationship of the Source System object. diff --git a/app/md/source-system/termlist-header.md b/app/md/source-system/termlist-header.md index 62bb43d..f2e3893 100644 --- a/app/md/source-system/termlist-header.md +++ b/app/md/source-system/termlist-header.md @@ -1,4 +1,4 @@ -# Source System List of Terms (In Progress) +# Source System List of Terms **Title** : Source System List of Terms diff --git a/app/routes.py b/app/routes.py index 424926e..df14848 100644 --- a/app/routes.py +++ b/app/routes.py @@ -43,7 +43,7 @@ def digitalSpecimenTerms(): terms=terms, sssom=sssom_df, termsByClass=terms_by_class, - pageTitle='Digital Specimen Terms (In Progress)', + pageTitle='Digital Specimen Terms', title='Digital Specimen Term List', slug='digital-specimen-term-list' ) @@ -62,7 +62,7 @@ def machineAnnotationServiceTerms(): terms=terms, sssom=sssom_df, termsByClass=terms_by_class, - pageTitle='Machine Annotation Service Terms (In Progress)', + pageTitle='Machine Annotation Service Terms', title='Machine Annotation Service Term List', slug='machine-annotation-service-term-list' ) @@ -81,7 +81,7 @@ def digitalMediaTerms(): terms=terms, sssom=sssom_df, termsByClass=terms_by_class, - pageTitle='Digital Media Terms (In Progress)', + pageTitle='Digital Media Term', title='Digital Media Term List', slug='digital-media-term-list' ) @@ -100,7 +100,7 @@ def annotationTerms(): terms=terms, sssom=sssom_df, termsByClass=terms_by_class, - pageTitle='Annotation Terms (In Progress)', + pageTitle='Annotation Term', title='Annotation Term List', slug='annotation-term-list' ) @@ -119,7 +119,7 @@ def createUpdateTombstoneEventTerms(): terms=terms, sssom=sssom_df, termsByClass=terms_by_class, - pageTitle='Create Update Tombstone Event Terms (In Progress)', + pageTitle='Create Update Tombstone Event Term', title='Create Update Tombstone Event Term List', slug='create-update-tombstone-event-term-list' ) @@ -138,7 +138,7 @@ def dataMappingTerms(): terms=terms, sssom=sssom_df, termsByClass=terms_by_class, - pageTitle='Data Mapping Terms (In Progress)', + pageTitle='Data Mapping Term', title='Data Mapping Term List', slug='data-mapping-term-list' ) @@ -157,7 +157,7 @@ def sourceSystemTerms(): terms=terms, sssom=sssom_df, termsByClass=terms_by_class, - pageTitle='Source System Terms (In Progress)', + pageTitle='Source System Term', title='Source System Term List', slug='source-system-term-list' ) @@ -172,7 +172,7 @@ def digitalSpecimenGuide(): return render_template('quick-reference.html', headerMarkdown=Markup(marked_text), grplists=grplists, - pageTitle='Digital Specimen Quick Reference Guide (In Progress)', + pageTitle='Digital Specimen Quick Reference Guide ', title='Digital Specimen Quick Reference', slug='digital-specimen-guide', requiredTerms=required_df, @@ -189,7 +189,7 @@ def digitalMediaGuide(): return render_template('quick-reference.html', headerMarkdown=Markup(marked_text), grplists=grplists, - pageTitle='Digital Media Quick Reference Guide (In Progress)', + pageTitle='Digital Media Quick Reference Guide ', title='Digital Media Quick Reference', slug='digital-media-guide', requiredTerms=required_df, @@ -206,7 +206,7 @@ def annotationGuide(): return render_template('quick-reference.html', headerMarkdown=Markup(marked_text), grplists=grplists, - pageTitle='Annotation Quick Reference Guide (In Progress)', + pageTitle='Annotation Quick Reference Guide ', title='Annotation Quick Reference', slug='annotation-guide', requiredTerms=required_df, @@ -223,7 +223,7 @@ def machineAnnotationServiceGuide(): return render_template('quick-reference.html', headerMarkdown=Markup(marked_text), grplists=grplists, - pageTitle='Machine Annotation Service Quick Reference Guide (In Progress)', + pageTitle='Machine Annotation Service Quick Reference Guide ', title='Machine Annotation Service Quick Reference', slug='machine-annotation-service-guide', requiredTerms=required_df, @@ -240,7 +240,7 @@ def createUpdateTombstoneGuide(): return render_template('quick-reference.html', headerMarkdown=Markup(marked_text), grplists=grplists, - pageTitle='Create Update Tombstone Event Quick Reference Guide (In Progress)', + pageTitle='Create Update Tombstone Event Quick Reference Guide ', title='Create Update Tombstone Event Quick Reference', slug='create-update-tombstone-event-guide', requiredTerms=required_df, @@ -257,7 +257,7 @@ def dataMappingGuide(): return render_template('quick-reference.html', headerMarkdown=Markup(marked_text), grplists=grplists, - pageTitle='Data Mapping Quick Reference Guide (In Progress)', + pageTitle='Data Mapping Quick Reference Guide ', title='Data Mapping Quick Reference', slug='data-mapping-guide', requiredTerms=required_df, @@ -274,7 +274,7 @@ def sourceSystemGuide(): return render_template('quick-reference.html', headerMarkdown=Markup(marked_text), grplists=grplists, - pageTitle='Source System Quick Reference Guide (In Progress)', + pageTitle='Source System Quick Reference Guide ', title='Source System Quick Reference', slug='source-system-event-guide', requiredTerms=required_df, @@ -299,7 +299,7 @@ def digitalSpecimenResources(): return render_template('resources.html', headerMarkdown=Markup(marked_text), sssomRefMarkdown=Markup(marked_sssom), - pageTitle='Digital Specimen Core Resources (In Progress)', + pageTitle='Digital Specimen Core Resources ', classDiagram=class_diagram, erDiagram=er_diagram, title='Digital Specimen Resources', @@ -324,7 +324,7 @@ def digitalMediaResources(): return render_template('resources.html', headerMarkdown=Markup(marked_text), sssomRefMarkdown=Markup(marked_sssom), - pageTitle='Digital Media Core Resources (In Progress)', + pageTitle='Digital Media Core Resources ', classDiagram=class_diagram, erDiagram=er_diagram, title='Digital Media Resources', @@ -349,7 +349,7 @@ def annotationResources(): return render_template('resources.html', headerMarkdown=Markup(marked_text), sssomRefMarkdown=Markup(marked_sssom), - pageTitle='Annotation Core Resources (In Progress)', + pageTitle='Annotation Core Resources ', classDiagram=class_diagram, erDiagram=er_diagram, title='Annotation Resources', @@ -374,7 +374,7 @@ def createUpdateTombstoneEventResources(): return render_template('resources.html', headerMarkdown=Markup(marked_text), sssomRefMarkdown=Markup(marked_sssom), - pageTitle='Create Update Tombstone Event Resources (In Progress)', + pageTitle='Create Update Tombstone Event Resources ', classDiagram=class_diagram, erDiagram=er_diagram, title='Create Update Tombstone Event Resources', @@ -399,7 +399,7 @@ def machineAnnotationServiceResources(): return render_template('resources.html', headerMarkdown=Markup(marked_text), sssomRefMarkdown=Markup(marked_sssom), - pageTitle='Machine Annotation Service Resources (In Progress)', + pageTitle='Machine Annotation Service Resources ', classDiagram=class_diagram, erDiagram=er_diagram, title='Machine Annotation Service Resources', @@ -424,7 +424,7 @@ def dataMappingResources(): return render_template('resources.html', headerMarkdown=Markup(marked_text), sssomRefMarkdown=Markup(marked_sssom), - pageTitle='Mapping Resources (In Progress)', + pageTitle='Mapping Resources ', classDiagram=class_diagram, erDiagram=er_diagram, title='Mapping Resources', @@ -449,7 +449,7 @@ def sourceSystemResources(): return render_template('resources.html', headerMarkdown=Markup(marked_text), sssomRefMarkdown=Markup(marked_sssom), - pageTitle='Source System Resources (In Progress)', + pageTitle='Source System Resources ', classDiagram=class_diagram, erDiagram=er_diagram, title='Source System Resources', diff --git a/app/templates/base.html b/app/templates/base.html index bc8e9a9..7ef8548 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -6,7 +6,7 @@ {{ title }} - OpenDigitalSpecimen - + diff --git a/app/templates/includes/navbar.html b/app/templates/includes/navbar.html index 9af9a84..7f2114a 100644 --- a/app/templates/includes/navbar.html +++ b/app/templates/includes/navbar.html @@ -113,7 +113,7 @@ diff --git a/app/templates/includes/resources/diagrams/class-diagrams/annotation-full.html b/app/templates/includes/resources/diagrams/class-diagrams/annotation-full.html index 4431664..cddca63 100644 --- a/app/templates/includes/resources/diagrams/class-diagrams/annotation-full.html +++ b/app/templates/includes/resources/diagrams/class-diagrams/annotation-full.html @@ -7,34 +7,27 @@ version : integer motivation : None motivatedBy : string + hasTarget : object + hasBody : object creator : object created : string modified : string issued : string generator : object batchID : string + placeInBatch : integer mergingDecisionStatus : None mergingStateChangeDate : string MergingStateChangedBy : object TombstoneMetadata : object } - class hasTarget { - ID : string - type : string - hasSelector : object - } - class hasBody { - value : array - references : string - score : number - } class AggregateRating { ratingCount : integer ratingValue : number } class TombstoneMetadata { - tombstonedDate : string - tombstonedText : string + tombstoneDate : string + tombstoneText : string TombstonedByAgent : object hasRelatedPID : array } @@ -48,8 +41,18 @@ url : string hasIdentifier : array } -Annotation -- hasTarget -Annotation -- hasBody + class AnnotationTarget { + ID : string + type : string + hasSelector : object + } + class AnnotationBody { + value : array + references : string + score : number + } Annotation -- AggregateRating Annotation -- TombstoneMetadata Annotation -- Agent +Annotation -- AnnotationTarget +Annotation -- AnnotationBody diff --git a/app/templates/includes/resources/diagrams/class-diagrams/data-mapping-full.html b/app/templates/includes/resources/diagrams/class-diagrams/data-mapping-full.html index 14a9ea6..e2ea77a 100644 --- a/app/templates/includes/resources/diagrams/class-diagrams/data-mapping-full.html +++ b/app/templates/includes/resources/diagrams/class-diagrams/data-mapping-full.html @@ -15,8 +15,8 @@ TombstoneMetadata : object } class TombstoneMetadata { - tombstonedDate : string - tombstonedText : string + tombstoneDate : string + tombstoneText : string TombstonedByAgent : object hasRelatedPID : array } diff --git a/app/templates/includes/resources/diagrams/class-diagrams/digital-media-full.html b/app/templates/includes/resources/diagrams/class-diagrams/digital-media-full.html index 76fd7ce..48ea9d4 100644 --- a/app/templates/includes/resources/diagrams/class-diagrams/digital-media-full.html +++ b/app/templates/includes/resources/diagrams/class-diagrams/digital-media-full.html @@ -9,6 +9,7 @@ type : None accessURI : string sourceSystemID : string + sourceSystemName : string organisationID : string organisationName : string format : string @@ -88,8 +89,8 @@ isIDPersistent : boolean } class TombstoneMetadata { - tombstonedDate : string - tombstonedText : string + tombstoneDate : string + tombstoneText : string TombstonedByAgent : object hasRelatedPID : array } diff --git a/app/templates/includes/resources/diagrams/class-diagrams/digital-specimen-full.html b/app/templates/includes/resources/diagrams/class-diagrams/digital-specimen-full.html index 8179ca4..2a46549 100644 --- a/app/templates/includes/resources/diagrams/class-diagrams/digital-specimen-full.html +++ b/app/templates/includes/resources/diagrams/class-diagrams/digital-specimen-full.html @@ -17,6 +17,7 @@ isKnownToContainMedia : boolean specimenName : string sourceSystemID : string + sourceSystemName : string livingOrPreserved : None language : array license : string @@ -318,8 +319,8 @@ chronometricAgeRemarks : string } class TombstoneMetadata { - tombstonedDate : string - tombstonedText : string + tombstoneDate : string + tombstoneText : string TombstonedByAgent : object hasRelatedPID : array } diff --git a/app/templates/includes/resources/diagrams/class-diagrams/machine-annotation-service-full.html b/app/templates/includes/resources/diagrams/class-diagrams/machine-annotation-service-full.html index 9512e01..a19c80c 100644 --- a/app/templates/includes/resources/diagrams/class-diagrams/machine-annotation-service-full.html +++ b/app/templates/includes/resources/diagrams/class-diagrams/machine-annotation-service-full.html @@ -21,6 +21,7 @@ dependency : array slaDocumentation : string topicName : string + maxReplicas : integer batchingPermitted : boolean timeToLive : integer TombstoneMetadata : object @@ -32,8 +33,8 @@ telephone : string } class TombstoneMetadata { - tombstonedDate : string - tombstonedText : string + tombstoneDate : string + tombstoneText : string TombstonedByAgent : object hasRelatedPID : array } diff --git a/app/templates/includes/resources/diagrams/class-diagrams/source-system-full.html b/app/templates/includes/resources/diagrams/class-diagrams/source-system-full.html index b5df605..106cb20 100644 --- a/app/templates/includes/resources/diagrams/class-diagrams/source-system-full.html +++ b/app/templates/includes/resources/diagrams/class-diagrams/source-system-full.html @@ -16,8 +16,8 @@ TombstoneMetadata : object } class TombstoneMetadata { - tombstonedDate : string - tombstonedText : string + tombstoneDate : string + tombstoneText : string TombstonedByAgent : object hasRelatedPID : array } diff --git a/app/utils/generation/main.py b/app/utils/generation/main.py index f30ff79..43d5db5 100644 --- a/app/utils/generation/main.py +++ b/app/utils/generation/main.py @@ -171,8 +171,20 @@ 'class_name': 'Agent', 'class_description': 'Description of the agents connected to the digital object', 'is_required': False + }, + { + 'endpoint': 'https://schemas.dissco.tech/schemas/fdo-type/annotation/0.3.0/annotation-target.json', + 'class_name': 'AnnotationTarget', + 'class_description': 'Description of the target of the annotation', + 'is_required': True + }, + { + 'endpoint': 'https://schemas.dissco.tech/schemas/fdo-type/annotation/0.3.0/annotation-body.json', + 'class_name': 'AnnotationBody', + 'class_description': 'Description of the body of the annotation', + 'is_required': True } - ] + ], }, { 'csv_prefix': 'create-update-tombstone-event',