Shortcut: WD:ITEMS, w.wiki/Q

幫助:數據項

From Wikidata
Jump to navigation Jump to search
This page is a translated version of the page Help:Items and the translation is 82% complete.

維基數據歡迎您!很高興你想要了解如何編輯維基數據。與維基百科相同,維基數據同樣架構於MediaWiki 軟體,因此任何頁面皆可被加入、更改或刪除,你就可以。但與維基百科不同的是我們亦使用Wikibase 軟體使我們能夠有效存檔結構化數據。如果你有任何建設性的想法,請直接編輯。

了解項

項和其數據相互關聯

在維基數據中,被用來代表人類知識中,包括主題、概念和對象的所有「東西」。例如,「1988年夏季奧林匹克運動會」、「愛」、「貓王」和「大猩猩」都是維基數據的項。

熟悉維基百科的人,起初可能會把「項」當作百科文章的維基數據版。「項」和「文章」都是存貯人類知識中概念和話題的頁面,但應隨時銘記,維基數據不僅僅是一個維基百科內容的數據庫。實際上,比起維基百科,維基數據更像是維基共享資源,一個維基多媒體文件的資源庫,但這一次並不是多媒體文件,維基數據為所有的維基媒體項目的結構化數據接入調用提供集中存儲,同時也服務於外部網站的調用。

維基數據中合格的「項」有幾個重要的特徵:

有關注度的項

維基數據的項應具有關注度。這意味着要符合以下三種情況之一:

  • 在任意維基媒體網站上有對應的頁面,如維基百科、維基導遊、維基文庫、維基語錄、維基學院或維基共享資源;
  • 是一個可清晰識別的概念或材料實體,可以用重要且公開可用的參考資料來描述,或者
  • 項滿足結構化的需要。更多信息請參見我們的關注度方針

獨一無二的項

項是獨一無二的。每個項都應該清晰地定義一個概念或者事物,或者一個清晰可識別的概念或事物的實例。比如,在維基數據,我們可以使項既是planet (Q634)的概念,又是星球的實例,Earth (Q2)

鏈接項

每一個項都可以互相連接,並且應該互相連接。每一個項都有獨一無二的標識符(由前綴Q開頭),以及在維基數據主名字空間的自己的頁面。比如,對於上面列出來的項,1988 Summer Olympics (Q8470)love (Q316)Elvis Presley (Q303)Gorilla (Q36611)都是不同的項頁面。這些頁面,就是每一個項加入、編輯、維護的提防,大多數是以聲明的形式。

頁面也允許項互相連接,所以維基數據的所有數據都可以互相連接。通往其他頁面的連接通常是以「屬性(property)」的形式連接,通過點擊「聲明(statements)」段落的「編輯」按鈕。如果沒有列舉適當的項,可以通過點擊「聲明」段落底部的「+ 添加」來添加。參見#Adding to an existing item page

將一個項典型屬性與另一個項連起來的典型屬性:

示例

  1. Albert Einstein's brain (Q2464312)part of (P361)Albert Einstein (Q937)
  2. Albert Einstein (Q937)instance of (P31)human (Q5)
  3. human (Q5)subclass of (P279)mammal (Q7377)
  4. mammal (Q7377)has part(s) (P527)mammary gland (Q189961)

通常可以將「作品頁面」以外與項目相關發出加入上述前綴「Q|」到項目編號,其中作為他燙括號,例如:{{Q|8470}}1988 Summer Olympics (Q8470)

創建新項

在左邊的菜單中選擇「創建一個新項目」來創建一個新項目
輸入新項目的標籤和說明
編輯項「瑪麗·居里」
加入站點連接

編輯維基數據項目的基礎知識分步指南:維基數據:旅行

在您為一個「項」創建頁面前,最好確認一下維基數據中是否存在你想創建的「項」對應的頁面,最好的方式是使用按標題搜索項進行搜索,搜索鏈接在屏幕左上角。它的標題是「$byTitle」。

項(按標題)搜索頁面有兩個輸入字段,其設計用於搜索已經有一個維基媒體網站頁面,並已列入維基數據系統的項。左邊字段叫「Site:」,這裡您可以輸入對應您要添加項的維基媒體網站頁面的語言。大多數維基媒體網站對不同語言(以代碼代表)有等價版本。例如英語是en,而法語則是fr。這個代碼可以在URL找到;這樣en.wiktionary.org是英語維基詞典、en.wikipedia.org是英語維基百科、fr.wiktionary.org是法語維基詞典、以及fr.wikipedia.org是法語維基百科。顯示定位維基媒體網站語言代碼的截圖可在此找到。

第二個字段「Page:」,您必須輸入「準確的」頁面標題,這顯示在維基媒體網站的頁面頂部。這對於檢索正確項是重要的,因為可能有多個維基數據上的項存在相同標籤。例如,如果您希望了解是否有一個維基數據上用於首都的項(關於非財政事務的概念),您必須搜索「資本」——這是維基百科上的頁面標題——而不是「首都」因為這可能把您帶到有關首都的消歧義頁

