Rights Expression Language

From HandWiki

A Rights Expression Language or REL is a machine-processable language used to express intellectual property rights (such as copyright) and other terms and conditions for use over content. RELs can be used as standalone expressions (i.e. metadata usable for search, compatibility tracking) or within a DRM system. RELs are expressible in a machine-language (such as XML, RDF, RDF Schema, and JSON). Although RELs may be processed directly, they can also be encountered when embedded as metadata within other documents, such as eBooks, image, audio or video files.

Notable RELs

Notable RELs include:

ccREL
An RDF Schema used by the Creative Commons project to express their licences.[1][2]
This same vocabulary has also been adopted by the GNU Project to express their General Public License (GPL) in machine-readable form.[3][4]
W3C Open Digital Rights Language ODRL
The W3C Permissions and Obligations Expression (POE) Working Group has developed the ODRL recommendations for expressing permissions and obligations statements for digital content.[5]
The W3C ODRL Information Model offers a framework for the underlying concepts, entities, and relationships that form the foundational basis for the semantics of ODRL expressions. The aim of the ODRL Information Model is to support flexible Policy expressions by allowing the author to include as much, or as little, expressive detail about the terms and conditions for Asset usage, the Parties involved, and obligations.[6]
The W3C ODRL Vocabulary & Expression describes the potential terms used in ODRL Policy expressions and how to serialise them. The terms form part of the ODRL Ontology and formalise the semantics. The wide set of terms in the vocabulary provides the support for communities to use ODRL as the primary language to express common use cases.[7]
XrML
XrML began with work at Xerox in the 1990s.[8] After passing through several versions and separate projects, it later formed the basis of the REL for MPEG-21.[9]
MPEG-21
Part 5 of this MPEG standard includes a REL.[10]
METSRights
METSRights is an extension schema to the METS packaging metadata standard.[11][12]

Use of a REL

The function of a REL is to define licences, and to describe these licences in terms of the permissions or restrictions they imply for how the related content may then be used.

"Licence" here may mean either:

  • A "well-known licence", such as GFDL, Apache License or a Creative Commons CC-by-sa-3.0 etc.
  • A pre-defined licence that is like these, but not so well known. Examples would be proprietary "shrinkwrap" licences.
  • A specific licence that is created with individual terms and conditions, for content licensed from one party to another.

Well-known licences

Use of a well-known licence is often chosen for its unambiguous simplicity: GFDL means the same no matter who is using it. Using an existing licences also avoids the problems of licence proliferation. It is also practical to use such a licence, and to check that a project is complying with it, without understanding too much about what detail it entails. Merely knowing that "GFDL is acceptable to this project" and "All resources within this project use GFDL" is sufficient. In that sense, well-known licences are a way to avoid needing to use a REL to model the details of a licence, its name alone is enough.[13]

Despite this, a REL may still be useful with these licences. It provides a machine-processable way to identify the licence in use, avoiding naming issues and potential ambiguities between "Apache License" or "Apache 2.0 Licence". The authors of these licences also require a means to describe their internal details.

Pre-defined licence

These are similar to the well-known licences, in that they're defined before their use and can be applied to many instances of licensing. Their difference is that as they're not well known, it's also necessary to explain what each of them entails, as the user is always likely to be encountering each of them for the first time. A REL provides the means to do this.

Using licensed content within a project now requires evaluation of the statement, "Are there any resources within this project whose licence forbids a condition that the project requires, or requires a condition that the project cannot permit?". These might include a necessary ability to distribute copies of the project afterwards, or a condition for accreditation on a splash screen that might be unacceptable to some projects.

In open source software development, it's also common for projects to create their own licence under their own project name, but for the details of this licence to be a boilerplate copy from a well-known licence, or even a reference to this licence.[14] A REL should support this, providing a means for licences to be defined by sub-classing existing licences and possibly changing their behaviour. Many of these licences are little more than vanity licences, although other dependent projects must still be able to work with them.[15]

Specific licences

These are licences that are created as needed, for specific pieces of content, or specific end users. This is usually so that they may have use-specific conditions attached to them, such as expiry dates. Although these licences might be based on a standard boilerplate, each one is thus unique. Referring to them by name could not work as there's no single, stable name. It's thus necessary to use a REL to express each one in terms of its individual properties.

Examples might include a time-limited contract to watch TV sport for a month, as paid for by an ongoing contract, and to watch this within the home but not to show it within a public bar.

Structure of a REL

A REL may conveniently use an Entity–attribute–value model, as for RDF, to structure its description of a rights model. Such a model[16] expresses itself as lists of:

