도움말:등급

This page is a translated version of the page Help:Ranking and the translation is 17% complete.
등급 (빨간 사각형 부분)

등급서술의 여러 값 중 주석을 다는 방법입니다. 기본 등급은 "일반 등급"이며, 서술-값 쌍은 "선호 등급" 또는 "비사용 등급"을 가질 수 있습니다.

  • Preferred rank - statement has preferred rank
  • Normal rank - statement has normal rank
  • Deprecated rank - statement has deprecated rank

등급의 목적

몇몇 서술은 자연적으로 여러 값을 가집니다. 예를 들어, Barack Obama (Q76) 항목은 child (P40) 속성으로 Malia Obama (Q15070044)Sasha Obama (Q15070048) 이라는 두 값을 가지고 있습니다.

다른 속성들은 이상적으로 하나의 값만을 가져야 하겠지만, 역사적인 정보를 담기 위한 추가 정보를 담고 있을 수 있거나, 다른 관점에서의 값, 다른 단위로 계산된 값 등을 가지고 있을 수 있습니다. Franklin School (Q100000001) 항목은 students count (P2196) 속성을 하나 이상 가지고 있을 수 있습니다: 2012년의 것과 2023년의 것을 말이죠.

두 번째 예시에서, 2023년의 값만이 학교의 최신 학생 수 값에 대해 관심 있는 사람들을 위한 정보가 될 것입니다. 등급은 이러한 여러 서술의 값을 빠르게 구별할 수 있도록 도와주는 역할을 합니다.

쿼리에 관한 안내

이 기능이 적용된 후에, Development/Queries|쿼리 기능은 사용자가 위키데이터의 모든 값에 대해서 사전에 정의된 검색을 할 수 있도록 허용할 것입니다. 이러한 검색값은 복합적이고, 여러 조건을 기반으로 한 결과를 얻을 수 있도록 설정될 수 있습니다. 가능한 위키데이터의 쿼리로써 "100만명 이상이 거주하는 모든 도시" 라거나, "100만명 이상이 거주하는 일본의 도시에서 태어난 여성 화가" 를 쿼리할 수도 있을 것입니다.

이해하셨겠지만, 언제나 모든 쿼리를 돌릴 때 적절한 결과가 나오지 않을 것입니다. 따라서, 등급을 지정함으로써 어떤 값을 쿼리에 사용할 지 결정할 수 있도록 도와 줍니다.

등급이 아닌 것

Ranks should not be confused with references which are used to point to specific sources that back up the data provided in a statement. While a reference will ideally point to a reputable and established source of information, it's possible for a source to provide information that is incorrect or not as accurate as it could be. References merely state where a data value comes from; ranks indicate what data value is considered the most correct and, by extension, what values should be included in queries.

Ranks are not a way of asserting your view for a disputed value, but instead are used for communicating the consensus opinion for a statement. All disputes should be discussed on the item's discussion page. Edit warring over values is not acceptable.

There is however another way to state that a statement is disputed and by whom: the qualifier statement disputed by (P1310)  .

사용법

Because ranks are used to differentiate multiple values for the same property, if a statement only has one value, it will have the default normal rank—there is no point adding the preferred rank in this situation.

There can be any number of statements with each rank, i.e. more than one value can be assigned the preferred rank.

Normal rank

The normal rank is assigned to all statements by default. A normal rank provides no judgement or evaluation of a value's accuracy and currency and therefore should be considered neutral.

Normal ranks are typically used for statements that contain relevant information that is believed to be correct, but may be too extensive to be shown by default. They are also used for statements with multiple values when it does not make sense to indicate that one value is "more correct" than any other.

For templates (for e.g. info boxes) and queries (once they are implemented), per default normal ranked values will be used for a property in cases when the property has no preferred rank.

Examples:

  • The item for Barack Obama has two values listed as children; both values should be given the normal rank because neither value is more "correct" than the other
  • The item for Hillary Clinton has multiple values listed for the property position held (P39) including attorney at law, U.S. Senator, U.S. Secretary of State, and First Lady; all positions held in the past should be given the normal rank

Preferred rank

The preferred rank is assigned to the most current statement or statements that best represent consensus (be it scientific consensus or the Wikidata community consensus).

Ideally, the preferred rank will be applied to sourced statements and/or statements with qualifiers which provide further details in support of the validity of their values, for example, through the use of qualifiers with the properties point in time (P585), determination method (P459), etc. It is often useful to indicate the reason for a preferred rank with a reason for preferred rank (P7452) qualifier.

For templates and queries, per default preferred statement(s) for a property will be used if they exist, otherwise normal statement(s) will be used.

Examples:

  • An item of a city may feature a historic list of its mayors. The current mayor would receive the preferred rank.
  • There may be several ways to measure the length of a river resulting in different results depending on to the method used. In such cases, the result of the most commonly used or scientifically valid method should receive the preferred rank.
  • There may be several preferred ranks of an item. E.g. a software project with 2 or more current developers among other formerly active developers or contributors.

Deprecated rank

The deprecated rank is used for statements that are known to include errors (i.e. data produced by flawed measurement processes, inaccurate statements) or that represent outdated knowledge (i.e. information that was never correct, but was at some point thought to be). It is often useful to indicate the reason for a deprecation with a reason for deprecated rank (P2241) qualifier. This does not apply to correct historical information, such as previous values of a statement, as long as they represent accurate information for the indicated time period. Such statements should instead be annotated with the appropriate start time (P580)/end time (P582) qualifiers.

