Help:よく使われるプロパティ

From Wikidata
Jump to navigation Jump to search
This page is a translated version of the page Help:Frequently used properties and the translation is 75% complete.

このページでは、よく使われるプロパティのガイドラインと例を示します。プロパティの使い方について疑問がある場合には、そのプロパティの議論ページで相談するか、またはWikidata:井戸端で助言を求めてください。 また、ウィキプロジェクトにあるプロパティのリストも良い資料となります。該当するトピックや領域のためのウィキプロジェクトがすでに存在する場合には、そこでプロパティの正しい使用法を議論し、文書化することができます。

階層構造のプロパティ

タクソノミー

タクソノミーとは、生物の種や属などの階級への分類のことです。taxon name (P225)taxon rank (P105)parent taxon (P171)で直上の階級にリンクします。詳しくはWikidata:WikiProject Taxonomyを参照。

例:

項目: dog (Q144)
学名: Canis lupus familiaris
分類階級: subspecies
上位タクソン: wolf

行政区画

'located in the administrative territorial entity (P131)'を使って行政区画の階層を作ります。詳細はWikidata:List of properties/Geographical feature#Administrative divisionを参照。

項目: Vancouver (Q24639)
位置する行政区画: Metro Vancouver Regional District (Q1061069)
項目: Metro Vancouver Regional District (Q1061069)
位置する行政区画: British Columbia (Q1974)
項目: British Columbia (Q1974)
位置する行政区画: Canada (Q16)

クラス (分類 及び 上位クラス)

個々の概念、対象物、物事は'instance of (P31)' プロパティを使ってクラスに割り当てられます。

項目"A"と項目"B"の関係が「項目"A" は(is a) "B"のひとつである」という言い方が意味をなす場合には、項目"A"は通常、クラス"B"のインスタンスとみなすことができます。

項目 British Columbia (Q1974)province of Canada (Q11828004)のインスタンスである、
なぜなら"British Columbia" は(is a) "province in Canada"のひとつであるからだ。

一方、クラスは'subclass of (P279)'プロパティを使って階層として組織化されています。"A" は(is a) "B"であるテストはサブクラス/クラスの関係にも使えます。

項目 province of Canada (Q11828004)province (Q34876)のサブクラスである、
なぜなら"province in Canada" は(is a) "province"であるからだ。

インスタンスとクラスについての詳細はHelp:Basic membership properties 及び Help:Classification (エッセイ)を参照。

"A" は(is a) "B"であるテストがうまく行かない場合は、項目"A"はinstance of (P31) class "B"ではなくて、項目またはグループ"B"のpart of (P361)であることが多いです。[1]

以下の一部分

'part of (P361)' プロパティは個々の概念、対象物、物事をより大きな個々の概念、対象物、物事にリンクするために使われます。

項目: Mars (Q111)
以下の一部分: Solar System (Q544)
項目: Battle of Kursk (Q130861)
以下の一部分: World War II (Q362)

part of (P361)プロパティの使い方の詳細についてはHelp:Basic membership properties参照。

ウィキメディア・コモンズのファイル用のプロパティ

画像

Images may exist within Wikimedia Commons (Q565) that visually summarize an item (Wikibase item (Q29934200)). Add an image (P18) statement to the item linking to the filename of the image hosted on Wikimedia Commons (Q565).

It is also common for items to be explained using multiple types of images. For example, physical object (Q223557) can typically be explained through symbol (Q80071) as well as multiple architectural drawing (Q184784) and photograph (Q125191) from different viewpoints.

For a full list of image properties available, refer to the following query:

#Subproperties of image (P18)
#defaultView:Graph
PREFIX gas: <http://www.bigdata.com/rdf/gas#>
SELECT DISTINCT ?property ?propertyLabel ?parent ?parentLabel WHERE {
  SERVICE gas:service {
    gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.SSSP";
    gas:in wd:P18;
    gas:traversalDirection "Reverse";
    gas:out ?property;
    gas:out1 ?depth;
    gas:maxIterations 10;
    gas:linkType wdt:P1647.
  }
  ?property wdt:P1647 ?parent.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Try it!

動画

Videos may exist within Wikimedia Commons (Q565) that visually (and sometimes auditorily) summarize an item (Wikibase item (Q29934200)). Add an video (P10) statement to the item linking to the filename of the video hosted on Wikimedia Commons (Q565).

It is also possible for some items to be explained using multiple types of video. For example, taxon (Q16521) could be explained with multiple videos for different behaviors including eating (Q213449), parturition (Q34581) and mating (Q228395).

For a full list of video properties available, refer to the following query:

#Subproperties of video (P10)
#defaultView:Graph
PREFIX gas: <http://www.bigdata.com/rdf/gas#>
SELECT DISTINCT ?property ?propertyLabel ?parent ?parentLabel WHERE {
  SERVICE gas:service {
    gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.SSSP";
    gas:in wd:P10;
    gas:traversalDirection "Reverse";
    gas:out ?property;
    gas:out1 ?depth;
    gas:maxIterations 10;
    gas:linkType wdt:P1647.
  }
  ?property wdt:P1647 ?parent.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Try it!

音声

Audio recordings may exist within Wikimedia Commons (Q565) that auditorily summarize an item (Wikibase item (Q29934200)). Add an audio (P51) statement to the item linking to the filename of the audio recording hosted on Wikimedia Commons (Q565).

It is also possible for some items to be explained using multiple types of audio recording. For example, taxon (Q16521) could be explained with multiple audio recordings for different auditory signals including mating call (Q24962783), alarm call (Q109037552) and advertisement call (Q90876095).

For a full list of audio properties available, refer to the following query:

#Subproperties of audio (P51)
#defaultView:Graph
PREFIX gas: <http://www.bigdata.com/rdf/gas#>
SELECT DISTINCT ?property ?propertyLabel ?parent ?parentLabel WHERE {
  SERVICE gas:service {
    gas:program gas:gasClass "com.bigdata.rdf.graph.analytics.SSSP";
    gas:in wd:P51;
    gas:traversalDirection "Reverse";
    gas:out ?property;
    gas:out1 ?depth;
    gas:maxIterations 10;
    gas:linkType wdt:P1647.
  }
  ?property wdt:P1647 ?parent.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Try it!

文書

For documents that are freely licensed or in the public domain, upload the document to Wikimedia Commons (Q565) and add a document file on Wikimedia Commons (P996) statement to the item linking to the filename of the document hosted on Wikimedia Commons (Q565).

表形式データ

For freely licensed or public domain tabular data hosted on Wikimedia Commons (Q565), a number of properties listed by the query below can be used to link items (Wikibase item (Q29934200)) to this data.

In some cases, there are alternative properties of other data types typically used on items, and tabular data provides an alternative method for storing large amounts of historical statements that would cause performance problems if created as individual statements on an item. For example, the recorded temperature of a location may be available in 5 minute increments over 20 years and this data could be hosted as tabular data on Wikimedia Commons (Q565). However adding all one million plus individual statements to an item would cause performance problems for Wikidata and related tools.

#Tabular data properties
SELECT ?property ?propertyLabel ?subject ?subjectLabel ?relatedProperty ?relatedPropertyLabel WHERE {
  ?property rdf:type wikibase:Property.
  ?property wikibase:propertyType wikibase:TabularData.
  OPTIONAL {
    ?property wdt:P1629 ?subject.
    ?subject wdt:P1687 ?relatedProperty.
    FILTER (?relatedProperty != ?property).
  }
  FILTER NOT EXISTS {?property wdt:P31 wd:Q18720640}.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Try it!

地理形状データ

Geographic shapes (also known as map data) may exist within Wikimedia Commons (Q565) as a means to define the geographic extents, region or distribution of an item (Wikibase item (Q29934200)). Add a geoshape (P3896) statement to the item linking to the filename of the geographic shape hosted on Wikimedia Commons (Q565). For example, geoshape (P3896) could be used to define the boundary of an administrative territorial entity (Q56061).

There exists a special case for items which are subclasses of taxon (Q16521). distribution map of taxon (P8485) is used instead of geoshape (P3896) to define the distribution of the taxon.

情報源のプロパティ

書籍、新聞記事、科学雑誌、データベースなどの情報源項目にプロパティを適用する方法については、Help:Sourcesを参照してください。

書籍

ウィキプロジェクト書籍は、作品項目と版項目における「書籍のプロパティ」の詳細な一覧を作成して管理しています。

関連項目

関連するヘルプページは以下を参照:

追加情報と手引きは以下を参照:

  • 井戸端 - ウィキデータに関する、あらゆる事項についての議論
  • Wikidata:Glossary - ここや他のヘルプページで使用されている用語の用語集
  • Help:FAQ - よくある質問と、ウィキデータ・コミュニティによる回答
  • Help:Contents - ウィキデータに関する解説を集めたヘルプ・ポータル

References

  1. "インスタンス"、"クラス"、"一部分"の関係は文書Foundations of Knowledge Representation in Cycの3-7ページで説明されています。(この文書では"クラス"は"コレクション"と呼ばれていますが。)