License RDF

From Creative Commons
Revision as of 21:05, 29 January 2008 by Nathan Yergler (talk | contribs)
Jump to: navigation, search

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 Subversion repository in the license.rdf/license_rdf module.

File Naming

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


More generally, you can take the URL of a license (i.e., strip the protocol information (http://) 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.


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

  • The license engine
  • add-in
  • Liblicense

License Files (.rdf)


  • cc:license
    • about
    • permits
    • requires
    • prohibits
  • dc:title - The human readable name of the license.
  • dc:description - Description of the license.
  • dc:coverage - The jurisdiction of the license. (country code from ISO3166)
  • dc:relation
    • hasVersion - version number
    • isReplacedBy - indicates retired license (URI)
    • isBasedOn - indicates ported version (URI)
  • dc:type - always "License"
  • dc:creator
  • dc:publisher
  • dc:identifier - URI of license (URI)