Skip to content

Instantly share code, notes, and snippets.

@escowles
Last active August 29, 2015 14:16
Show Gist options
  • Save escowles/696d41e87af746aca1c3 to your computer and use it in GitHub Desktop.
Save escowles/696d41e87af746aca1c3 to your computer and use it in GitHub Desktop.
rights-examples.ttl
# namespaces
@prefix dcterms: http://purl.org/dc/terms/
@prefix edm: http://www.europeana.eu/schemas/edm/
@prefix hydrarights: http://projecthydra.org/ns/auth/acl#
@prefix premis: http://www.loc.gov/premis/rdf/v1#
@prefix premiscopy: <http://id.loc.gov/vocabulary/preservation/copyrightStatus/
@prefix rsdotorg: http://rightsstatements.org/vocab/path/tba/
@prefix skos: http://www.w3.org/2004/02/skos/core#
@prefix ucsd: http://library.ucsd.edu/ontology/dams4.2#
@prefix xx: # either dcterms or edm pending discussions
# cc research data
# status: rsdotorg replaces premis:hasCopyrightStatus
<obj1> xx:rights rsdotorg:ic-permission;
premis:hasCopyrightJurisdiction "us";
dcterms:rights <http://creativecommons.org/licenses/by/3.0/>;
dcterms:rightsHolder <rightsHolder1> .
<rightsHolder1> a edm:Agent;
skos:prefLabel "Rightsholder, Local, 1967-" .
# public domain
# status: rsdotorg replaces premis:copyrightStatus and dcterms:rights
<obj2> xx:rights <http://creativecommons.org/publicdomain/mark/1.0/>;
premis:hasCopyrightJurisdiction "us" .
d
# licensed w/campus-only restriction
# status: XXX rsdotorg:ic is misleading, would like rsdotorg:ic-other-restriction
<obj3> xx:rights rsdotorg:ic;
premis:hasCopyrightJurisdiction "us";
dcterms:accessRights <http://library.ucsd.edu/ontology/dams4.2#restrictedCampus>;
dcterms:rightsHolder <rightsHolder3> .
<rightsHolder3> a edm:Agent;
skos:prefLabel "Rightsholder, Another Local, 1967-" .
# uc regents
# status: rsdotorg replaces premis:hasCopyrightStatus and dcterms:rights
<obj4> xx:rights rsdotorg:ic;
premis:hasCopyrightJurisdiction "us";
dcterms:rightsHolder <http://id.loc.gov/authorities/names/n85088322>;
<http://id.loc.gov/authorities/names/n85088322> skos:prefLabel "University of California (System). Regents" .
# fair use
# status: rsdotorg replaces premis:hasCopyrightStatus
<obj5> xx:rights rsdotorg:nkr;
dcterms:rights <http://www.europeana.eu/rights/rr-f/>;
ucsd:rightsNote "Justification of fair use determination here" .
# embargo
# status: XXX no appropriate rsdotorg statement for in copyright/private, another case for rsdotorg:ic-other-restriction
<obj6> premis:hasCopyrightStatus premiscopy:cpr;
dcterms:rights <http://www.europeana.eu/rights/rr-r/>;
dcterms:accessRights <http://library.ucsd.edu/ontology/dams4.2#restrictedPrivate>;
hydrarights:embargoReleaseDate "2019-12-31T12:59:59Z";
hydrarights:visibilityAfterEmbargo rsdotorg:ic
dcterms:rightsHolder <rightsHolder6> .
<rightsHolder6> a edm:Agent;
skos:prefLabel "Rightsholder, Yet Another Local, 1977-" .
# education use only, restricted to campus-only
# status: rsdotorg replaces premis:hasCopyrightStatus and dcterms:rights
<obj7> xx:rights rsdotorg:ic-edu
premis:hasCopyrightJurisdiction "us";
dcterms:accessRights <http://library.ucsd.edu/ontology/dams4.2#restrictedCampus>;
dcterms:rightsHolder <http://id.loc.gov/authorities/names/n00085230> .
<http://id.loc.gov/authorities/names/n00085230> skos:prefLabel "Doe, John, -1993" .
# orphan works, restricted to metadata only
# status: rsdotorg replaces premis:hasCopyrightStatus and dcterms:rights
<obj8> xx:rights rsdotorg:ic-ow
premis:hasCopyrightJurisdiction "us";
dcterms:accessRights <http://library.ucsd.edu/ontology/dams4.2#restrictedMetadata> .
# namespaces
@prefix dc: http://purl.org/dc/elements/1.1/
@prefix dcterms: http://purl.org/dc/terms/
@prefix edm: http://www.europeana.eu/schemas/edm/
@prefix hydrarights: http://projecthydra.org/ns/auth/acl#
@prefix premis: http://www.loc.gov/premis/rdf/v1#
@prefix premiscopy: <http://id.loc.gov/vocabulary/preservation/copyrightStatus/
@prefix skos: http://www.w3.org/2004/02/skos/core#
@prefix ucsd: http://library.ucsd.edu/ontology/dams4.2#
# cc research data
<obj1> premis:hasCopyrightStatus premiscopy:cpr;
premis:hasCopyrightJurisdiction "us";
dcterms:rights <http://creativecommons.org/licenses/by/3.0/>;
dcterms:rightsHolder <rightsHolder1> .
<rightsHolder1> a edm:Agent;
skos:prefLabel "Rightsholder, Local, 1967-" .
# public domain
<obj2> premis:hasCopyrightStatus premiscopy:pub;
premis:hasCopyrightJurisdiction "us";
dcterms:rights <http://creativecommons.org/publicdomain/mark/1.0/> .
# licensed w/campus-only restriction
<obj3> premis:hasCopyrightStatus premiscopy:cpr;
premis:hasCopyrightJurisdiction "us";
dcterms:rights <http://www.europeana.eu/rights/rr-r/>;
dcterms:accessRights <http://library.ucsd.edu/ontology/dams4.2#restrictedCampus>;
dcterms:rightsHolder <rightsHolder3> .
<rightsHolder3> a edm:Agent;
skos:prefLabel "Rightsholder, Another Local, 1967-" .
# uc regents
<obj4> premis:hasCopyrightStatus premiscopy:cpr;
premis:hasCopyrightJurisdiction "us";
dcterms:rights <http://www.europeana.eu/rights/rr-f/>;
dcterms:rightsHolder <http://id.loc.gov/authorities/names/n85088322>;
<http://id.loc.gov/authorities/names/n85088322> skos:prefLabel "University of California (System). Regents" .
# fair use
<obj5> premis:hasCopyrightStatus premiscopy:unk;
dcterms:rights <http://www.europeana.eu/rights/rr-f/>;
ucsd:rightsNote "Justification of fair use determination here" .
# embargo
<obj6> premis:hasCopyrightStatus premiscopy:cpr;
dcterms:rights <http://www.europeana.eu/rights/rr-r/>;
dcterms:accessRights <http://library.ucsd.edu/ontology/dams4.2#restrictedPrivate>;
hydrarights:embargoReleaseDate "2019-12-31T12:59:59Z";
hydrarights:visibilityAfterEmbargo <http://www.europeana.eu/rights/rr-f/>;
dcterms:rightsHolder <rightsHolder6> .
<rightsHolder6> a edm:Agent;
skos:prefLabel "Rightsholder, Yet Another Local, 1977-" .
# education use only, restricted to campus-only
<obj7> premis:hasCopyrightStatus premiscopy:cpr;
premis:hasCopyrightJurisdiction "us";
dcterms:rights <http://opaquenamespace.org/rights/educational/>;
dcterms:accessRights <http://library.ucsd.edu/ontology/dams4.2#restrictedCampus>;
dcterms:rightsHolder <http://id.loc.gov/authorities/names/n00085230> .
<http://id.loc.gov/authorities/names/n00085230> skos:prefLabel "Doe, John, -1993" .
# orphan works, restricted to metadata only
<obj8> premis:hasCopyrightStatus premiscopy:cpr;
premis:hasCopyrightJurisdiction "us";
dcterms:rights <http://opaquenamespace.org/rights/orphan-work-us/>;
dcterms:accessRights <http://library.ucsd.edu/ontology/dams4.2#restrictedMetadata> .
@mcritchlow
Copy link

