Semantic Wikibase

Make Wikibase items and properties available in Semantic MediaWiki

On this page

External links

Semantic Wikibase for Wikibase

Use Wikibase data in your Semantic MediaWiki.

Allows you to get the best of both worlds. Data added in the form of Wikibase items and properties is automatically made available in Semantic Mediawiki (SMW). This means you can use it with all SMW functionality, such as embedded visualizations, autocompletion in forms, export in RDF/JSON/CSV/etc and more.

Professional Wiki created Semantic Wikibase. We are Wikibase developers that provide professional Wikibase software development and Wikibase hosting.

We thank Frans AL van der Horst for funding initial development.

Nutzungsdokumentation

Data part of Wikibase Items and properties gets translated to Semantic MediaWiki property value pairs.

Labels, descriptions, IDs, etc

Translated data in the form Wikibase datamodel element => SMW property name (SMW property type)

  • EntityId => Wikibase ID (Text)
  • Labels => Wikibase label (Monolingual text)
  • Descriptions => Wikibase description (Monolingual text)
  • Aliases => Wikibase alias (Monolingual text)

Statements

When a statement is translated, only the value of the "main snak" is stored in SMW.

The SMW property name is the ID of the Wikibase property, for instance P42. The label of the Wikibase property gets added as alias. This means both [[P42::+]] and [[Capital city::+]] are valid in SMW queries.

Deprecated statements are never translated. Normal statements are not translated if there are preferred statements. The SMW property type is based on the Wikibase property type. Only statements with a supported property type are translated.

Supported property types

Wikibase name (en) SMW name (en) Wikibase id SMW id
Commons media file Text commonsMedia _txt
External identifier External identifier external-id _eid
Geographic coordinates Geographic coordinates globe-coordinate _geo
Item Page wikibase-item _wpg
Monolingual text Monolingual text monolingualtext _mlt_rec
Point in time Date time _dat
Property Page wikibase-property _wpg
Quantity Subobject (Page + Record) quantity _wpg + _rec
String Text string _txt
URL URL url _uri

Currently not supported types:

  • Entity Schema (entity-schema)
  • Geographic shape (geo-shape)
  • Tabular Data (tabular-data)

Installation

Requirements

Load and enable

Load the extension using Composer:

COMPOSER=composer.local.json composer require --no-update professional-wiki/semantic-wikibase:*

Enable the extension by adding the following to your LocalSettings.php:

wfLoadExtension( 'SemanticWikibase' );

You can verify the installation by checking your wiki's Special:Version page.

Wikibase Hosting

Check out our tailored Wikibase hosting and Wikibase cloud hosting services.
Both include Semantic Wikibase and many other MediaWiki extensions.

Wikibase configuration section on the ProWiki Admin Panel

Weitere MediaWiki-Erweiterungen

View all our extensions

Professionelle MediaWiki-Dienstleistungen

MediaWiki services by the authors of Semantic Wikibase

Softwareentwicklung Symbol
Softwareentwicklung

Erzielen Sie hervorragende Ergebnisse mit erfahrenen MediaWiki-Entwicklern, die Erfahrung beim Entwickeln von MediaWiki-Erweiterungen und -Integrationen haben.

Theme-Entwicklung Symbol
Theme-Entwicklung

Lassen Sie Ihr Wiki großartig aussehen! Verwenden Sie ein erprobtes responsives MediaWiki-Theme oder lassen Sie uns ein individuelles MediaWiki-Skin für Sie erstellen.

MediaWiki-Hosting Symbol
MediaWiki-Hosting

Lassen Sie uns Ihr Wiki betreuen und hosten. Wir sind Experten für MediaWiki-Hosting und bieten Cloud-Hosting, dediziertes Hosting und Hosting vor Ort (On-Premises) an.

MediaWiki-Beratung Symbol
MediaWiki-Beratung

Steigern Sie Wert und Qualität Ihres Wikis, indem Sie unsere MediaWiki-Expertise nutzen. Von der Planung bis zur konkreten Implementierung haben wir alles im Griff.

MediaWiki-Migration Symbol
MediaWiki-Migration

Wechseln Sie sorglos zu einem neuen Hosting. Wir migrieren Ihr MediaWiki auf einen neuen Server, oder wir unterstützen Sie beim Umzug von einem anderen Wiki-System zu MediaWiki.

MediaWiki-Upgrades Symbol
MediaWiki-Upgrades

Wir sorgen dafür, dass Ihr MediaWiki auf dem neuesten Stand und geschützt bleibt. Wir bieten Wartung und Aktualisierung für MediaWiki, damit Ihr Wiki störungsfrei läuft.