2026.09.20
Semantic MediaWiki: A Queryable Knowledge Layer for MediaWiki
Semantic MediaWiki extends MediaWiki with structured data storage, querying, and Semantic Web publishing for teams building collaborative knowledge bases.
What it is for
Semantic MediaWiki (SMW) is a free, open-source extension for MediaWiki. It lets users store data in wiki pages and query that data. The project describes itself as a knowledge-management platform with query and export capabilities. For organizations already using MediaWiki but needing more structured content, SMW adds a semantic data layer rather than replacing the wiki experience.
Its purpose goes beyond searching pages. The project README states that data created with SMW can be published through the Semantic Web so that other systems can use it. This makes it relevant to knowledge bases, glossaries, project directories, and internal reference systems where entities need relationships, attributes need filtering, or structured information must be exposed to other software. The exact data model, query syntax, and export behavior still require design and documentation review; installing the extension alone does not create a ready-made knowledge graph.
Confirmed capabilities and suitable users
The confirmed core capabilities are storing data in wiki pages, querying it, and publishing it through the Semantic Web. GitHub topics also mention knowledge graphs, linked data, RDF, SPARQL, and result formats. Those topics should not be treated as a guarantee that every capability is automatically available in every deployment; administrators should verify each requirement against the documentation and compatibility information.
SMW is a reasonable fit for teams comfortable with MediaWiki administration, collaborative editing, and designing properties, categories, and queries. It can also suit organizations that want to retain wiki authoring while introducing structured data incrementally. Users who only need ordinary documentation, full-text search, or simple page collaboration may find semantic modeling adds unnecessary operational and editorial overhead.
Limitations before adoption
SMW is not a standalone application. It depends on MediaWiki and its dependencies, including PHP. Supported versions should be checked in the compatibility matrix rather than inferred from the project overview. The project recommends Composer for installation, and the 7.3.0 release notes warn that the source-code links do not include required dependencies. Downloading source code should therefore not be treated as obtaining a complete runnable package.
Documentation is split between the repository and the official project wiki, while the bundled documentation is described as minimal. Teams should budget time for installation, compatibility, user, and technical documentation, as well as for data modeling, query maintenance, and upgrade validation. The README states that the project is licensed under GNU GPL version 2 or later, but organizations still need to review obligations against their distribution model and compliance policies.
Deployment considerations
Before deployment, confirm the versions of the existing MediaWiki installation, PHP, database, and related extensions as a supported combination. Design the semantic model around actual query needs instead of adding properties indiscriminately. If semantic data will be exposed externally, define access boundaries, update procedures, and how downstream systems will consume it. The supplied sources provide no hardware, performance, or security conclusions, so those should not be assumed.
For maintenance, note that the repository contains submodules. The project uses GitHub Actions for continuous integration and provides Docker-based testing support. This can help developers build automated checks, but it does not remove the need for production acceptance testing. Before going live, validate upgrades, query results, import and export workflows, and permission settings on the target version.
Sources
Sources checked: 2026-09-20