Skip to content

Semantic Media Wiki Quick Reference Guide


Creative Commons uses Semantic Media Wiki for both our external wiki and our internal task and project management system.

As opposed to a normal wiki where text is “flat”, the text and data inside a SMW can be structured in sophisticated ways that allow for meaningful querying of knowledge statements of the corpus. To give a more concrete example, a list of United States Vice Presidents by longevity must be maintained by humans on Wikipedia, whereas a similar list can be automatically generated via a query inside a semantic media wiki (supposing there are pages about the presidents in the first place). Or in the case of Creative Commons’ wiki, we use SMW to store information about case studies, which can then be recalled in interesting ways, such as listing all Creative Commons licensed projects that use text and are based in Australia. You can see the exact query used to generate that list by clicking “edit query” on the page. Try changing the country to something else to get a feel for how the search works.

One final aspect about SMW that makes it relevant to CC’s work is that it automatically creates RDF (the language of the semantic web) statements about pages. This gives any semantic media wiki a machine-readable output that allows for easy parsing by machines.

Sound familliar? That’s because Creative Commons encourages the use of RDFa to express license information about objects in webpages. RDFa is meant to be the “human readable” version of RDF which also contains machine readable statements. Think of it as extra-fancy XHTML with semantic sparkle dust.

Despite some real leaps in user-interface design for SMWs, editing and querying them remains a little confusing. Yaron Koren, the developer behind the essential Semantic Forms extension, has created a “quick reference guide” that he’s released under Creative Commons’ Attribution license.

Yaron has made the guide available in three formats so that it is easy to print (pdf), remix (svg), and read (png).

Posted 25 August 2008