# Semantic MediaWiki

> Turns MediaWiki into a knowledge management platform with query and export capabilities

Source: https://talira.ai/catalog/semantic-mediawiki-h089r692
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin
- Categories: [data / linked data](https://talira.ai/categories/data/linked-data), [business / knowledge management / wiki](https://talira.ai/categories/business/knowledge-management/wiki)
- Platforms: web[^3]
- Licence: GPL-2.0-or-later[^3][^4]
- Pricing: Free and open source[^2][^3]
- Pricing notes: Free, GPL-2.0-or-later; funded through Open Collective.
- Free tier: yes[^2][^3]
- Self-hostable: yes[^5]
- API: yes[^3]
- Plugins: yes[^2]

Semantic MediaWiki (SMW) is an extension to [MediaWiki](https://talira.ai/catalog/mediawiki-x2xrvtp1.md) that lets a wiki store and query data inside its pages. Editors annotate page content with typed properties, and `#ask` queries pull that data into lists, tables and other result formats anywhere in the wiki, so the wiki works as a collaborative database; the data can also be exported as RDF for the Semantic Web. It stores data in the wiki's own [MySQL](https://talira.ai/catalog/mysql-dy4scprm.md), [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md) or [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md) database, and can replicate it to an RDF triple store (Fuseki, Virtuoso, Blazegraph) for SPARQL or to [Elasticsearch](https://talira.ai/catalog/elasticsearch-5kvt1ns8.md) for faster and full-text queries. First released in 2005, it's GPL-2.0-or-later, installed with Composer, and has a family of spinoff extensions for forms and visualisations.

## Links

- Website: https://www.semantic-mediawiki.org/
- GitHub: https://github.com/SemanticMediaWiki/SemanticMediaWiki
- Docs: https://github.com/SemanticMediaWiki/SemanticMediaWiki/tree/master/docs

## Problems it solves

- turn our MediaWiki into a database we can query instead of maintaining lists by hand
- show a table on a wiki page of every project whose status is active, updated automatically as pages change
- add typed properties like dates, numbers and links to wiki pages and query them
- build an internal knowledge management system on the wiki software our editors already know
- export the structured data in our wiki as RDF for other systems to use
- connect our wiki to a SPARQL triple store such as Fuseki or Virtuoso
- run fast full-text and structured queries over a wiki with tens of thousands of pages using Elasticsearch
- aggregate infobox data from many wiki pages into charts, maps and calendars
- let a government department publish a structured knowledge base on open source wiki software
- query our wiki's data from other programs through an API
- keep a catalogue of research datasets, people and organisations as linked wiki pages

## Features

- semantic annotations: typed properties stored with wiki pages
- #ask query language with many result formats (tables, lists and more)
- RDF export of wiki data
- SQL store on MySQL, SQLite or PostgreSQL
- SPARQLStore connecting to RDF triple stores: Jena Fuseki, Virtuoso, Blazegraph, Sesame, 4store
- ElasticStore replicating data to Elasticsearch for full-text and scalable queries
- API for querying the wiki's data
- spinoff extensions for input forms and data visualisation
- interface translated into many languages
- installed with Composer; 7.4.x supports PHP 8.1 to 8.5 and MediaWiki 1.43.4 to 1.46

## Limitations

- Doesn't support Microsoft SQL Server or Oracle databases: it runs on MySQL, SQLite or PostgreSQL[^1]

## Capabilities

- Has an API: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.34 out of 1.
Signals: backing 0.20, extensibility 0.40.

- used by City of Vienna, Federal Chancellery of Austria, Austrian Academy of Sciences, City of Bonn
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [MediaWiki](https://talira.ai/catalog/mediawiki-x2xrvtp1.md)

## Alternatives

- [Wikibase](https://talira.ai/catalog/wikibase-3pcv5b89.md): Open-source software suite for creating collaborative knowledge bases

## Sources

[^1]: https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/COMPATIBILITY.md (checked 20 Nov 2026)
[^2]: https://github.com/SemanticMediaWiki/SemanticMediaWiki (checked 20 Nov 2026)
[^3]: https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/publiccode.yml (checked 20 Nov 2026)
[^4]: https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/COPYING (checked 20 Nov 2026)
[^5]: https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/INSTALL.md (checked 20 Nov 2026)
