Skip to content

Semantic Dogfood


Since the beginning we’ve provided our licenses for three separate, distinct audiences: humans, lawyers and machines. The machine audience has been served by metadata versions of the licenses. This metadata is encoded with the HTML you get from the license chooser, as well as for each individual license. For example, you can find the metadata for the Attribution 3.0 Unported license by appending /rdf to the URL.

While we’ve always provided this machine readable version of the licenses, we’re finally taking steps to begin eating our own semantic web dogfood. We’re doing several things to accomplish this. First, the RDF/XML we serve for each license is now considerably more informative. It includes:

In addition to the RDF/XML, we’re starting to encode license information as RDFa on the license deeds. Try using the GetN3 bookmarklet on the Attribution 3.0 Unported deed for an example.

We’re also starting to use this metadata to power our own applications. The Addin ships with a copy of the RDF and uses SPARQL to determine the license you’ve selected. As we continue to build out the tools around CC licenses we’ll be moving in a similar direction, looking for ways we can leverage this resource we already have.

You can build on it, too; everything we do goes into source control. You can find the RDF files in the license.rdf module. A description of the namespace is also available.

Posted 12 December 2007