當維基數據已經有一個對應項的話,搜索將把您帶到那個頁面。

如果一個數據項缺失,你可以創建它。你可以點擊按標題搜索項或使用在屏幕左邊菜單的「Create a new Item」頁面來完成操作。從任一鏈接,你會進入一個頁面然後會問你是否為標籤描述創建新的入口。如果你使用按標題搜索項,界面會有兩個讓你在搜索時輸入關鍵詞的輸入框。如果你使用創建一個新數據項,不用擔心沒有這些。填寫所有文本框,當你完成後點擊「Create」。

添加到既有項頁面

除了標籤描述之外,對於一個項頁面還有兩個需要被填充的元素是別名網站鏈接。項目頁面的這四個元素是多語言的,這意味着它們被貢獻者顯示並輸入特定的語言。 這也意味着他們(通常)會為每種語言設定不同的值。 也可以用多種語言添加和查看這些元素(如果您能夠流利地使用多種語言,則可能需要執行這些操作); 有關在維基數據上設置語言首選項的信息,請參閱Help:多語言

A label is the most common name that an item would be known by. Labels are added to the text fields at the top of an item page to the "Label" column. Click "edit", type in the label, and click "publish". A description is a short phrase designed to disambiguate the page in question from other pages with the same or similar labels. Descriptions are added in the same way as labels, to the "Description" column. See Help:Label and Help:Description for more on using labels and descriptions.

You can add aliases by clicking the "edit" button at the top of an item page to the "Also known as" column. You will be able to insert the first alias into the field, at which point a second field will appear. Keep filling in aliases until you have no more alternate names to add, then click "publish". See Help:Aliases for more on using aliases.

To add a sitelink to Wikidata, go to the section(s) below the appropriate heading(s), for example "Wikipedia" or "Wikiquote" and click the "edit" next to the heading. At the bottom of the sitelink group you will then be given two blank fields: a left field which says "wiki" and (shown after correct filling a first field) a right field which says "page". The left field is where you put the language of the Wikimedia site page that the item corresponds to. The right field is where you put the title of the page as it appears on the Wikimedia site. Both of these fields contain drop-downs that will help you fill in the information once you begin typing. When you have filled out both fields, click "publish". See Help:Sitelinks for more information.

Please note: When clicking on any "edit" or "+ add" before the page has fully loaded you might be taken to a separate page with a special interface. This will also let you make the intended changes but it is more difficult to use. If the page does not appear as depicted on the images to the right after clicking "edit" or "+ add" you might want go back, wait for the browser to finish loading the page (usually there is an indication on top of the browser's tab) and then click "edit" or "+ add" again.

Examples of four fields filled out for the item Marie Curie (Q7186)

Language Item Label Description Aliases 鏈接至維基百科頁面
英語 (en) Q7186 Marie Curie Polish and French physicist and chemist (1867–1934) Maria Salomea Skłodowska; Marie Skłodowska-Curie Marie Curie
法語 (fr) Q7186 Marie Curie physicienne et chimiste polonaise et française Maria Salomea Skłodowska herb Dołęga; Maria Skłodowska-Curie; Marie Sklodowska-Curie; Maria Skłodowska Marie Curie
波蘭語 (pl) Q7186 Maria Skłodowska-Curie polsko-francuska uczona, noblistka z fizyki i chemii Maria Curie-Skłodowska; Marie Curie; Maria Skłodowska Maria Skłodowska-Curie


Editing an item page

How an item page is build up

All four fields, the label, description, aliases, and sitelinks, are editable. To edit an existing element, click on the "edit" button and then enter the new or updated information. Then click "publish". If an alias or sitelink is incorrect, you can remove it. To do this, first click on the "edit" button and then either delete the alias you wish to remove, or click the bin icon for the sitelink you wish to remove. Then click "publish". The element will immediately disappear and be removed from the database.

數據項的文檔

The template {{Item documentation}} provides documentation for items. It can be added in the talk page of an item. See Talk:Q56061 for an example for administrative territorial entity (Q56061).

刪除項頁面

只有管理員可以刪除項。刪除通過Wikidata:Requests for deletions完成。請提供一個簡短的原因。

參見

Wikidata:Sandbox -- 這是一個用於測試對數據項更改的沙盒

相關的幫助頁面請參見:

  • Help:標籤,解釋了什麼是標��以及它們遵循那些的規則
  • Help:描述,解釋了什麼是描述以及它們遵循那些的規則
  • Help:別名,解釋了什麼是別名以及相關方針
  • Help:聲明,解釋了什麼是聲明以及他們遵循哪些規則
  • Help:網站鏈接,解釋了什麼是網站鏈接以及它們遵循哪些規則
  • Help:Merge, which explains how to merge items (in case interwiki links to Wikipedia articles in different languages but on the same subject exist on more than one Wikidata page)

額外的信息和指引參見: