Help:Свойства/Часто используемые свойства

This page is a translated version of the page Help:Frequently used properties and the translation is 71% complete.

На этой странице находится информация о часто используемых свойствах. В случае сомнений о том, как использовать свойство, спросите на странице обсуждения свойства или на Форуме. Посмотрите в список WikiProjects — если по теме существует проект, спросите там.

Иерархические свойства

Таксономия

Таксономия — классификация организмов на группы типа «вид» и «семейство». Следует использовать свойства 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", если их отношение таково, что имеет смысл сказать: Item "A" является "B".

Примеры:

Элемент British Columbia (Q1974) является сущностью province of Canada (Q13218404),
поскольку «Британская Колумбия» — это «провинция в Канаде».

Классы организованы в структуру с помощью свойства subclass of (P279).

элемент: Cannes Film Festival (Q42369)
подкласс от: film festival (Q220505)
элемент: province of Canada (Q13218404)
подкласс от: province (Q34876)

Больше о классах: Help:Basic membership properties и Help:Classification (эссе).

Если утверждение "A" является "B" ошибочно, тогда можно предположить, что "A" не является instance of (P31) классов "B", но: part of (P361) частью группы "B".[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).

Tabular data

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!

Geoshapes

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. Отношения "сущностей", "классов" и "частей от" разъясняется на страницах с 3 по 7 документа Основы представления знаний в Cyc. (В этом документе "классы" называются "коллекциями".)