SMW and Wikidata

Jump to: navigation, search

About Wikidata

The goal of Wikidata is to create a common data repository (something similar to Wikimedia Commons) where data can be shared among other Wikimedia projects and by/with third parties.

Differences between SMW and Wikidata

Figure 1: Semantic MediaWiki statement (property-value pair)
Figure 2: Wikidata statement / factual claim

The main use case of Wikidata (a centralised, multi-lingual site that serves as a data repository) is different from that of SMW (a data-enhanced MediaWiki), and this leads to a number of differences.

Central to a wikidata statement is that its factual claim is supported by reference(s) (source of the claim). For example, when SMW makes a claim about the population of Berlin it would only be annotated with Berlin has a population of 3,5 Mio (see Figure 1) where Wikidata would make an extended statement describing it as Berlin's population being 3,5 Mio as of 2011 according to the German statistical office (see Figure 2).

In summary

  • Every fact will also have an (optional) reference
  • Wikidata will also use more complex datatypes (e.g., since many text values can be translated).
  • Both Wikidata and SMW are still mostly based on property-value assignments, and Wikidata will have a Property namespace.
  • Complex structures in Wikidata could be captured in SMW using internal objects

Common denominators of SMW and Wikidata

Integration between SMW and Wikidata

Technical background

The software underlying Wikidata is called Wikibase. It consists of two extensions: Repository (where data is stored; this will run at and Client (that pulls data into other MediaWiki sites; this will run at Both extensions will be installable on MediaWiki sites to get Wikidata-like features there.

The user interface of Wikibase Repository will be based on input forms, a bit like a full-page, editable Factbox, but much more advanced, with a lot of support for entering values.

Query language

See also

A total of 7 contribution were made to concerning Wikidata:

Title Description Contributor Keywords Type Video
From graphs to tables The case for storing semantic data in tables instead of, or in addition to, graphs - for SMW/Cargo, Wikidata, and beyond Yaron Koren Cargo, Wikidata, templates Talk external link
Wikibase, the Software behind Wikidata Last year, Wikidata, the project that brings structured data to Wikipedia, was presented at SMWCon. This talk is all about Wikibase, the software behind Wikidata. Jeroen De Dauw Wikidata, Wikibase Talk external link
BlueForge Feature Matrix: Wikidata - An experience report This talk covers the experience made with Wikidata by "Hallo Welt! Medienwerkstatt GmbH". It's about why we chose it and what were the difficulties we had to deal with. Markus Glaser, Robert Vogel Wikidata, BlueForge, API Talk, Technical talk external link
State of Wikidata A quick look at what Wikidata has achieved so far and where it is going Lydia Pintscher Wikidata Talk external link
Hands-on session 3. Wikidata programming A tutorial showing you how to use Wikidata to enrich data in your wiki Daniel Kinzler, Tobias Gritschacher MediaWiki, Wikidata, API Tutorial
Using the Wikidata API An introduction to the Wikidata API Daniel Kinzler, Tobias Gritschacher MediaWiki, Wikidata, API Tutorial
Wikidata: Semantic Wikipedia Wikidata: Semantic Wikipedia Denny Vrandečić Wikidata Keynote external link

This page is a DRAFT!
The content of this page is incomplete and might contain errors.
You may consult this page which contains more credible information: SMW and Wikidata
This documentation page applies to all SMW versions from N/A to the most current version.

SMW and Wikidata en N/A