Difference between revisions of "Using Wikibase"

From Wikidocumentaries
Jump to navigation Jump to search
(Initial data import)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
We are struggling about the best way to proceed to launch the site.
+
THIS PAGE IS OUTDATED
  
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.
+
The site reads topics from Wikidata. It stores additional topics in the local Wikibase.
  
==Initial data import==
+
When federation with Wikibases becomes available, we can start using this technology. Local items will use Wikidata properties to define the local topics and link to either local or Wikidata items.
 +
 
 +
==Installing and updating Wikibase==
 +
 
 +
==MediaWiki Extensions needed==
 +
* Login stuff
 +
* VisualEditor
 +
* Citoid
 +
 
 +
==Local items and properties==
 +
 
 +
In addition to topics, Wikidocumentaries stores additional data:
 +
 
 +
* API definitions of various repositories where Wikidocumentaries expects to find content.
 +
* Image metadata for "saved" images
 +
* Collections data
 +
* Annotations
 +
* Local articles. Articles are created in different languages and linked to the Wikibase items as local articles.
 +
* Projects data. Users will publicly belong to the project
 +
* Institution data. An institution is a user like an individual, but we may want to distinguish between the requirements for persons and organisations. We need to find the right way of doing this.
 +
* User data will need to be stored partly openly on user-created public-facing pages, but for the personal data inside the system.
 +
 
 +
==Initial data import and input==
  
 
===Ideal===
 
===Ideal===
Line 16: Line 38:
 
Anything below this line has not been updated
 
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.
+
==Using ShapeExpressions==
 
 
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.
 
* Read [[Using Wikibase]]
 
 
 
===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 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.
 
* 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.
 +
* Similar approaches will be investigated about Structured Data on Commons
  
====Questions====
+
See more about [[Creating topics]]
* 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==
+
{{design-nav}}
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]]
 

Latest revision as of 12:32, 7 November 2021

THIS PAGE IS OUTDATED

The site reads topics from Wikidata. It stores additional topics in the local Wikibase.

When federation with Wikibases becomes available, we can start using this technology. Local items will use Wikidata properties to define the local topics and link to either local or Wikidata items.

Installing and updating Wikibase

MediaWiki Extensions needed

  • Login stuff
  • VisualEditor
  • Citoid

Local items and properties

In addition to topics, Wikidocumentaries stores additional data:

  • API definitions of various repositories where Wikidocumentaries expects to find content.
  • Image metadata for "saved" images
  • Collections data
  • Annotations
  • Local articles. Articles are created in different languages and linked to the Wikibase items as local articles.
  • Projects data. Users will publicly belong to the project
  • Institution data. An institution is a user like an individual, but we may want to distinguish between the requirements for persons and organisations. We need to find the right way of doing this.
  • User data will need to be stored partly openly on user-created public-facing pages, but for the personal data inside the system.

Initial data import and input

Ideal

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

Workaround

  • 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

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.
  • Similar approaches will be investigated about Structured Data on Commons

See more about Creating topics


Navigation

About Technology Design Content modules Tool pages Projects
Status

Wikidocumentaries blog

Wikidocumentaries demo

Phabricator project

Facebook group

GitHub repository

Translation in TranslateWiki

Wikidocumentaries Slack

Setting up dev environment

Resources

Translations

Languages

Using Wikibase

Federation with Wikidata

APIs

Linking

Media metadata

Properties to content

User registration

Licensing

Page types

Landing page

Search page

Topic page

User page

Organisation page

Project page

Tool page

Tasks

Components

Main toolbar and footer

Search

Topic page header

Content module

Dropdown

Modal

Icons

Active modules

Article

Family tree

Gallery

Historical map

Images

Image viewer

Infobox

Map

Module ideas

Audio/Video

Bibliography

Correspondence

Discussion

Graph

Name

Newspaper articles

Testimonials

Timeline

Visualizations

Wikidocumentary

3D

Visual editor

Query tool

QuickStatements

Open Refine

Creating topics

Uploading images

Geolocating tool

Metadata editor

Rectifying maps

Transcription

Annotation tool

Central Park Archives

Convent Quarter

Wikisource