Jump to content

Rights Expression Language

From Wikipedia, the free encyclopedia

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

[edit]

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

[edit]

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

[edit]

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.

Some software bill of materials (SBOM) products, such as Software Package Data Exchange (SPDX) do not use a REL but instead limit potential licences to a set of well-known licences, expressed through their local controlled vocabulary of SPDX ID.[14] Each license is identified by a full name, such as "Mozilla Public License 2.0" and a short identifier, here "MPL-2.0". Licenses can be combined by simple Boolean operators AND, OR, and grouping ( ... ). However this still requires human intervention to check these licences for acceptability and for their effects when combined: the non-REL SBOM product cannot do this itself.

Pre-defined licence

[edit]

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.[15] 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.[16]

Specific licences

[edit]

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

[edit]

A REL may conveniently use an Entity–attribute–value model, as for RDF, to structure its description of a rights model. Such a model[17] 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.
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[17] 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

[edit]

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.[18] 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.[i][18][19][20]

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][ii]

Difficulties in interworking between licences

[edit]

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

[edit]

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

[edit]

A less-obvious problem in comparing RELs is when they have a differing baseline.[21][22] 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

[edit]
  1. ^ See Creative Commons#Criticism
  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

[edit]
  1. ^ "ccREL: The Creative Commons Rights Expression Language" (PDF). Creative Commons. 3 March 2008.
  2. ^ "10: ccREL: The Creative Commons Rights Expression Language" (PDF). The Digital Public Domain: Foundations for an Open Culture. 2012.
  3. ^ a b "Introducing RDF for GNU Licenses". Free Software Foundation.
  4. ^ a b "GPL in RDF" (RDF). Free Software Foundation.
  5. ^ "Permissions and Obligations Expression Working Group". www.w3.org.
  6. ^ "ODRL Information Model 2.2". www.w3.org.
  7. ^ "ODRL Vocabulary & Expression 2.2". www.w3.org.
  8. ^ "XrML... eXtensible rights Markup Language". www.xrml.org.
  9. ^ "The MPEG-21 Rights Expression Language" (PDF). Rightscom. Archived from the original (PDF) on November 8, 2006.
  10. ^ MPEG. "Part 5: Rights Expression Language". Archived from the original on 2009-07-05.
  11. ^ Nancy J. Hoebelheinrich (Stanford University Libraries). "METSRights Schema". Library of Congress.
  12. ^ "METSRights examples". Library of Congress.
  13. ^ Ed Burnette (2006-11-02). "Google says no to license proliferation". ZDNet. Archived from the original on 2007-02-24.
  14. ^ "Handling License Info". SPDX. the Linux Foundation. 2023.
  15. ^ Make Your Open Source Software GPL-Compatible. Or Else., D. Wheeler (2014)
  16. ^ David A. Wheeler (20 August 2008). "FLOSS License Proliferation: Still a problem".
  17. ^ a b "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. Retrieved 16 Sep 2009.
  18. ^ "Creative Commons — Attribution-ShareAlike 3.0 Unported — CC BY-SA 3.0".
  19. ^ "Creative Commons — Attribution-NonCommercial-ShareAlike 3.0 Unported — CC BY-NC-SA 3.0".
  20. ^ "ccREL: The Creative Commons Rights Expression Language". W3C Member Submission. 1 May 2008.
  21. ^ Nathan Yergler. "How to negate cc:permits, cc:prohibits, cc:requires?". cc-metadata mailing list.