PHPackages                             mediawiki/semantic-media-wiki - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. mediawiki/semantic-media-wiki

ActiveMediawiki-extension[Database &amp; ORM](/categories/database)

mediawiki/semantic-media-wiki
=============================

An extension to MediaWiki that lets you store and query structured data within wiki pages

6.0.1(8mo ago)586361.8k↑100.6%251[198 issues](https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues)[26 PRs](https://github.com/SemanticMediaWiki/SemanticMediaWiki/pulls)20GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since Nov 5Pushed 1mo ago48 watchersCompare

[ Source](https://github.com/SemanticMediaWiki/SemanticMediaWiki)[ Packagist](https://packagist.org/packages/mediawiki/semantic-media-wiki)[ Docs](https://www.semantic-mediawiki.org/wiki/)[ Fund](https://www.semantic-mediawiki.org/wiki/Sponsorship)[ Fund](https://opencollective.com/smw)[ RSS](/packages/mediawiki-semantic-media-wiki/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (24)Versions (256)Used By (20)Security (1)

Semantic MediaWiki
==================

[](#semantic-mediawiki)

[![CI](https://github.com/SemanticMediaWiki/SemanticMediaWiki/actions/workflows/main.yml/badge.svg)](https://github.com/SemanticMediaWiki/SemanticMediaWiki/actions/workflows/main.yml)[![Latest Stable Version](https://camo.githubusercontent.com/cae39692050eeed77e378c8c72f0e4acc730483ce185dd28a69d02ed680f2f51/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f73656d616e7469632d6d656469612d77696b692f762f737461626c65)](https://packagist.org/packages/mediawiki/semantic-media-wiki)[![Download count](https://camo.githubusercontent.com/e4312f8500d8cea90a8b1473fa252ab2097f2c6a243731fb8be4011e211ad22e/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f73656d616e7469632d6d656469612d77696b692f646f776e6c6f616473)](https://packagist.org/packages/mediawiki/semantic-media-wiki)[![codecov](https://camo.githubusercontent.com/3241c3121494d3f8c86b7092a7c01fb38cea3801d3091ec1ce10a4a2811811bd/68747470733a2f2f636f6465636f762e696f2f67682f53656d616e7469634d6564696157696b692f53656d616e7469634d6564696157696b692f67726170682f62616467652e7376673f746f6b656e3d796c3147564c7752776f)](https://codecov.io/gh/SemanticMediaWiki/SemanticMediaWiki)[![License](https://camo.githubusercontent.com/6194f3a82f7bf3e345177e3be60104cf31b321998abb83d35b31092e4a1f3dc8/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f73656d616e7469632d6d656469612d77696b692f6c6963656e7365)](COPYING)

**Semantic MediaWiki** (a.k.a. SMW) is a free, open-source extension to [MediaWiki](https://www.semantic-mediawiki.org/wiki/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 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](https://www.semantic-mediawiki.org/wiki/Semantic_Web), allowing other systems to use this data seamlessly.

For a better understanding of how Semantic MediaWiki works, have a look at [deployed in 5 min](https://vimeo.com/82255034)and the [Sesame](https://vimeo.com/126392433), [Fuseki ](https://vimeo.com/118614078) triplestore video, or browse the [wiki](https://www.semantic-mediawiki.org) for a more comprehensive introduction.

Requirements
------------

[](#requirements)

Semantic MediaWiki requires MediaWiki and its dependencies, such as PHP. For supported versions, see the [compatibility matrix](docs/COMPATIBILITY.md).

Installation
------------

[](#installation)

The recommended way to install Semantic MediaWiki is by using [Composer](https://getcomposer.org/). See the detailed [installation guide](docs/INSTALL.md) as well as the information on [compatibility](docs/COMPATIBILITY.md).

Documentation
-------------

[](#documentation)

Most of the documentation can be found on the [Semantic MediaWiki wiki](https://www.semantic-mediawiki.org). A small core of documentation also comes bundled with the software itself. This documentation is minimalistic and less explanatory than what can be found on the SMW wiki. However, It is always kept up to date and applies to the version of the code it bundles with. The most critical files are linked below.

- [User documentation](docs/README.md)
- [Technical documentation](docs/technical/README.md)
- [Hacking Semantic MediaWiki](docs/architecture/README.md)

Support
-------

[](#support)

[![Chatroom](https://camo.githubusercontent.com/29766a8cb482408a70235f475a9905809d2489fd300787c05f0506ebbb0a9d21/68747470733a2f2f7777772e73656d616e7469632d6d6564696177696b692e6f72672f772f7468756d622e7068703f663d436f6d6d656e742d616c742d736f6c69642e7376672677696474683d3335)](https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki_chatroom)[![Twitter](https://camo.githubusercontent.com/f6c5567f5b3665f0db3f69a250ad3b65841d5a459266fb12fa9878b6ccd24d94/68747470733a2f2f7777772e73656d616e7469632d6d6564696177696b692e6f72672f772f7468756d622e7068703f663d547769747465722d7371756172652e7376672677696474683d3335)](https://twitter.com/#!/semanticmw)[![Facebook](https://camo.githubusercontent.com/b136b44437e19772a6bed534b3e441d3bc123e61007398a7d79c66637c22318c/68747470733a2f2f7777772e73656d616e7469632d6d6564696177696b692e6f72672f772f7468756d622e7068703f663d46616365626f6f6b2d7371756172652e7376672677696474683d3335)](https://www.facebook.com/pages/Semantic-MediaWiki/160459700707245)[![LinkedIn](https://camo.githubusercontent.com/053d9c125b0e7ea824613637b728402384d2d6993514bb248afa0a9c4ac33283/68747470733a2f2f7777772e73656d616e7469632d6d6564696177696b692e6f72672f772f7468756d622e7068703f663d4c696e6b6564496e2d7371756172652e7376672677696474683d3335)](https://camo.githubusercontent.com/053d9c125b0e7ea824613637b728402384d2d6993514bb248afa0a9c4ac33283/68747470733a2f2f7777772e73656d616e7469632d6d6564696177696b692e6f72672f772f7468756d622e7068703f663d4c696e6b6564496e2d7371756172652e7376672677696474683d3335)[![YouTube](https://camo.githubusercontent.com/777a881d50979c65c18c2fc4899eac1b8e1d78db7c7475b65b01f785911919f8/68747470733a2f2f7777772e73656d616e7469632d6d6564696177696b692e6f72672f772f7468756d622e7068703f663d596f75747562652d7371756172652e7376672677696474683d3335)](https://www.youtube.com/c/semanticmediawiki)[![Mailing lists](https://camo.githubusercontent.com/8d109f5e80715218eb5bc494351abab7352636021d3211d61a7518a1850af976/68747470733a2f2f7777772e73656d616e7469632d6d6564696177696b692e6f72672f772f7468756d622e7068703f663d456e76656c6f70652d7371756172652e7376672677696474683d3335)](https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki_mailing_lists)

Primary support channels:

- [User mailing list](https://sourceforge.net/projects/semediawiki/lists/semediawiki-user) - for user questions
- [SMW chat room](https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki_chatroom) - for questions and developer discussions
- [Issue tracker](https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues) - for bug reports

Contributing
------------

[](#contributing)

Many people have contributed to SMW. A list of people who have made contributions in the past can be found [here](https://github.com/SemanticMediaWiki/SemanticMediaWiki/graphs/contributors) or on the [wiki for Semantic MediaWiki](https://www.semantic-mediawiki.org/wiki/Help:SMW_Project#Contributors). The overview on [how to contribute](https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/CONTRIBUTING.md)provides information on the different ways available to do so.

If you want to contribute work to the project, please subscribe to the developer's mailing list and have a look at the contribution guidelines.

- [File an issue](https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues)
- [Submit a pull request](https://github.com/SemanticMediaWiki/SemanticMediaWiki/pulls)
- Ask a question on [the mailing list](https://www.semantic-mediawiki.org/wiki/Mailing_list)

Tests
-----

[](#tests)

This extension is tested using [GitHub Actions for Continuous Integration (CI)](https://github.com/SemanticMediaWiki/SemanticMediaWiki/actions). Each time changes are pushed to the repository, GitHub Actions automatically runs a series of tests to ensure the code remains reliable and functional.

> **INFO**: This repository contains submodules. Make sure to clone with `--recursive` option in Git.
>
> ```
> git clone --recursive
>
> ```
>
>
>
> If not done when cloning, it can be done by
>
> ```
> git submodule init
> git submodule update
>
> ```

### Step 1: Clone the Repository

[](#step-1-clone-the-repository)

### Step 2: Ensure test container is running

[](#step-2-ensure-test-container-is-running)

This repository supports ["docker-compose-ci" based CI and testing for MediaWiki extensions](https://github.com/gesinn-it-pub/docker-compose-ci).

The "docker-compose-ci" repository has already been integrated into the Semantic MediaWiki repository as a Git submodule. It uses "Make" as main entry point and command line interface.

Ensure, you have `Make` and `Docker` installed:

```
make --version
docker --version

```

### Step 3: Run lint, phpcs and tests

[](#step-3-run-lint-phpcs-and-tests)

```
make ci

```

For more information about

- docker-compose-ci, see
- tests in Semantic MediaWiki in general, see the [test documentation](/tests/README.md#running-tests).

License
-------

[](#license)

[GNU General Public License, version 2 or later](https://www.gnu.org/copyleft/gpl.html). The COPYING file explains SMW's copyright and license.

###  Health Score

70

—

ExcellentBetter than 100% of packages

Maintenance69

Regular maintenance activity

Popularity59

Moderate usage in the ecosystem

Community49

Growing community involvement

Maturity91

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~52 days

Recently: every ~33 days

Total

83

Last Release

266d ago

Major Versions

1.9.2 → 2.0-RC12014-07-21

2.5.x-dev → 3.0.0-rc.12018-09-22

3.2.3 → 4.0.02022-01-18

4.2.0 → 5.0.02025-03-10

5.1.0 → 6.0.02025-08-12

PHP version history (8 changes)1.9beta1PHP &gt;=5.3.0

2.5.0-rc.1PHP &gt;=5.5.0

3.0.0-rc.1PHP &gt;=5.6.0

3.1.0-rc.1PHP &gt;=7.0

3.2.0-rc.2PHP &gt;=7.1

4.0.0PHP &gt;=7.3

4.1.0PHP &gt;=7.4

5.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/451bd4039d530fed8f9c3da91bfa519233a397d2182cdfdcad700f6cfea19b7f?d=identicon)[Jeroen De Dauw](/maintainers/Jeroen%20De%20Dauw)

![](https://avatars.githubusercontent.com/u/22235?v=4)[Stefan Wasilewski](/maintainers/SMW)[@smw](https://github.com/smw)

![](https://avatars.githubusercontent.com/u/1104078?v=4)[Karsten Hoffmeyer](/maintainers/kghbln)[@kghbln](https://github.com/kghbln)

---

Top Contributors

[![mwjames](https://avatars.githubusercontent.com/u/1245473?v=4)](https://github.com/mwjames "mwjames (5385 commits)")[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (2269 commits)")[![translatewiki](https://avatars.githubusercontent.com/u/24829418?v=4)](https://github.com/translatewiki "translatewiki (1574 commits)")[![kghbln](https://avatars.githubusercontent.com/u/1104078?v=4)](https://github.com/kghbln "kghbln (455 commits)")[![paladox](https://avatars.githubusercontent.com/u/5727000?v=4)](https://github.com/paladox "paladox (324 commits)")[![alistair3149](https://avatars.githubusercontent.com/u/9260542?v=4)](https://github.com/alistair3149 "alistair3149 (148 commits)")[![mkroetzsch](https://avatars.githubusercontent.com/u/110881?v=4)](https://github.com/mkroetzsch "mkroetzsch (106 commits)")[![hexmode](https://avatars.githubusercontent.com/u/43581?v=4)](https://github.com/hexmode "hexmode (76 commits)")[![Nikerabbit](https://avatars.githubusercontent.com/u/1109395?v=4)](https://github.com/Nikerabbit "Nikerabbit (67 commits)")[![Abijeet](https://avatars.githubusercontent.com/u/1685517?v=4)](https://github.com/Abijeet "Abijeet (62 commits)")[![nischayn22](https://avatars.githubusercontent.com/u/603302?v=4)](https://github.com/nischayn22 "nischayn22 (51 commits)")[![malberts](https://avatars.githubusercontent.com/u/1428594?v=4)](https://github.com/malberts "malberts (48 commits)")[![marijnvanwezel](https://avatars.githubusercontent.com/u/96489967?v=4)](https://github.com/marijnvanwezel "marijnvanwezel (36 commits)")[![Seb35](https://avatars.githubusercontent.com/u/772681?v=4)](https://github.com/Seb35 "Seb35 (34 commits)")[![reedy](https://avatars.githubusercontent.com/u/67615?v=4)](https://github.com/reedy "reedy (32 commits)")[![gesinn-it-gea](https://avatars.githubusercontent.com/u/10398316?v=4)](https://github.com/gesinn-it-gea "gesinn-it-gea (32 commits)")[![s7eph4n](https://avatars.githubusercontent.com/u/2829850?v=4)](https://github.com/s7eph4n "s7eph4n (31 commits)")[![gesinn-it-ilm](https://avatars.githubusercontent.com/u/169881483?v=4)](https://github.com/gesinn-it-ilm "gesinn-it-ilm (29 commits)")[![siebrand](https://avatars.githubusercontent.com/u/210297?v=4)](https://github.com/siebrand "siebrand (27 commits)")[![krabina](https://avatars.githubusercontent.com/u/4318745?v=4)](https://github.com/krabina "krabina (26 commits)")

---

Tags

collaborationdatabaseknowledge-graphknowledge-managementlinked-datalodmediawikimediawiki-extensionqueryrdfresult-formatsemanticsemantic-datasemantic-mediawikisemantic-websmwsparqlwikiwiki-databasemediawikiwikiSMWSemantic MediaWiki

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/mediawiki-semantic-media-wiki/health.svg)

```
[![Health](https://phpackages.com/badges/mediawiki-semantic-media-wiki/health.svg)](https://phpackages.com/packages/mediawiki-semantic-media-wiki)
```

###  Alternatives

[mediawiki/semantic-cite

A Semantic MediaWiki extension to manage citation resources.

2310.2k1](/packages/mediawiki-semantic-cite)[mediawiki/semantic-result-formats

Provides additional result formats for queries using Semantic MediaWiki

51180.7k1](/packages/mediawiki-semantic-result-formats)[mediawiki/maps

Adds various mapping features to MediaWiki

84145.0k3](/packages/mediawiki-maps)[mediawiki/semantic-extra-special-properties

Provides extra special properties for Semantic MediaWiki

3074.6k1](/packages/mediawiki-semantic-extra-special-properties)[mediawiki/semantic-scribunto

A Semantic Mediawiki extension to natively support the Scribunto extension

2967.5k](/packages/mediawiki-semantic-scribunto)[mediawiki/semantic-breadcrumb-links

An extension to Semantic MediaWiki allowing to build breadcrumb links from an attributive property filter

1921.8k](/packages/mediawiki-semantic-breadcrumb-links)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
