维基数据:维基文库
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 维基文库贡献者 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
What is Wikidata?
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.
了解维基数据
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).
每个页面都有四个板块:
- 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.
这意味着,在捕获和收集Wikisource数据时,每个author都可以链接到维基数据上的项目,然后通过附加链接链接到任何其他维基媒体项目的author的每个页面,对应或关于author;项目页面还会列出数据语句,其中包含与author相关的事实(例如“date of birth”、“native language “等等。例如,一个此类author项目页面可以是Douglas Adams (Q42)。
和条目一样,properties声明的唯一标识符也由P而非Q开头。例如,date of birth (P569)就代表“date of birth”
What does this mean?
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. 过去对于每个姊妹项目,跨语言链接把Wikisource上一种语言的页面链接到另一种语言的相应页。现在例如英语维基文库页面“The Curse of Minerva”到法语维基文库页面“La Malédiction de Minerve”的站点链接取代了跨语言链接。跨语言链接要存储在每个Wikisource页面中的维基文本内,每种语言分别维护。因此,如果一个页面更名或移动,每种语言页面的跨语言链接都要更新。站点链接系统对此作了改善,它将所有信息存储在维基数据的条目上,在这个例子中是The Curse of Minerva (Q15891516)。
不过,现在仍然可以保留维基文本内的链接。如有需要,用{{noexternallanglinks}}
符号可以全面覆盖维基数据链接。它也支持对特定语言的覆盖。如{{noexternallanglinks:es|fr|it}}
仅针对西班牙语、法语、意大利语链接。