Property talk:P2459
Jump to navigation
Jump to search
Documentation
IBU biathlete ID
biathlete's identifier in the International Biathlon Union's database
biathlete's identifier in the International Biathlon Union's database
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Tapio Piipponen (Q1388096)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)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 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:
List of this constraint violations: Database reports/Complex constraint violations/P2459#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
This property is being used by:
Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.) |
|
|
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)
- Fixed. --Edgars2007 (talk) 05:32, 27 April 2019 (UTC)
- It's not working for me. --Avilena (talk) 18:49, 29 April 2019 (UTC)
- Based on my brief testing, the formatter URL
https://biathlonresults.com/?IBUId=$1
seems to work more consistently thanhttps://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"):- For Ole Einar Bjørndalen (Q189408), https://biathlonresults.com/?IBUId=BTNOR12701197401 works, but https://www.biathlonworld.com/athletes/id/BTNOR127011974011/ initially did not work, then worked, and now is not working again.
- For Seija Hyytiäinen (Q15478108), https://biathlonresults.com/?IBUId=BT-FIN-W-HYYSEI works, but https://www.biathlonworld.com/athletes/id/BT-FIN-W-HYYSEI/ has not generated a working link for me.
- 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):
- https://www.biathlonworld.com/athletes/id/BTNOR21803198101/ redirects to https://www.biathlonworld.com/athletes/id/btnor21803198101/
- https://www.biathlonworld.com/athletes/id/BTFRA11409198801/ redirects to https://www.biathlonworld.com/athletes/martin-fourcade/id/btfra11409198801/ (note the difference here, where it also changes /athletes/id/ to /athletes/martin-fourcade/id/)
- Hopefully this is a IBU server issue that will be resolved. -- Zyxw (talk) 01:36, 1 May 2019 (UTC)
- This issue has not been resolved. Some of the links above are working, others not. Avilena (talk) 20:29, 29 March 2023 (UTC)
- Based on my brief testing, the formatter URL
Categories:
- All Properties
- Properties with external-id-datatype
- Properties used on 1000+ items
- Properties with format constraints
- Properties with single value constraints
- Properties with unique value constraints
- Properties with constraints on items using them
- Properties with entity type constraints
- Properties with scope constraints
- Properties with complex constraints
- Sports properties