Jump to content

License RDF: Difference between revisions

From CC Public Wiki
No edit summary
updated protocol to https and added IIIF
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__TOC__
Creative Commons provides information on licenses for three audiences: lawyers, humans and machines.  The machine-readable information is described using [http://www.w3.org/RDF RDF] and made available from the [https://github.com/creativecommons/cc.licenserdf creativecommons/cc.licenserdf] git repository.
 
Creative Commons provides information on licenses for three audiences: lawyers, humans and machines.  The machine-readable information is described using [http://www.w3.org/RDF RDF] and made available from the Subversion repository in the [http://cctools.svn.sourceforge.net/viewvc/cctools/license.rdf/trunk/license_rdf license.rdf/license_rdf] module.


== File Naming ==
== File Naming ==
Line 9: Line 7:
<pre>creativecommons.org_license_[license-code]_[version]_[jurisdiction]_.rdf</pre>
<pre>creativecommons.org_license_[license-code]_[version]_[jurisdiction]_.rdf</pre>


More generally, you can take the URL of a license (i.e. <code>http://creativecommons.org/licenses/by/3.0/</code>), strip the protocol information (<code>http://</code>) and replace all forward-slashes (<code>/</code>) with underscores (<code>_</code>) to arrive at the base filename.  [[Liblicense]] provides a function to perform this mapping for you.
More generally, you can take the URL of a license (i.e. <code>https://creativecommons.org/licenses/by/3.0/</code>), strip the protocol information (<code>https://</code>) and replace all forward-slashes (<code>/</code>) with underscores (<code>_</code>) to arrive at the base filename.  [[Liblicense]] provides a function to perform this mapping for you.


== File Contents ==
== File Contents ==
Line 26: Line 24:
* [[OpenOfficeOrg Addin]]
* [[OpenOfficeOrg Addin]]
* [[Liblicense]]
* [[Liblicense]]
* IIIF (International Image Interoperability Framework)

Latest revision as of 21:41, 15 November 2019

Creative Commons provides information on licenses for three audiences: lawyers, humans and machines. The machine-readable information is described using RDF and made available from the creativecommons/cc.licenserdf git repository.

File Naming

Files in the license_rdf module are named using the following convention:

creativecommons.org_license_[license-code]_[version]_[jurisdiction]_.rdf

More generally, you can take the URL of a license (i.e. https://creativecommons.org/licenses/by/3.0/), strip the protocol information (https://) and replace all forward-slashes (/) with underscores (_) to arrive at the base filename. Liblicense provides a function to perform this mapping for you.

File Contents

Each file contains the RDF (encoded as RDF/XML) describing the particular license. Information described by the RDF includes:

  • license name, including translations
  • license description, including translations
  • license properties, as described by ccREL

Usages

The license RDF files are used in the following CC applications: