Template:Sister projects overview content

Welcome to the {{{sisterportal}}} portal for discussing integration of {{{sisterproject}}} and Wikidata. This portal homepage serves as a beginner-friendly overview of Wikidata for the {{{sisterproject}}} community.

  • Following deployment, ways for all {{{contributors}}} to contribute will be listed at [[Special:MyLanguage/{{{sisterportal}}}/How to help|How to help]].
  • If you're active on {{{sisterproject}}}, please add yourself to the list of ambassadors on the [[Special:MyLanguage/{{{sisterportal}}}/Get involved|Get involved]] page.
  • For discussion of how Wikidata could support {{{sisterproject}}}, see [[Special:MyLanguage/{{{sisterportal}}}/Development|Project discussion & development]].
  • Relevant documentation and related links are available at [[Special:MyLanguage/{{{sisterportal}}}/Resources|Resources]].

Overview edit

What is Wikidata? edit

Wikidata is a free knowledge base that can be read and edited by both humans and machines. It does for data what Wikimedia Commons does for media files: it centralizes access to and management of structured data for the various projects that are part of the Wikimedia Foundation family. This means that similar content in different languages, mappings and links between sites, and other elements that are useful to multiple projects only need to be recorded and maintained once, rather than in each of the hundreds of projects.

Structured data also means that content can be organized and stored in a defined way, often in order to encode meaning and preserve relationships between different items. It allows machines to 'read', understand, and process information and, in doing so, opens up a lot of exciting ways for data to be used and re-used!

Wikidata will provide structure for all the knowledge stored in its sister projects including {{{sisterproject}}}.

Understanding Wikidata edit

Instead of pages (the main type of content for most wikis), Wikidata is made up of items. Items are used to represent all the things in human knowledge, including topics, concepts, and objects. For example, the 1988 Summer Olympics, love, Elvis Presley, and gorilla are all items in Wikidata. Each item also has a unique identifier (starting with a Q prefix) and its own page in the Wikidata main namespace. For example, for the items listed above, 1988 Summer Olympics (Q8470), love (Q316), Elvis Presley (Q303) and Gorilla (Q36611) are the respective item pages. These pages are where all the data for each item is added, edited, and maintained, including links to other Wikimedia project sites (these are known as sitelinks or interwiki links).

Each page has four sections:

  • At the top is the Label, the Description and any aliases. You will see these in your selected language but Wikidata also has these in other languages. If you have Babel Box in your User page then you will see the label, description and aliases in the languages you have listed there.
  • The next section of the item page are the statements. Each of these starts with a property. This followed by an value which will have one of the following datatypes;- an item, a date, a text string, a monolingual text, or a number (which may have units) . These values can have qualifiers - additional statements each with a property and an value - and a reference - statements describing where the main statement can be confirmed. Some times a property has two or more values each of which can have qualifiers and references.
  • Next come the external identifiers, special forms of statements like the above, but supplying identifiers used in other databases (with links where possible).
  • The next section of the page groups sitelinks. Links to the one page on each wiki which deals with the topic of this item. These sitelinks are used by various Wikimedia projects to create language links on the corresponding wiki pages. These links are also used to identify the item from which the wiki page can import statement info, for example to fill infoboxes.

This means that when it comes to capturing and collecting {{{sisterproject}}} data, each {{{maincontent}}}, for example, can be linked to an item on Wikidata, which in turn would then link out to every page for, corresponding to, or about that {{{maincontent}}} on any other Wikimedia project via sitelinks; the item page would also list data statements with facts related to the {{{maincontent}}} (like "{{{property1}}}", "{{{property2}}}", etc.). For example, one such {{{maincontent}}} item page could be {{{qexample}}}.

Similar to items, statement properties are referenced with unique identifiers starting with a P (instead of a Q); for example, "{{{property1}}}" would be represented by {{{pexample}}}.

What does this mean? edit

Wikidata already holds data in many languages that can be re-used on multiple sister projects, and new data is constantly being added. Wikidata also enables content in sister projects to be enriched with additional facts and information (stored as data statements on item pages).

The choice to use this data is left entirely to the {{{sisterproject}}} community—future changes to the wiki software will only provide an option to retrieve information from Wikidata if desired.

Wikidata also offers sister projects the ability to manage sitelinks (aka as interwiki links) in one, centralized place. For all sister projects, sitelinks serve as a replacement for a previous system of interlanguage links that was used to link from a page in one language on {{{sisterproject}}} to an equivalent page in another language, for example the {{{sitelink1}}} to the {{{sitelink2}}}. These interlanguage links used to be stored locally on each {{{sisterproject}}} page in the wikitext and maintained separately in each language so that if the name of a page changed or was moved, then pages in each language would need to have their links updated to reflect the changes. Sitelinks thereby improve upon this system by having everything stored and managed in Wikidata from an item page, in this case {{{sitelinkq}}}.

It is still possible, however, to keep the links in the wikitext and completely suppress all Wikidata links by using the magicword {{noexternallanglinks}} if desired. The magic word also supports suppression of only specific languages, in the form of {{noexternallanglinks:es|fr|it}} which would suppress only the Spanish, French, and Italian links.

Documentation icon Template documentation[view · edit · history · purge ] [translate this template]

Template usage edit

Please use {{Wikidata:Sister projects content}} for all Wikidata sister project portals. The template should be added to the overview page.

Template documentation edit

Parameters for the template are as follows:

  • sisterportal = sister project portal, e.g. Wikidata:Wikisource
  • tab1 (through tab4) = link to tab of sister project page, e.g. How to help
  • sisterproject = name of sister project, e.g. Wikisource
  • maincontent = typically the type of content most commonly found in the main namespace of the sister project, e.g. article (for Wikipedia)
  • property1 = name of property commonly used for maincontent, e.g. date of birth
  • property2 = another name of property, e.g. native language
  • qexample = example of Wikidata item for maincontent of the sister project, e.g. Douglas Adams (Q42)
  • pexample = example of Wikidata property for maincontent of the sister project, e.g. date of birth (P569)
  • sitelink1 = link to one language for a page on sister project, e.g. English Wikisource page on The Curse of Minerva
  • sitelink2 = link to different language for same page on sister project, e.g. French Wikisource page La Malédiction de Minerve
  • sitelinkq = example of item where sitelinks are hosted on Wikidata, e.g. The Curse of Minerva (Q15891516)

Note that it is possible to use only chunks of the template too. This is recommended when first creating a sister project portal page as the full template content may not apply pre-deployment. Content is available at:

Example of template with parameters edit

{{Wikidata:Sister projects content|sisterportal=Wikidata:Wikisource|tab1='''[[Wikidata:Wikisource/How_to_help|How to help]]'''|tab2='''[[Wikidata:Wikisource/Get_involved|Get involved]]'''|tab3='''[[Wikidata:Wikisource/Development|Project discussion & development]]'''|tab4='''[[Wikidata:Wikisource/Resources|Resources]]'''|sisterproject=Wikisource|maincontent=author|property1=date of birth|property2=native language|qexample={{Q|42}}|pexample={{P|569}}|sitelink1=[[s:The_Curse_of_Minerva|English Wikisource page on ''The Curse of Minerva'']]|sitelink2=[[s:fr:La_Malédiction_de_Minerve|French Wikisource page ''La Malédiction de Minerve'']]|sitelinkq={{Q|15891516}}}}

Example of template result edit

Welcome to the Wikidata:Wikisource portal for discussing integration of Wikisource and Wikidata. This portal homepage serves as a beginner-friendly overview of Wikidata for the Wikisource community.

  • Following deployment, ways for all {{{contributors}}} to contribute will be listed at How to help.
  • If you're active on Wikisource, please add yourself to the list of ambassadors on the Get involved page.
  • For discussion of how Wikidata could support Wikisource, see Project discussion & development.
  • Relevant documentation and related links are available at Resources.

Overview edit

What is Wikidata? edit

Wikidata is a free knowledge base that can be read and edited by both humans and machines. It does for data what Wikimedia Commons does for media files: it centralizes access to and management of structured data for the various projects that are part of the Wikimedia Foundation family. This means that similar content in different languages, mappings and links between sites, and other elements that are useful to multiple projects only need to be recorded and maintained once, rather than in each of the hundreds of projects.

Structured data also means that content can be organized and stored in a defined way, often in order to encode meaning and preserve relationships between different items. It allows machines to 'read', understand, and process information and, in doing so, opens up a lot of exciting ways for data to be used and re-used!

Wikidata will provide structure for all the knowledge stored in its sister projects including Wikisource.

Understanding Wikidata edit

Instead of pages (the main type of content for most wikis), Wikidata is made up of items. Items are used to represent all the things in human knowledge, including topics, concepts, and objects. For example, the 1988 Summer Olympics, love, Elvis Presley, and gorilla are all items in Wikidata. Each item also has a unique identifier (starting with a Q prefix) and its own page in the Wikidata main namespace. For example, for the items listed above, 1988 Summer Olympics (Q8470), love (Q316), Elvis Presley (Q303) and Gorilla (Q36611) are the respective item pages. These pages are where all the data for each item is added, edited, and maintained, including links to other Wikimedia project sites (these are known as sitelinks or interwiki links).

Each page has four sections:

  • At the top is the Label, the Description and any aliases. You will see these in your selected language but Wikidata also has these in other languages. If you have Babel Box in your User page then you will see the label, description and aliases in the languages you have listed there.
  • The next section of the item page are the statements. Each of these starts with a property. This followed by an value which will have one of the following datatypes;- an item, a date, a text string, a monolingual text, or a number (which may have units) . These values can have qualifiers - additional statements each with a property and an value - and a reference - statements describing where the main statement can be confirmed. Some times a property has two or more values each of which can have qualifiers and references.
  • Next come the external identifiers, special forms of statements like the above, but supplying identifiers used in other databases (with links where possible).
  • The next section of the page groups sitelinks. Links to the one page on each wiki which deals with the topic of this item. These sitelinks are used by various Wikimedia projects to create language links on the corresponding wiki pages. These links are also used to identify the item from which the wiki page can import statement info, for example to fill infoboxes.

This means that when it comes to capturing and collecting Wikisource data, each author, for example, can be linked to an item on Wikidata, which in turn would then link out to every page for, corresponding to, or about that author on any other Wikimedia project via sitelinks; the item page would also list data statements with facts related to the author (like "date of birth", "native language", etc.). For example, one such author item page could be Douglas Adams (Q42).

Similar to items, statement properties are referenced with unique identifiers starting with a P (instead of a Q); for example, "date of birth" would be represented by date of birth (P569).

What does this mean? edit

Wikidata already holds data in many languages that can be re-used on multiple sister projects, and new data is constantly being added. Wikidata also enables content in sister projects to be enriched with additional facts and information (stored as data statements on item pages).

The choice to use this data is left entirely to the Wikisource community—future changes to the wiki software will only provide an option to retrieve information from Wikidata if desired.

Wikidata also offers sister projects the ability to manage sitelinks (aka as interwiki links) in one, centralized place. For all sister projects, sitelinks serve as a replacement for a previous system of interlanguage links that was used to link from a page in one language on Wikisource to an equivalent page in another language, for example the English Wikisource page on The Curse of Minerva to the French Wikisource page La Malédiction de Minerve. These interlanguage links used to be stored locally on each Wikisource page in the wikitext and maintained separately in each language so that if the name of a page changed or was moved, then pages in each language would need to have their links updated to reflect the changes. Sitelinks thereby improve upon this system by having everything stored and managed in Wikidata from an item page, in this case The Curse of Minerva (Q15891516).

It is still possible, however, to keep the links in the wikitext and completely suppress all Wikidata links by using the magicword {{noexternallanglinks}} if desired. The magic word also supports suppression of only specific languages, in the form of {{noexternallanglinks:es|fr|it}} which would suppress only the Spanish, French, and Italian links.