SemanticMediaWiki scrutinizer travis-ci Packagist phpunit

Semantic MediaWiki is a project for extending MediaWiki with "semantic" functions that enable machine-reading of wiki-content.

Semantic MediaWiki

Build Status Code Coverage Scrutinizer Quality Score Latest Stable Version Packagist download count Dependency Status

Semantic MediaWiki (a.k.a. SMW) is a free, open-source extension to MediaWiki – the wiki software that powers Wikipedia – that lets you store and query data within the wiki’s pages.

Semantic MediaWiki is also a full-fledged framework, in conjunction with many spinoff extensions, that can turn a wiki into a powerful and flexible knowledge management system. All data created within SMW can easily be published via the Semantic Web, allowing other systems to use this data seamlessly.

For a better understanding of how SMW works, have a look at Semantic MediaWiki deployed in 5 min, using a Sesame or Fuseki triplestore, or browse the SMW wiki for a more comprehensive introduction.


  • PHP 5.3 or later (5.5 or later recommended)
  • MediaWiki 1.19 or later (1.25 or later recommended)
  • MySQL 5+, SQLite 3+ or PostgreSQL 9.x

A list of supported PHP versions, MediaWiki versions and databases per SMW release can be found in the compatibility matrix.


The easiest way to install Semantic MediaWiki is by using Composer. It is recommended to read the installation instructions together with the available upgrade guide.

	"require": {
		"mediawiki/semantic-media-wiki": "[email protected]"


Most of the documentation can be found on the SMW wiki. A small core of documentation also comes bundled with the software itself. This documentation is minimalistic and less explanatory then what can be found on the SMW wiki. It is however always kept up to date, and applies to the version of the code it comes bundled with. The most important files are linked below.

Contribution and support

Twitter Facebook Google+

Many people have contributed to SMW. A list of people who have made contributions in the past can be found here or on the SMW wiki. The overview on how to contribute provides information on the different ways available to do so.

If you have remarks, questions, or suggestions, please send them to [email protected] You can subscribe to this list here.

If you want to contribute work to the project please subscribe to the developers mailing list and have a look at the contribution guideline.


This extension provides unit and integration tests that are normally run by a continues integration platform but can also be executed manually. A more comprehensive introduction can be found in the test section.


GNU General Public License, version 2 or later. The COPYING file explains SMW’s copyright and license.

Related Repositories



Semantic MediaWiki is a project for extending MediaWiki with "semantic" functions that enable machine-reading of wiki-content. ...



SemanticMediaWiki Lua integration framework ...



Java API for SemanticMediaWiki PageSchema ...



Repository for playing with Docker and Semantic MediaWiki ...

Top Contributors

mwjames JeroenDeDauw kghbln mkroetzsch jongfeli nischayn22 Nikerabbit reedy siebrand s7eph4n yaronkoren FlorianSW amire80 macbre agharbeia toniher shirayuki pastakhov Seb35 legoktm hexmode cicalese turnstep hermannschwaerzlerUIBK thingles joelkp ckoerner eranroz fallos Grunny


-   2.4.1 zip tar
-   2.4.0 zip tar
-   2.4.0-RC1 zip tar
-   2.3.1 zip tar
-   2.3.0 zip tar
-   2.3.0-RC1 zip tar
-   2.2.3 zip tar
-   2.2.2 zip tar
-   2.2.1 zip tar
-   2.2.0 zip tar
-   2.2.0-RC1 zip tar
-   2.1.3 zip tar
-   2.1.2 zip tar
-   2.1.1 zip tar
-   2.1.0 zip tar
-   2.1.0-RC1 zip tar
-   2.0 zip tar
-   2.0-RC3 zip tar
-   2.0-RC2 zip tar
-   2.0-RC1 zip tar
-   1.9.2 zip tar
- zip tar
-   1.9.1 zip tar
- zip tar
- zip tar
-   1.9 zip tar
-   1.9beta1 zip tar
-   1.9-RC1 zip tar
- zip tar
- zip tar