Entities
Concrete "things" or "classes", e.g.:
  • Work/Asset
The item being licensed.
  • Licence
The licence, particularly when this is either a "well-known" licence (where many Works will use a comparable abstract licence, such as GFDL)
or else an instance of a specific licence, such as content playback rights purchased by one user.
  • End-user/Parties
A means to identify the end-user, when the licensing is a specific contract with one person or body, as well as the licensing party.
  • Jurisdiction
Rarely stated explicitly, but an important qualifier when there are local legal variations in IP law.
Attributes
"Properties", or aspects of each of these Entities, e.g. for a Licence:
  • constraints
Actions that are either permitted, or forbidden
Some RELs[16] separate these constraints into groups, as the likely values for each are generally disjoint sets (actions that may be sometimes prohibited are rarely compulsory)
  • permissions
  • prohibitions
  • requirements/obligations (or duties)
Values
Values for these properties, from a pre-defined vocabulary, e.g. the Four Freedoms:
  • Using the Work
  • Studying and modifying the Work
  • Redistributing copies
  • Redistributing modified copies
  • Print the asset

The REL defines sets of members for each of these three groups, and the permitted relations between them. In the example above there may be concepts of Licences, permissions and redistributing copies. Also there may be the relations, A Licence may express prohibitions, and separately Permission may be given to redistribute copies.

Statements may then be made using the REL (these would be outside of the REL itself) such as:

<cc:License rdf:about="http://example.org/licenses/distribution/">
  <cc:licenseClass rdf:resource="https://creativecommons.org/license/"/>
  <dc:title>FooCo's Distribution Permitted Licence</dc:title>

  <cc:permits rdf:resource="https://creativecommons.org/ns#Distribution"/>
    
</cc:License>

This defines a new abstract licence, one that permits re-distribution of copies. Works may then use this Licence by referring to it,

<p>This web page is licensed under <a rel="license" href="http://example.org/licenses/distribution/" 
    >FooCo's Distribution Permitted Licence</a>.

Note that although this hypothetical "Distribution permitted" licence has been expressed using the Creative Commons REL, it is not a Creative Commons licence. It merely uses the concepts "License", "permission" and "Distribution". Although it's not one of the Creative Commons licences defined by that project, it does share exact commonality for these terms: "Distribution" has exactly the same meaning and legal definition between them.

The below W3C ODRL example shows an Agreement (License) from the Assigner party for an Asset that can be Displayed by one assignee (user), and another to Print the Asset.

{
    "@context": {
        "odrl": "http://www.w3.org/ns/odrl/2/"
    },
    "@type": "odrl:Agreement",
    "@id": "http://example.com/policy:4444",
    "target": "http://example.com/asset:5555",
    "assigner": "http://example.com/MyPix:55",
    "permission": [{
        "assignee": "http://example.com/guest:0001",
        "action": "odrl:display"
    }],
    "permission": [{
        "assignee": "http://example.com/guest:0002",
        "action": "odrl:print"
    }]
}

Interworking between licences

Increasing interest in mashups and collaborative projects creates a demand for combining content, and in licensing technologies that can support this.

The simplest approach is to only combine content under the same well-known licence. This is over-restrictive though, and many compatible licences may permit their content to be combined. It is however difficult to judge this, whether it is permitted and how the resultant content should be licensed.[17] There may still be subtleties when there are overlapping requirements or Copyleft issues. Notably the Creative Commons 'attribution-sharealike' and 'attribution-noncommercial-sharealike' are incompatible.[note 1][17][18][19]

Combining licences is simpler if all of the licences involved may be expressed through the same REL. In that case it's easier to see when a permission or a prohibition applies if they do at least apply to an identical definition of "Distribution". An obvious example of this are the Creative Commons licenses, where a family of licences are all defined in terms of the same REL.

Even if different licences were originally defined through different REL, it may be possible to re-encode a licence simultaneously in another shared REL, making them comparable. GPL has recently been expressed in ccREL, giving this advantage.[3][4][note 2]

Difficulties in interworking between licences

Apart from the issues of conflicting requirements (above), there are also technical issues in comparing licences. Many of these are alleviated if the same REL can be used, even if the licences are different.

Semantics

A regular problem with semantic translation between schemas (such as RELs) is in making sure that the meanings of terms are identical. Although the semantic web is beginning to use ontology tools such as OWL to describe meaning, the current state of the art for REL is less advanced than this. Simpler processing, and the potential for expensive litigation otherwise, means that the semantics of RELs must be clearly identical, not just inferred to be so through a reasoner.

