Using Wikibase

From Wikidocumentaries
Revision as of 18:24, 25 December 2018 by Susanna Ånäs (talk | contribs) (Initial data import)
Jump to navigation Jump to search

We are struggling about the best way to proceed to launch the site.

Ideally we would store in Wikidocumentaries what Wikidata does not provide. Without federation of data between Wikibases in place, it is impossible to use Wikidata resources seamlessly. Described below is the ideal situation and the workarounds to get the site up.

Initial data import


  • No need to import anything initially. Wikidocumentaries would merge local properties with Wikidata properties, and local items with Wikidata items in searches, gadgets etc.


  • Import all properties from Wikidata
  • To reference items in Wikidata, it is possible to make a lookup in Wikidata and save the item locally with a reference to the Wikidata item

Anything below this line has not been updated

The site runs on a Wikibase, which stores a subset of Wikidata items. Wikidocumentaries will read Wikidata for new and changed info, and Wikidata will import data from Wikidocumentaries when it meets certain criteria.

Other data to store in the Wikibase are definitions of APIs in various repositories where Wikidocumentaries expects to find content. The technology of Wikidocumentaries is based on an experimental setup of using Wikidata data to create the backbone of the site information.

Using ShapeExpressions

  • The scope of automatically created item may at some point be defined as a Shape Expression, which will probably be stored in the Federated Wikibases registry. This definition can help add whole thematic areas at once in a coordinated manner.
  • The newly created items in Wikidocumentaries can be automatically imported to Wikidata, when they meet a certain criteria. This can also be expressed as a ShEx.


  • What can be a realistic schedule for deploying Shape Expressions?

Data modelling

  • Items and properties
  • Topics, APIs

Questions to solve about data modelling for Wikidocumentaries

  • What is created locally for a topic that has a corresponding item in Wikidata?
  • Is there a way we can use Wikidata properties for items LIVE, without needing to define them locally?
  • For values we would save the references
  • Kimmo: The Wikidox properties should be named differently from Wikidata properties. Possibly a different range. Susanna: Discussed in Antwerpen meeting - to be handled with a reference.

Creating topics in Wikibase

Page = item in Wikidata and/or Wikidocumentaries. Each topic in Wikidocumentaries has a page.

  • The initial set of topics in Wikidocumentaries are created by selecting a set of Wikidata items and creating them in Wikidocumentaries.
  • When the user navigates to a page that does not exist in Wikidocumentaries, but for which there is an item in Wikidata (through a link in Wikipedia text for example), the page is automatically created.
  • The user may create additional topics in Wikidocumentaries with a set of minimum required properties.

See more about Creating topics