talira

Wikibase

Open-source software suite for creating collaborative knowledge bases

open sourceGPL-2.0-or-laterself-hostablefree

Wikibase is the set of MediaWiki extensions that turns a wiki into a collaborative, multilingual store of structured data: items and properties with statements, qualifiers and references, originally built to run Wikidata. Data can be queried with SPARQL through a query service, linked to other Wikibases through federation and published as Linked Open Data. Wikimedia Deutschland develops it and offers two ways to run it: Wikibase Suite, a Docker Compose stack you host yourself, and Wikibase Cloud, a free hosted service with a simpler feature set. The software is GPL-2.0-or-later.

Problems it solves

  • build a multilingual database of people, places and works that volunteers can edit, the way Wikidata works
  • our museum wants to publish its collection as linked open data with a SPARQL endpoint
  • every fact in our research database needs qualifiers and a cited reference, not just a value
  • run our own instance of the software behind Wikidata for a digital humanities project
  • collaborative knowledge graph where labels and descriptions can be entered in many languages
  • bulk import thousands of records from a spreadsheet into a structured, editable data wiki
  • define our own properties and data model instead of a fixed schema for a community database
  • a library wants an editable authority file with a stable identifier for every entity
  • free hosted structured-data wiki for a small open knowledge project, no servers to run
  • link our curated dataset to Wikidata and other knowledge bases without copying their data
  • let contributors sign in with their Wikimedia accounts to edit our project's database
  • self-host a Wikidata-style knowledge base with Docker on a VPS, with TLS certificates handled
  • query our structured data with SPARQL from a web UI for researchers

Features

  • items and properties with statements, qualifiers and references
  • multilingual labels and descriptions
  • SPARQL query service with a web frontend
  • federation: reference data held in other Wikibases where it was created
  • QuickStatements for bulk import and editing
  • extends the MediaWiki Action API with Wikibase modules
  • Wikibase Client extension lets other wikis use the repository's data
  • Wikibase Suite: tested Docker Compose stack with MariaDB, OpenSearch, a job runner and Traefik for TLS
  • Wikibase Cloud: free hosting by Wikimedia Deutschland
  • bundled extensions in the Suite image include EntitySchema, OAuth, CirrusSearch and WikibaseLocalMedia

Limitations

  • Can't hide individual items or properties from users: Wikibase has no feature to restrict who sees particular items or properties1

Ways to run it

Wikibase Cloud

Hosted by Wikimedia Deutschland

free23

Only in this edition

  • hosting by Wikimedia Deutschland, on servers in Germany
  • a quick start for novice users

Not included

  • the customisation of self-hosted Wikibase Suite: a simpler feature set, and its extensions and templates differ from a Docker install123

You arrange

  • an imprint (legal notice) for your Wikibase, needed because it's hosted in Germany

Pricing

Wikibase Suite

You run it, GPL-2.0-or-later

free345

Only in this edition

  • a tested Docker Compose stack: Wikibase, job runner, MariaDB, OpenSearch, SPARQL query service and UI, QuickStatements and Traefik
  • full customisation for intermediate to expert users

You arrange

  • a public server with a public IP and SSH access: the Suite isn't meant for local installs
  • an x86 (AMD or Intel) machine with at least 8 GB RAM and 4 GB storage, Ubuntu recommended
  • a domain and a query subdomain with A records pointing at the server

Self-hosting docs Code

Capabilities

Has an APIplan not known

Alternatives

The same job

These do what Wikibase does.

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

Compare Wikibase with the top 3