talira

Semantic MediaWiki

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

open sourceGPL-2.0-or-laterself-hostablefree

Semantic MediaWiki (SMW) is an extension to MediaWiki 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, SQLite or PostgreSQL database, and can replicate it to an RDF triple store (Fuseki, Virtuoso, Blazegraph) for SPARQL or to Elasticsearch 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.

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 PostgreSQL1

Capabilities

Has an APIplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Semantic MediaWiki does.

  1. Wikibase Open-source software suite for creating collaborative knowledge bases

Compare Semantic MediaWiki with the top 3