Property talk:P2459

From Wikidata
Jump to navigation Jump to search

Documentation

IBU biathlete ID
biathlete's identifier in the International Biathlon Union's database
Descriptionbiathlete's identifier in the database of the International Biathlon Union
RepresentsBiathlonResults.com (Q85329271)
Associated itemInternational Biathlon Union (Q866910)
Applicable "stated in" valueBiathlonWorld.com (Q113471157)
Data typeExternal identifier
Corresponding templateTemplate:IBU profile (Q11034770)
DomainBiathletes (note: this should be moved to the property statements)
Allowed valuesBT([A-Z]{3}\d{9}0[12]|-[A-Z]{3}-[MW]-[A-Z]{6})
ExampleOle Einar Bjørndalen (Q189408)BTNOR12701197401
Seija Hyytiäinen (Q15478108)BT-FIN-W-HYYSEI
Mikito Tachizaki (Q1933661)BTJPN11705198801
Amanda Lightfoot (Q453998)BTGBR23001198701
Formatter URLhttps://www.biathlonworld.com/athlete/unknown/$1?tab=results
https://biathlonresults.com/?IBUId=$1
Tracking: sameCategory:IBU ID same as Wikidata (Q28270813)
Tracking: differencesCategory:IBU ID different from Wikidata (Q26220028)
Tracking: usageCategory:IBU template using Wikidata (Q28366240)
Tracking: local yes, WD noCategory:IBU ID not in Wikidata (Q26220043)
Lists
Proposal discussionProposal discussion
Current uses
Total6,052
Main statement2,62743.4% of uses
Qualifier4<0.1% of uses
Reference3,42156.5% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “BT([A-Z]{3}\d{9}0[12]|-[A-Z]{3}-[MW]-[A-Z]{6}): value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Tapio Piipponen (Q1388096)
List of violations of this constraint: Database reports/Constraint violations/P2459#Format, SPARQL
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Algimantas Šalna (Q1388046)
List of violations of this constraint: Database reports/Constraint violations/P2459#Single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items. (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/P2459#Unique value, SPARQL (every item), SPARQL (by value)
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/P2459#Item P31, hourly updated report, search, SPARQL
Item “occupation (P106): Items with this property should also have “occupation (P106)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P2459#Item P106, hourly updated report, 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/P2459#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/P2459#Scope, SPARQL
Item “sport (P641): biathlon (Q166788): Items with this property should also have “sport (P641): biathlon (Q166788)”. (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/P2459#Item P641, search, SPARQL
Check ID
(Help)
Violations query: SELECT ?item ?id ?code ?code0 { ?item wdt:P2459 ?id. BIND (SUBSTR(?id, 3, 3) AS ?code) FILTER NOT EXISTS { ?country p:P984/ps:P984 ?code } FILTER (?item NOT IN (wd:Q1388096)) # format exception BIND (SUBSTR(?id, 4, 3) AS ?code0) FILTER NOT EXISTS { ?country p:P984/ps:P984 ?code0 } FILTER (?code NOT IN ("GRL", "grl", "ROM")) # OPTIONAL { ?item wdt:P27 ?_nationality } }
List of this constraint violations: Database reports/Complex constraint violations/P2459#Check ID

Discussion[edit]

Not working[edit]

The link is not working - it takes you to the main page of biathlonresults.com. The closest I got is https://biathlonresults.com/modules/sportapi/api/CISBios?IBUId=BTNOR11207198501 for a unformatted xml for Emil Hegle Svendsen. --Avilena (talk) 15:53, 26 April 2019 (UTC)[reply]

Fixed. --Edgars2007 (talk) 05:32, 27 April 2019 (UTC)[reply]
It's not working for me. --Avilena (talk) 18:49, 29 April 2019 (UTC)[reply]
Based on my brief testing, the formatter URL https://biathlonresults.com/?IBUId=$1 seems to work more consistently than https://www.biathlonworld.com/athletes/id/$1/, which often causes a redirect error (in Chrome: "This page isn’t working - www.biathlonworld.com redirected you too many times"; in Firefox: "The page isn’t redirecting properly"):
Also, the biathlonresults.com links retain the upper case formatting of the ID, while the biathlonworld.com links redirect to a lowercase version. Some biathlonworld.com IDs that are working now (though did not work for me about 20 minutes ago):
Hopefully this is a IBU server issue that will be resolved. -- Zyxw (talk) 01:36, 1 May 2019 (UTC)[reply]
This issue has not been resolved. Some of the links above are working, others not. Avilena (talk) 20:29, 29 March 2023 (UTC)[reply]