Excellent, thanks Esme.

I think we should add examples for:

  1. Education Use Only
  2. Orphan Works

We're currently referencing http://opaquenamespace.org/ URIs in those scenarios, and I wonder if others in the community might have different ideas or URIs we haven't encountered.

@no-reply
Copy link

I wonder if there's a better strategy than dc:identifier <http://id.loc.gov/> at https://gist.github.com/escowles/696d41e87af746aca1c3#file-rights-examples-ttl-L40

@escowles
Copy link
Author

I'm torn between just using the LCNAF URI for dcterms:rightsHolder, or creating a local record and using dc:identifier, or owl:sameAs, or something to link to the URI.

@mcritchlow
Copy link

Esme, I think we should strongly consider just using the URI directly, and de-reference as needed for indexing/display. Moving away from local records, generally, seems to be a good direction if we have external URIs that can give us all the info we need if we grab the graph. If we need to supplement with additional local information, then maybe a local record is more justified?

@escowles
Copy link
Author

I've updated the examples to link directly to the vocab URIs when they exist, but have local edm:Agent records when they don't. Rights holders is a place where we usually don't have vocab records, unless it's the UC Regents.

I've also included the skos:prefLabel for the remote rights holder URIs, which ideally we'd cache locally. There is currently a fcrepo4 bug that prevents this from working directly (https://jira.duraspace.org/browse/FCREPO-1361), but this may be possible to do, or maybe we could store them as a local record, but publish them as a direct link to the remote URI plus whatever triples we add to the local record?

@no-reply
Copy link

If you're going to do owl:sameAs, then I favor just using the external URI directly. In either of those cases, you would have to abandon skos:prefLabel (or commit to using the one from the web).

Else, I might suggest skos:closeMatch, skos:exactMatch and/or rdfs:seeAlso. dc:identifier manages to be both too vague and too specific for this kind of link, I think.

@no-reply
Copy link

Ah, seeing update now (guess I hadn't refreshed this tab!).

<http://id.loc.gov/authorities/names/n00085230> skos:prefLabel "Doe, John, -1993" .

This is good, as long as you will always use LOC's prefLabel. If not, it's bad practice due to "A resource has no more than one value of skos:prefLabel per language tag.".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment