ualbertalib / fcrepo4-oaiprovider

Fedora 4 OAI Provider implementation
3 stars 1 forks source link

ORE: add both dcterms:rights and dcterms:license #19

Closed jefferya closed 6 years ago

jefferya commented 7 years ago
On Thu, Aug 3, 2017 at 11:48 AM, Zachary Schoenberger <zschoenb@ualberta.ca> wrote:
....
We should probably have both dcterm:rights and dcterm:license both present, each mapped respectively. Sometimes there is no license, other times there is no rights, but there is always at least one, and most of the time there is both. I think it makes more sense to do it this way.

@zschoenb what would the output look like if both are present? Would the output be a second rdf:Description block? Also, do you have an example handy?

Fyi: Current logic, use one or the other but not both (privileging dcterms:rights

if `dcterms:rights` then output
else if `dcterms:license` then output
zschoenb commented 7 years ago

So, the problem with the ORE on test was that dcterms:license was actually populated by dcterms:rights. I think it would be safest to have both if they are available, not not harmful either. Both should be in the one rdf:Description block, just add both a rights node and a license node. should be fine.

`

2014-04-29T15:32:59.800Z The rights of this work are governed by a Creative Commons Attribution NC-ND-By 3.0 license"\ Creative Commons Attribution-Non-Commercial-No Derivatives 3.0 Unported some citation `
zschoenb commented 7 years ago

I caught this myself recently. We aren't sure exactly why, but in many cases marcrel:dis has been duplicated in dc:creator. Give primacy to marcrel:dis. If it isn't present, take dc:creator.

jefferya commented 7 years ago

Example for reference: oai:era.library.ualberta.ca:1/cp5547r50s