From e936dec5d8c10a817185fb89c5af202e93b3eb33 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 19 Jan 2021 15:29:08 +0200 Subject: [PATCH] Use consistent "camel case" for field names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This changes several metadata field names to follow a consistent "camel case" format used in Dublin Core and elsewhere in CG Core: - cg.peer-reviewed → cg.peerReviewed - cg.howpublished → cg.howPublished - cg.booktitle → cg.bookTitle - cg.HasMetadata → cg.hasMetadata --- cgcore.html | 28 +++++++++++----------- cgcore.rdf | 24 +++++++++---------- examples/scientificPublication.xml | 2 +- examples/scientificPublication_simple.json | 2 +- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/cgcore.html b/cgcore.html index a0c2205..55b98e0 100644 --- a/cgcore.html +++ b/cgcore.html @@ -36,8 +36,8 @@

CG Core Metadata Reference Guide

This document provides guidelines on how to use the CG Core metadata schema and provides examples on how to use it. An RDF version of the application profile will be available soon.

Metadata Properties

-

identifier title description type language license rightsHolder accessRights subject issued embargoDate creator contributor coverage relation hasMetadata

- +

identifier title description type language license rightsHolder accessRights subject issued embargoDate creator contributor coverage relation hasMetadata

+ @@ -514,7 +514,7 @@

Metadata Properties

- + @@ -1204,7 +1204,7 @@

Creator

Scientific Publication

- abstract bibliographicCitation publisher issn isbn peer-reviewed alternative title howpublished journal booktitle chapter pages volume number extent series edition notes audience isPartOf + abstract bibliographicCitation publisher issn isbn peerReviewed alternative title howPublished journal bookTitle chapter pages volume number extent series edition notes audience isPartOf
@@ -1399,12 +1399,12 @@

Scientific Publication

- + @@ -1426,7 +1426,7 @@

Scientific Publication

- +
- peer-reviewed + peerReviewed
Property
@@ -1413,7 +1413,7 @@

Scientific Publication

Identifier - http://purl.org/cg/terms/peer-reviewed + http://purl.org/cg/terms/peerReviewed
Examplestrue is peer-reviewed, not used if nottrue is peerReviewed, not used if not
@@ -1463,12 +1463,12 @@

Scientific Publication

- + @@ -1525,12 +1525,12 @@

Scientific Publication

- howpublished + howPublished
Property
@@ -1477,7 +1477,7 @@

Scientific Publication

Identifier - http://purl.org/cg/terms/howpublished + http://purl.org/cg/terms/howPublished
- + diff --git a/cgcore.rdf b/cgcore.rdf index 4d5329c..5062e65 100644 --- a/cgcore.rdf +++ b/cgcore.rdf @@ -69,7 +69,7 @@ cg:InformationProduct a rdfs:Class ; owl:onProperty dct:coverage ], [ a owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty cg:HasMetadata ], + owl:onProperty cg:hasMetadata ], [ a owl:Restriction ; owl:minCardinality 0 ; owl:onProperty dct:description ], @@ -127,7 +127,7 @@ cg:ScientificPublication a rdfs:Class ; owl:onProperty cg:ScientificPublication ], [ a owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty cg:peer-reviewed ], + owl:onProperty cg:peerReviewed ], [ a owl:Restriction ; owl:minCardinality 0 ; owl:onProperty cg:volume ], @@ -136,13 +136,13 @@ cg:ScientificPublication a rdfs:Class ; owl:onProperty cg:number ], [ a owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty cg:booktitle ], + owl:onProperty cg:bookTitle ], [ a owl:Restriction ; owl:minCardinality 0 ; owl:onProperty cg:pages ], [ a owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty cg:howpublished ], + owl:onProperty cg:howPublished ], [ a owl:Restriction ; owl:minCardinality 0 ; owl:onProperty dct:abstract ], @@ -188,16 +188,16 @@ cg: a dct:Standard ; dct:publisher cg:cgiar ; dct:title "CGIAR Core Metadata Schema" . -cg:HasMetadata a rdf:Property ; - rdfs:label "HasMetadata" ; +cg:hasMetadata a rdf:Property ; + rdfs:label "hasMetadata" ; rdfs:comment "A related resource that is the metadata record for the measured variables of the described dataset" . cg:affiliation a rdf:Property ; rdfs:label "affiliation" ; rdfs:comment "the affiliation of the creator" . -cg:booktitle a rdf:Property ; - rdfs:label "booktitle" ; +cg:bookTitle a rdf:Property ; + rdfs:label "bookTitle" ; rdfs:comment "The title of the book, if only part of it is being cited" . cg:chapter a rdf:Property ; @@ -216,8 +216,8 @@ cg:embargoDate a rdf:Property ; rdfs:label "embargoDate" ; rdfs:comment "In cases when the information product has an embargo this date indicates when it would be available." . -cg:howpublished a rdf:Property ; - rdfs:label "howpublished" ; +cg:howPublished a rdf:Property ; + rdfs:label "howPublished" ; rdfs:comment "How it was published, if the publishing method is nonstandard" . cg:journal a rdf:Property ; @@ -236,8 +236,8 @@ cg:pages a rdf:Property ; rdfs:label "pages" ; rdfs:comment "Page numbers" . -cg:peer-reviewed a rdf:Property ; - rdfs:label "peer-reviewed" ; +cg:peerReviewed a rdf:Property ; + rdfs:label "peerReviewed" ; rdfs:comment "If the resource has been peer reviewed" . cg:series a rdf:Property ; diff --git a/examples/scientificPublication.xml b/examples/scientificPublication.xml index 2277336..65f20fe 100644 --- a/examples/scientificPublication.xml +++ b/examples/scientificPublication.xml @@ -32,7 +32,7 @@ Open20/02/2018DOI_XXXX - true + truexxxxx12-15 diff --git a/examples/scientificPublication_simple.json b/examples/scientificPublication_simple.json index 3ea39c6..f32cf97 100644 --- a/examples/scientificPublication_simple.json +++ b/examples/scientificPublication_simple.json @@ -29,7 +29,7 @@ "accessRights": "Open", "issued": "20/02/2018", "relation": "DOI_XXXX", - "peer-reviewed": true, + "peerReviewed": true, "bookTitle": "xxxxx", "journalTitle": null, "pages": "12-15",
- booktitle + bookTitle
Property
@@ -1539,7 +1539,7 @@

Scientific Publication

Identifier - http://purl.org/cg/terms/booktitle + http://purl.org/cg/terms/bookTitle