Skip to content

Commit

Permalink
Use reviewStatus instead of peer-reviewed
Browse files Browse the repository at this point in the history
This should indicate the type of review, if any, that a resource
has had.

Fixes #14. Replaces #23.
  • Loading branch information
alanorth committed Jul 27, 2020
1 parent e680754 commit aa29eeb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions cgcore.html
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ <h3 id="creator-class">Creator</h3>
</table>
<h3 id="scientificPublication-class">Scientific Publication</h3>
<div class="my-4">
<a class="btn btn-sm btn-outline-secondary m-1" href="#dct:abstract">abstract</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#dct:bibliographicCitation">bibliographicCitation</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#dct:publisher">publisher</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:issn">issn</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:isbn">isbn</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:peer-reviewed">peer-reviewed</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#dct:alternative">alternative title</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:howpublished">howpublished</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:journal">journal</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:booktitle">booktitle</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:chapter">chapter</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:pages">pages</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:volume">volume</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:number">number</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#dct:extent">extent</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:series">series</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:edition">edition</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:notes">notes</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#dct:audience">audience</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#dct:isPartOf">isPartOf</a>
<a class="btn btn-sm btn-outline-secondary m-1" href="#dct:abstract">abstract</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#dct:bibliographicCitation">bibliographicCitation</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#dct:publisher">publisher</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:issn">issn</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:isbn">isbn</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:reviewStatus">reviewStatus</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#dct:alternative">alternative title</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:howpublished">howpublished</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:journal">journal</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:booktitle">booktitle</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:chapter">chapter</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:pages">pages</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:volume">volume</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:number">number</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#dct:extent">extent</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:series">series</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:edition">edition</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#cg:notes">notes</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#dct:audience">audience</a> <a class="btn btn-sm btn-outline-secondary m-1" href="#dct:isPartOf">isPartOf</a>
</div>
<table class="table table-sm table-bordered">
<tbody>
Expand Down Expand Up @@ -1399,12 +1399,12 @@ <h3 id="scientificPublication-class">Scientific Publication</h3>
</tr>
</tbody>
</table>
<p class="invisible"><a id="cg:peer-reviewed"></a><a id="peer-reviewed"></a></p>
<p class="invisible"><a id="cg:reviewStatus"></a><a id="reviewStatus"></a></p>
<table class="table table-sm table-bordered">
<tbody>
<tr class="table-secondary">
<th colspan="2">
peer-reviewed
reviewStatus
<div class="badge-property">
<span class="badge badge-secondary">Property</span>
</div>
Expand All @@ -1413,20 +1413,20 @@ <h3 id="scientificPublication-class">Scientific Publication</h3>
<tr>
<td class="col-2 field-name">Identifier</td>
<td>
<a href="http://purl.org/cg/terms/peer-reviewed">http://purl.org/cg/terms/peer-reviewed</a>
<a href="http://purl.org/cg/terms/reviewStatus">http://purl.org/cg/terms/reviewStatus</a>
</td>
</tr>
<tr>
<td class="col-2 field-name">Definition</td>
<td>If the resource has been peer reviewed</td>
<td>Indicating the type of review the resource has undergone.</td>
</tr>
<tr>
<td class="col-2 field-name">Comments</td>
<td></td>
<td>Value should indicate the type of review. Do not use if the resource has not been reviewed.</td>
</tr>
<tr>
<td class="col-2 field-name">Examples</td>
<td>true is peer-reviewed, not used if not</td>
<td><ul><li><code>Internal</code></li><li><code>Peer</code></li></ul></td>
</tr>
</tbody>
</table>
Expand Down
6 changes: 3 additions & 3 deletions cgcore.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -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:reviewStatus ],
[ a owl:Restriction ;
owl:minCardinality 0 ;
owl:onProperty cg:volume ],
Expand Down Expand Up @@ -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:reviewStatus a rdf:Property ;
rdfs:label "reviewStatus" ;
rdfs:comment "If the resource has been peer reviewed" .

cg:series a rdf:Property ;
Expand Down
4 changes: 2 additions & 2 deletions examples/scientificPublication.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<dct:accessRights>Open</dct:accessRights>
<dct:issued>20/02/2018</dct:issued>
<dct:relation>DOI_XXXX</dct:relation> <!-- linked dataset -->
<cg:peer-reviewed>true</cg:peer-reviewed>
<cg:reviewStatus>true</cg:reviewStatus>
<cg:bookTitle>xxxxx</cg:bookTitle>
<cg:journalTitle></cg:journalTitle> <!-- controled list -->
<cg:pages>12-15</cg:pages>
Expand Down Expand Up @@ -92,4 +92,4 @@
<dct:temporal>2016-2018</dct:temporal>
</dct:coverage>
</cg:ScientificPublication>
</cg:SimpleRecordSet>
</cg:SimpleRecordSet>
4 changes: 2 additions & 2 deletions examples/scientificPublication_simple.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"accessRights": "Open",
"issued": "20/02/2018",
"relation": "DOI_XXXX",
"peer-reviewed": true,
"reviewStatus": true,
"bookTitle": "xxxxx",
"journalTitle": null,
"pages": "12-15",
Expand Down Expand Up @@ -95,4 +95,4 @@
"temporal": "2016-2018"
}
}
}
}

0 comments on commit aa29eeb

Please sign in to comment.