Property talk:P1157: Difference between revisions

From Wikidata
Jump to navigation Jump to search
Content deleted Content added
UV (talk | contribs)
fix format pattern (disallow empty values)
m allow them
Line 14: Line 14:
{{Constraint:Single value|mandatory=true}}
{{Constraint:Single value|mandatory=true}}
{{Constraint:Unique value|mandatory=true}}
{{Constraint:Unique value|mandatory=true}}
{{Constraint:Format|pattern=<nowiki>[A-Z]00[01]\d{3}</nowiki>|mandatory=true}}
{{Constraint:Format|pattern=<nowiki>[A-Z]00[01]\d{3}</nowiki>|mandatory=true}}
<!-- While other strings that do not conform to this pattern will also work, they should not be used: The search form http://bioguide.congress.gov/biosearch/biosearch.asp only outputs results of the following form only:
<!-- While other strings that do not conform to this pattern will also work, they should not be used: The search form http://bioguide.congress.gov/biosearch/biosearch.asp only outputs results of the following form only:
http://bioguide.congress.gov/scripts/biodisplay.pl?index=S000978 (one CAPITAL letter, six digits)
http://bioguide.congress.gov/scripts/biodisplay.pl?index=S000978 (one CAPITAL letter, six digits)

Revision as of 14:35, 21 June 2015

Documentation

Please remove the following deprecated parameters: proposed by.

US Congress Bio ID
identifier for a person on the Biographical Directory of the United States Congress
DescriptionAn identifier for the listing of the person on the Biographical Directory of the United States Congress - Biographical Directory of the United States Congress (Q1150348)
Associated itemUnited States Congress (Q11268)
Applicable "stated in" valueBiographical Directory of the United States Congress (Q1150348)
Has qualitycase insensitive (Q55121183)
Data typeExternal identifier
Template parameteren:Template:Bioguide, en:Template:CongLinks
Domainperson (note: this should be moved to the property statements)
Allowed values
According to this template: one uppercase letter followed by 6 digits
According to statements in the property:
[A-Z]00[01]\d{3}
When possible, data should only be stored as statements
Example
According to this template: Jefferson Monroe Levy (Q5676959) => L000268
According to statements in the property:
Theodore Roosevelt (Q33866)R000429
Jefferson Monroe Levy (Q5676959)L000268
When possible, data should only be stored as statements
SourceMember IDs from the "Biographical Directory of the United States Congress"
https://bioguide.congress.gov/
Formatter URLhttps://bioguide.congress.gov/search/bio/$1
https://bioguide.congress.gov/search/bio/$1.json
https://www.congress.gov/member/_/$1 (Only works for people who served in the 93rd Congress (1973) onwards)
https://bioguideretro.congress.gov/Home/MemberDetails?memIndex=$1
https://bioguide.congress.gov/search/bio/$1.xml
Tracking: usageCategory:Pages using Wikidata property P1157 (Q55101155)
Related to country United States of America (Q30) (See 768 others)
See alsoArizona State Legislators: Then & Now ID (P10545), Women in the Legislature ID (P10029), South Dakota legislator ID (P3229), Minnesota legislator ID (P3160), Michigan Legislative Bio ID (P10441)
Lists
Proposal discussionProperty proposal/Archive/19#P1157
Current uses
Total18,820
Main statement12,99069% of uses
Qualifier2<0.1% of uses
Reference5,82831% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Single value: this property generally contains a single value. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1157#Single value, hourly updated report, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1157#Unique value, hourly updated report, SPARQL (every item), SPARQL (by value)
Format “[A-Z]00[01]\d{3}|: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P1157#Format, hourly updated report, SPARQL
Item “instance of (P31): human (Q5): Items with this property should also have “instance of (P31): human (Q5)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1157#Item P31, hourly updated report, search, SPARQL
Item “sex or gender (P21): Items with this property should also have “sex or gender (P21)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1157#Item P21, hourly updated report, search, SPARQL
Item “place of birth (P19): Items with this property should also have “place of birth (P19)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1157#Item P19, search, SPARQL
Item “date of birth (P569): Items with this property should also have “date of birth (P569)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P1157#Item P569, hourly updated report, SPARQL
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1157#Item P27, search, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1157#Entity types
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1157#Scope, SPARQL
Item “occupation (P106): politician (Q82955): Items with this property should also have “occupation (P106): politician (Q82955)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1157#Item P106, search, SPARQL
Label required in languages: en: Entities using this property should have labels in one of the following languages: en (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1157#Label in 'en' language, search, SPARQL
Single value: this property generally contains a single value.
List of violations of this constraint: Database reports/Constraint violations/P1157#Single value, hourly updated report, SPARQL
Distinct values: this property likely contains a value that is different from all other items.
List of violations of this constraint: , hourly updated report, SPARQL (every item), SPARQL (by value),
Format: value must be formatted using this pattern (PCRE syntax).
([A-Z]00[01]\d{3}|)
List of violations of this constraint: Database reports/Constraint violations/P1157#Format, hourly updated report, SPARQL
Type “person (Q215627): element must contain property instance of (P31) with class person (Q215627) or its subclasses (defined using subclass of (P279))
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1157#Type Q215627, SPARQL
Item: items with this property should also have sex or gender (P21)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1157#Item P21, SPARQL. Count by value
Item: items with this property should also have place of birth (P19)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1157#Item P19, SPARQL. Count by value
Item: items with this property should also have date of birth (P569)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1157#Item P569, SPARQL. Count by value
Item: items with this property should also have country of citizenship (P27) = United States of America (Q30)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1157#Item P27 = Q30, SPARQL
This property is being used by:

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)