The regular problems are in demonstrating the equivalence of classes, properties and instances. For RELs the major problem is for the instances, i.e. the precise definitions of "Distribution", "Share-alike" etc. The classes and properties are usually simple concepts and very similar. Not all RELs support all classes though: some ignore Jurisdiction or even End-user, according to the needs of the market they were developed for.

Implicit pre-conditions

A less-obvious problem in comparing RELs is when they have a differing baseline.[20][21] The baseline defines the conditions implied by the licence when there are no explicit statements included. Some RELs take the "Everything not permitted is forbidden" approach, others (such as ccREL) use the Berne Convention as their baseline.

Notes

  1. See Creative Commons
  2. Note that despite the suggestion of Introducing RDF for GNU Licenses, the benefit accrues because GPL is expressed in ccREL (and RDF), not merely in RDF. For licences to become comparable, the REL vocabularies must be shared, not merely the data model.

References

  1. "ccREL: The Creative Commons Rights Expression Language". Creative Commons. 3 March 2008. http://wiki.creativecommons.org/images/d/d6/Ccrel-1.0.pdf. 
  2. "10: ccREL: The Creative Commons Rights Expression Language". The Digital Public Domain: Foundations for an Open Culture. 2012. http://www.communia-association.org/wp-content/uploads/the_digital_public_domain.pdf. 
  3. 3.0 3.1 "Introducing RDF for GNU Licenses". Free Software Foundation. http://www.fsf.org/blogs/licensing/2009-06-rdf. 
  4. 4.0 4.1 "GPL in RDF" (RDF). Free Software Foundation. https://www.gnu.org/licenses/gpl-3.0.rdf. 
  5. "Permissions and Obligations Expression Working Group". https://www.w3.org/2016/poe/wiki/Main_Page. 
  6. "ODRL Information Model 2.2". https://www.w3.org/TR/odrl-model/Overview.html. 
  7. "ODRL Vocabulary & Expression 2.2". https://www.w3.org/TR/odrl-vocab/Overview.html. 
  8. "XrML... eXtensible rights Markup Language". http://www.xrml.org/. 
  9. "The MPEG-21 Rights Expression Language". Rightscom. Archived from the original on November 8, 2006. https://web.archive.org/web/20061108184923/http://www.xrml.org/reference/MPEG21_REL_whitepaper_Rightscom.pdf. 
  10. MPEG. "Part 5: Rights Expression Language". Archived from the original on 2009-07-05. https://web.archive.org/web/20090705032502/http://www.chiariglione.org/mpeg/technologies/mp21-rel/index.htm. 
  11. Nancy J. Hoebelheinrich (Stanford University Libraries). "METSRights Schema". https://www.loc.gov/standards/rights/METSRights.xsd. 
  12. "METSRights examples". Library of Congress. https://www.loc.gov/standards/rights/examples/. 
  13. Ed Burnette (2006-11-02). "Google says no to license proliferation". Archived from the original on 2007-02-24. https://web.archive.org/web/20070224072515/http://blogs.zdnet.com/Burnette/?p=192. 
  14. Make Your Open Source Software GPL-Compatible. Or Else., D. Wheeler (2014)
  15. David A. Wheeler (20 August 2008). "FLOSS License Proliferation: Still a problem". http://www.dwheeler.com/blog/2008/08/20/. 
  16. 17.0 17.1 "Can I combine two different Creative Commons licensed works? Can I combine a Creative Commons licensed work with another non-CC licensed work?". FAQ. Creative Commons. http://wiki.creativecommons.org/FAQ#Can_I_combine_two_different_Creative_Commons_licensed_works.3F_Can_I_combine_a_Creative_Commons_licensed_work_with_another_non-CC_licensed_work.3F. Retrieved 16 Sep 2009. 
  17. "Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-SA 3.0". https://creativecommons.org/licenses/by-sa/3.0/. 
  18. "Creative Commons — Attribution-NonCommercial-ShareAlike 3.0 Unported — CC BY-NC-SA 3.0". https://creativecommons.org/licenses/by-nc-sa/3.0/. 
  19. "ccREL: The Creative Commons Rights Expression Language". W3C Member Submission. 1 May 2008. http://www.w3.org/Submission/2008/SUBM-ccREL-20080501/. 
  20. Nathan Yergler. "How to negate cc:permits, cc:prohibits, cc:requires?". cc-metadata mailing list. http://lists.ibiblio.org/pipermail/cc-metadata/2009-August.txt.