Skip to content

Commit

Permalink
Merge pull request #5 from DiSSCo/featrue/add-modified
Browse files Browse the repository at this point in the history
Update modified
  • Loading branch information
samleeflang authored Jul 9, 2024
2 parents 16a112f + 4775040 commit 21fbe5c
Show file tree
Hide file tree
Showing 21 changed files with 27 additions and 17 deletions.
1 change: 1 addition & 0 deletions app/data/opends/annotation-termlist.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dcterms:,references,References,Indicates how the value came to be. https://purl.
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
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
dcterms:,issued,Issued,The date and time when the annotation was generated. https://purl.org/dc/terms/issued,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,True,False,Annotation.issued,http://purl.org/dc/terms/,http://purl.org/dc/terms/issued,dcterms:issued,string
as:,generator,Generator,Object containing information on who generated the object. Generated is here seen as who stored/indexed the object. In most case this will be the annotation-processing-service. Contains an ods:Agent object.,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Annotation,True,False,Annotation.generator,http://www.w3.org/ns/activitystreams#,http://www.w3.org/ns/activitystreams#generator,as:generator,object
schema:,AggregateRating,Aggregate Rating,The average rating based on multiple ratings or reviews,,,,http://www.w3.org/2000/01/rdf-schema#Class,Annotation,False,False,Annotation.AggregateRating,http://schema.org/,http://schema.org/AggregateRating,schema:AggregateRating,object
Expand Down
4 changes: 2 additions & 2 deletions app/data/opends/create-update-tombstone-event-termlist.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ ods:,ID,Id,"The unique identifier of the Create Update Tombstone Event, this inc
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,CreateUpdateTombstoneEvent,False,False,CreateUpdateTombstoneEvent.type,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/type,ods:type,string
prov:,Activity,Activity,"Based on the prov-ontology Activity Class, https://www.w3.org/ns/prov#Activity",,,,http://www.w3.org/2000/01/rdf-schema#Class,CreateUpdateTombstoneEvent,False,False,CreateUpdateTombstoneEvent.Activity,,Activity,prov:Activity,object
prov:,wasAssociatedWith,Was Associated With,Contains zero a reference to one or more prov:Agent objects that were associated with the Activity,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Activity,True,False,prov:Activity.wasAssociatedWith,,wasAssociatedWith,prov:wasAssociatedWith,array
prov:,endedAtTime,Ended At Time,"The date and time when the activity ended, in ISO 8601 format, http://www.w3.org/ns/prov#endedAtTime",,,['2024-06-11T09:14:001Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Activity,True,False,prov:Activity.endedAtTime,,endedAtTime,prov:endedAtTime,string
prov:,endedAtTime,Ended At Time,"The date and time when the activity ended, in ISO 8601 format, http://www.w3.org/ns/prov#endedAtTime",,,['2024-06-11T09:14:00.233Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Activity,True,False,prov:Activity.endedAtTime,,endedAtTime,prov:endedAtTime,string
prov:,used,Used,"The unique identifier of the prov:Entity that was used in the Activity (as indicated at @id in the Activity Class), http://www.w3.org/ns/prov#used",,,"['https://hdl.handle.net/20.5000.1025/XXX-XXX-XXX/1', 'https://doi.org/10.15468/1a2b3c/3']",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,Activity,True,False,prov:Activity.used,,used,prov:used,string
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:00Z', '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': '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:,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
Expand Down
3 changes: 2 additions & 1 deletion app/data/opends/data-mapping-termlist.csv
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ ods:,status,Status,The status of the Digital Object,,,,http://www.w3.org/1999/02
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:,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:000Z'],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:,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:,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
Expand Down
5 changes: 2 additions & 3 deletions app/data/opends/digital-media-termlist.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ ods:,DigitalMedia,Digital Media,A digital representation of an media object such
ods:,ID,Id,The unique digital identifier of the object,,,['https://hdl.handle.net.org/20.5000.1025/XXX-XXX-XXX'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,True,False,DigitalMedia.ID,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/ID,ods:ID,string
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,DigitalMedia,True,False,DigitalMedia.version,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/version,ods:version,integer
ods:,status,Status,The status of the Digital Object,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.status,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/status,ods:status,
ods:,created,Created,The timestamp that the object version was created in DiSSCo,,,[],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,True,False,DigitalMedia.created,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/created,ods:created,string
dcterms:,modified,Modified,"The timestamp that the object was last changed, which resulted in a new version of the object",,,['2023-10-02T12:31:34.806Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,True,False,DigitalMedia.modified,http://purl.org/dc/terms/,http://purl.org/dc/terms/modified,dcterms:modified,string
dcterms:,created,Created,The timestamp that the object was created in DiSSCo,,,['2023-10-02T12:31:34.806Z'],http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,True,False,DigitalMedia.created,http://purl.org/dc/terms/,http://purl.org/dc/terms/created,dcterms:created,string
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,DigitalMedia,False,False,DigitalMedia.type,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/type,ods:type,string
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
Expand All @@ -18,8 +19,6 @@ dcterms:,accessRights,Access Rights,https://purl.org/dc/terms/accessRights,,,,ht
dcterms:,rightsHolder,Rights Holder,https://purl.org/dc/terms/rightsHolder,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.rightsHolder,http://purl.org/dc/terms/,http://purl.org/dc/terms/rightsHolder,dcterms:rightsHolder,string
dcterms:,source,Source,https://purl.org/dc/terms/source,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.source,http://purl.org/dc/terms/,http://purl.org/dc/terms/source,dcterms:source,string
dcterms:,creator,Creator,https://purl.org/dc/elements/1.1/creator,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.creator,http://purl.org/dc/terms/,http://purl.org/dc/terms/creator,dcterms:creator,string
dcterms:,created,Created,https://purl.org/dc/terms/created,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.created,http://purl.org/dc/terms/,http://purl.org/dc/terms/created,dcterms:created,string
dcterms:,modified,Modified,https://purl.org/dc/terms/modified,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.modified,http://purl.org/dc/terms/,http://purl.org/dc/terms/modified,dcterms:modified,string
ods:,hasAssertion,Has Assertion,Contains zero or more ods:Assertion objects,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.hasAssertion,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/hasAssertion,ods:hasAssertion,array
ods:,hasCitation,Has Citation,Contains zero or more ods:Citation objects,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.hasCitation,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/hasCitation,ods:hasCitation,array
ods:,hasIdentifier,Has Identifier,Contains zero or more ods:Identifier objects,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,DigitalMedia,False,False,DigitalMedia.hasIdentifier,http://rs.dissco.eu/opends/terms/,http://rs.dissco.eu/opends/terms/hasIdentifier,ods:hasIdentifier,array
Expand Down
Loading

0 comments on commit 21fbe5c

Please sign in to comment.