Property talk:P3064

From Wikidata
Jump to navigation Jump to search

Documentation

LepIndex ID
identifier for a Lepidoptera taxon, in the UK Natural History Museum's 'Global Lepidoptera Names Index'
RepresentsThe Global Lepidoptera Names Index (Q7736786)
Associated itemNatural History Museum, London (Q309388)
Applicable "stated in" valueThe Global Lepidoptera Names Index (Q7736786)
Data typeExternal identifier
Corresponding templateTemplate:LepIndex (Q14937790)
Template parameter|id= in en:Template:LepIndex
DomainLepidoptera (Q28319) (note: this should be moved to the property statements)
Allowed values[1-9]\d{0,6}
ExamplePanolis flammea (Q46160)3543
Catoptria petrificella (Q5053911)4433
Sourcehttp://www.nhm.ac.uk/jdsml/research-curation/research/projects/lepindex
Formatter URLhttps://www.nhm.ac.uk/our-science/data/lepindex/detail/?taxonno=$1
http://www.nhm.ac.uk/our-science/data/lepindex/detail/?taxonno=$1
Tracking: usageCategory:Pages using Wikidata property P3064 (Q29168715)
Related to country United Kingdom (Q145) (See 329 others)
Lists
Proposal discussionProposal discussion
Current uses
Total242,370
Main statement242,358>99.9% of uses
Qualifier2<0.1% of uses
Reference10<0.1% 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/P3064#Single value, hourly updated report, 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/P3064#Unique value, SPARQL (every item), SPARQL (by value)
Item “taxon name (P225): Items with this property should also have “taxon name (P225)”. (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/P3064#Item P225, search, SPARQL
Item “taxon rank (P105): Items with this property should also have “taxon rank (P105)”. (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/P3064#Item P105, search, 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/P3064#Item P105, search
Format “([1-9]\d{0,6})|: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P3064#Format, hourly updated report, 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/P3064#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/P3064#Scope, SPARQL
Pattern ^(\d+)\.0$ will be automatically replaced to \1.
Testing: TODO list

URL format change at LepIndex

[edit]

I've noticed that the format of URLs used by LepIndex has changed. That means that many of our links (I think all species links) no longer work. I'm not sure what is involved in fixing this, but I've started a discussion at en:Wikipedia talk:WikiProject Lepidoptera#LepIndex. Thank you.SchreiberBike (talk) 21:26, 14 April 2018 (UTC)[reply]

http://www.nhm.ac.uk/our-science/data/lepindex/search/detail.dsml?TaxonNo=257131.0 becomes http://www.nhm.ac.uk/our-science/data/lepindex/detail/?taxonno=257131
So we have to change the formatter URL and to remove the version information ".0". My bot can do the latter. --Succu (talk) 21:44, 14 April 2018 (UTC)[reply]
@Succu: it's not just remove the ".0" there is also the "lepindex/search/detail.dsml?TaxonNo" shortened in "lepindex/detail/?taxonno". I can do it too with QuickStatements but for 200,000 items, it would be better by bot, could you do it ? Cdlt, VIGNERON (talk) 06:45, 25 April 2018 (UTC)[reply]
Should be done. --Succu (talk) 21:20, 27 May 2018 (UTC)[reply]
@User:Shyamal: your change will cause over 200,000 constraint violation. I will remove the format constraint until the issue is fixed. --Succu (talk) 06:22, 15 April 2018 (UTC)[reply]