Wikidata:外部識別子

This page is a translated version of the page Wikidata:External identifiers and the translation is 69% complete.

「外部識別子」は外部のシステム(データベース、典拠ファイル、オンライン百科事典、など)で使われている識別子を表す文字列です。Wikidataの項目で formatter URL (P1630) が定義されている時、外部リンクとして表示されます。

はじめに

外部識別子はWikidataの項目を、その項目についてのデータベース、典拠ファイル、あるいは、百科事典の記事へリンクします。データを外部の情報源へリンクすることはWikidataにとってたくさんの利点があります:

  • データ品質: よその学術的な情報源に対して文の照合をする
  • Data completion: adding info like nationality, occupation, birth/death date/place from the external database
  • 特筆性ある項目が欠如していることの同定: Wikidataと他のデータベースの比較により
  • Wikidataの利用を広め動機づける: 外部データベースの管理者はWikidataが彼らのIDを統合したことに気付くことができ、彼らはWikidataや彼らのデータを増強できる(Q24075706参照)
  • 姉妹プロジェクトのサポート: たとえばWikipediaに参考文献や情報リンクを提供する。

Wikidata External Identifier properties should have dedicated items to represent their values[1] and they should link to those using class of non-item property value (P10726).

External identifier items

An item should be created representing an external identifier as a class for the values that are values of the external identifier property.[1]

For example, the value of YouTube video ID (P1651) for Thank U, Next (Q60231842), "gl1aHhXnN1k", would be aninstance of (P31)YouTube video ID (Q110851517). Therefore YouTube video ID (Q110851517) would be the "external identifier item".

This is done so that the facts about the external identifier itself can be correctly described on the external identifier class such as who issued it with issued by (P2378) and how many of it exists with quantity (P1114).

The external identifier property is then linked to the external identifier item using class of non-item property value (P10726).

Properties

Property Description Example
instance of (P31) Type of identifier unique identifier (Q6545185)
Wikidata property (P1687) The property for this identifier
issued by (P2378) Who issued the identifier
identifies (P10476) The thing this identifier identifies
quantity (P1114)

The number of identifiers of this type that exist. It is known that this duplicates the data described by number of records (P4876) however no decision has been made yet as to which property to solely use.

Properties that do not belong

Property Description
format as a regular expression (P1793) The format of the value should be described solely on the property right now for consistency.

識別子用プロパティ

必須プロパティ

プロパティ 説明
instance of (P31) 外部識別子の種類を定義します。
formatter URL (P1630) ウェブページのURL。URI形式のテンプレートで、$1は自動的にその項目のプロパティの有効な値に置換されます。外部サイトがオフラインになったら、非推奨ランクに設定してください。書式指定URLが変更になった場合は、推奨ランクとした新しい文を追加してください。
多言語サイト: それぞれの言語について適切な書式を追加し、修飾子language of work or name (P407)で言語を、title (P1476)でその言語におけるサイト名を追加してください。
VIAF ID (P214) --> formatter URL (P1630): https://viaf.org/viaf/$1
source website for the property (P1896) このWikidataプロパティのデータの出所となるウェブサイトのURL

多言語サイト: それぞれの言語について適切なURLを追加し、言語を指定するために修飾子 language of work or name (P407) を使ってください。

GND ID (P227) --> source website for the property (P1896): https://portal.dnb.de
format as a regular expression (P1793) 識別子やWikidataプロパティを表す正規表現。プロパティ制約で用いる場合には構文がPCREに則っていることを確認してください。 IMDb ID (P345) --> format as a regular expression (P1793): ev\d{7}\/\d{4}(-\d)?|(ch|co|ev|nm|tt)\d{7}
class of non-item property value (P10726) Class of the value of the external identifier YouTube video ID (P1651)class of non-item property value (P10726)YouTube video ID (Q110851517)

原典の内容についてのプロパティ

プロパティ 説明
language of work or name (P407) 外部識別子のサイトの言語 Canadian Encyclopedia article ID (P5395) --> language of work or name (P407): English (Q1860), French (Q150)
applies to jurisdiction (P1001) 識別子が、この値(国、州、市、地域など)に位置する/関連するものを示す。 Handbook of Texas ID (P6015) --> applies to jurisdiction (P1001) Texas (Q1439)
related property (P1659) 対象とする領域や話題が似た、他の外部識別子を示すために用いられています。 Handbook of Texas ID (P6015) --> related property (P1659): Encyclopedia Virginia ID (P5981)
Wikidata usage instructions (P2559) プロパティや項目の利用法の記述 ORCID iD (P496) --> Wikidata usage instructions (P2559):

Four groups of four digits, separated by dashes ("-") (English)

expected completeness (P2429) プロパティが、そのプロパティを備えた現実世界の事物を網羅した集合を表現することを意図しているかどうかを記述する。 Values:
URL match pattern (P8966) その識別子を含むURLにマッチするはずの正規表現。最低1つのグループを含むべきで、それが識別子をキャプチャーします。 Encyclopædia Britannica Online ID (P1417)^https?:\/\/www\.britannica\.com\/((?:topic|place|event|science|technology|plant|animal|biography|sports|art)(?:\/[^\s\/]+)+)

書式指定用のプロパティ

プロパティ 説明
mobile formatter URL (P7250) 携帯端末用ウェブページのURL。URI形式のテンプレートで、$1は自動的にその項目のプロパティの有効な値に置換されます。 X username (P2002) --> mobile formatter URL (P7250): https://m.twitter.com/$1
third-party formatter URL (P3303) URI形式のテンプレートで、$1は自動的にその項目のプロパティの有効な値に置換されます。識別子のもともとの発行体以外のサイトに用います。 MusicBrainz artist ID (P434): http://www.bbc.co.uk/music/artists/$1. DOI (P356) には第三者サイトが数多くあり, Legal Entity Identifier (P1278) には何個かあります。
search formatter URL (P4354) ウェブページの検索用URL。URI形式のテンプレートで、$1は自動的に検索する文字列に置換されます。 ORCID iD (P496) --> search formatter URL (P4354): https://orcid.org/orcid-search/quick-search/?searchQuery=$1
formatter URI for RDF resource (P1921) RDF(セマンティック)リソースを示すURL書式。URI形式のテンプレートで、$1は自動的にその項目のプロパティの有効な値に置換されます。(これはリソースを示すURIであって、それを記述しているRDFファイルのURIではありません) IdRef ID (P269) --> http://www.idref.fr/$1/id; Art & Architecture Thesaurus ID (P1014) --> http://vocab.getty.edu/aat/$1 (以下ではなく http://vocab.getty.edu/page/aat/$1

文書化・利用法のためのプロパティ

プロパティ 説明
Wikidata property example (P1855) このWikidataプロパティが使われている例。このプロパティを使用する項目を指定し、このプロパティの値を修飾子として用います。 Tennessee Encyclopedia ID (P6016) --> Alfred A. Taylor (Q884027): alfred-alexander-taylor
corresponding template (P2667) このプロパティと同じ意味の、値を1つとるテンプレートです。 Big Cartoon Database ID (P4933) --> corresponding template (P2667): Template:BCDB title (Q7169254)
property usage tracking category (P2875) 姉妹プロジェクトにおいてWikidataプロパティの使用を追跡しているカテゴリ Tennessee Encyclopedia ID (P6016) --> property usage tracking category (P2875): Category:Pages using Wikidata property P6016 (Q57953350)
property proposal discussion (P3254) このプロパティの作成が議論されたページ(またはページの節)のURL ORCID iD (P496) --> property proposal discussion (P3254): https://www.wikidata.org/wiki/Wikidata:Property_proposal/Archive/7#P496
number of records (P4876) 識別子の値またはカタログ中のレコードの数 GRID ID (P2427) --> number of records (P4876): 85,582

マッピングや関連づけのためのプロパティ

プロパティ 説明
equivalent property (P1628) 他のオントロジーにおける同等のプロパティ(プロパティURIを使用) IMDb ID (P345) --> http://purl.org/ontology/mo/imdb
has characteristic (P1552)

use with component item if property is part of another identifier

Libraries Australia ID (P409) --> has characteristic (P1552): VIAF component (Q26921380), 修飾子: code (P3295): NLA
Mix'n'match catalog ID (P2264) このプロパティに対応するmix'n'matchツールのカタログのID Kunstindeks Danmark Artist ID (P1138) --> Mix'n'match catalog ID (P2264): 91

タイムラグおよびリンクの一貫性

IDリンクが使用可能になるまで12から48時間かかります。formatter URL (P1630)はプロパティ提案の参加者であってもコミュニティの合意なしに変更できません。

ツール

ウィキプロジェクト

References

  1. 1.0 1.1 Wikidata:Project chat/Archive/2022/12#Creation of items for all external identifier identifers