Marking erroneous statements as deprecated instead of simply deleting such statements has three benefits:

  1. it allows other users to know not to re-add the value to the item
  2. it provides a mechanism for representing the evolution of theories and ideas and thereby creates a richer context for understanding human knowledge
  3. it upholds and establishes the integrity of Wikidata as a secondary knowledge base (that collects and links to references), rather than a primary database of facts. Wikidata simply provides information according to specific sources; those sources may or may not reflect contemporary thought or scientific consensus

For templates and queries, deprecated statements will never be used unless that is specifically requested.

Examples:

  • The Earth being the center of the cosmos once was subject of scientific discourse which can be backed by references. However, the geocentric model is now deprecated.

How to apply ranks

Ranks are added on an item page under the Statements section.

  1. To add a rank to a statement, click on the [edit] button
  2. Once in edit mode, the ranking mechanism will appear as small blue icon to the left of a statement's value (they appear as the same icons in grey when an item page is not being edited)
  3. Click on the icon and select either preferred rank, normal rank, or deprecated rank from the menu
  4. Check that the rank icon appears as it should:
      for a preferred rank;
      for a normal rank;
      for a deprecated rank
  5. Click on the [publish] button once done

How to visualize ranks

 

They are by default visualised with a small icon.

In addition, statements in preferred rank are shown in green and deprecated rank in red.

One can customise own colours to better distinguish deprecated and preferred ranks thanks to these (sample) codes to be added to your local common.css or global.css page. Of course, you can adapt the colours to your taste and visual abilities.

  • To put a background colour:
.wb-deprecated { background-color: #FFE0E0; } /* deprecated claims with red-ish background */ 
.wb-preferred { background-color: #E0FFE0; } /* preferred claims with green-ish background */
  • To put colorized icons:
/* Color non-default ranks */
.wikibase-rankselector-preferred {
    filter: grayscale(100%) brightness(70%) sepia(100%) hue-rotate(50deg) saturate(1000%);

}
.wikibase-rankselector-deprecated {
	filter: grayscale(100%) brightness(70%) sepia(100%) hue-rotate(-20deg) saturate(1000%)
}
.wikibase-rankselector {
	padding: 1em;
	margin: -1em;
}
.wikibase-snakview-typeselector {
	left: 21px;
}
.wikibase-statementview-mainsnak .wikibase-snakview .wikibase-snakview-value-container {
	margin-left: 25px;
}


How to query and filter among ranks

Wikidata Query Service stores two versions of a statement:

  1. One for "best" rank with the value. A statement with best rank is a statement with preferred rank, if there is none: a statement with normal rank.
  2. One for any rank with value, qualifiers and references.

Sample queries for Q16#P1082 (Canada's population):

  1. SELECT * { wd:Q16 wdt:P1082 ?value }  
  1. SELECT * { wd:Q16 p:P1082 ?st . ?st ps:P1082 ?value . ?st wikibase:rank ?rank . ?st pq:P585 ?date . }  


The first is equivalent to:

  • SELECT * { wd:Q16 p:P1082 ?st . ?st ps:P1082 ?value . ?st a wikibase:BestRank . ?st pq:P585 ?date . }  


To query for specific ranks for Q692#P569 (William Shakespeare's date of birth)

best rank: SELECT * { wd:Q692 wdt:P569 ?value }  

best rank: SELECT * { wd:Q692 p:P569 ?st . ?st ps:P569 ?value . ?st rdf:type wikibase:BestRank }  

you can substitute "rdf:type" with "a" if you prefer syntactic sugar, as they are identical.[1]

preferred rank: SELECT * { wd:Q692 p:P569 ?st . ?st ps:P569 ?value . ?st wikibase:rank wikibase:PreferredRank }  

normal rank: SELECT * { wd:Q692 p:P569 ?st . ?st ps:P569 ?value . ?st wikibase:rank wikibase:NormalRank }  

deprecated rank: SELECT * { wd:Q692 p:P569 ?st . ?st ps:P569 ?value . ?st wikibase:rank wikibase:DeprecatedRank }  

not deprecated rank: SELECT * { wd:Q692 p:P569 ?st . ?st ps:P569 ?value . MINUS { ?st wikibase:rank wikibase:DeprecatedRank } }  

not deprecated rank:

SELECT * WHERE 
 { 
  VALUES ?ranks { wikibase:PreferredRank wikibase:NormalRank }
  wd:Q692 p:P569 ?st. ?st ps:P569 ?value.  ?st wikibase:rank ?ranks. 
 }
 

For a technical explanation, see Wikibase/Indexing/RDF Dump Format#Statement types.

See also

For related Help pages, see:

  • Help:Statements, which explains what statements are and what rules they follow
  • Help:Sources, which explains what sources are and what rules they follow
  • Help:Qualifiers, which explains what qualifiers are and what rules they follow
  • Help:Deprecation, which explains justifying decisions to supersede and mark incorrect values
  • Help:Evolving knowledge, which explains how ranks are used to represent data that changes over time and older values.

For additional information and guidance, see:

  • Project chat, for discussing all and any aspects of Wikidata
  • Wikidata:Glossary, the glossary of terms used in this and other Help pages
  • Help:FAQ, frequently asked questions asked and answered by the Wikidata community
  • Help:Contents, the Help portal featuring all the documentation available for Wikidata

References

  1. SPARQL Query Language for RDF - 4.2.4 rdf:type