Property talk:P4102

From Wikidata
Jump to navigation Jump to search

Documentation

Atlas of Hillforts ID
identifier in the Atlas of Hillforts database
Descriptionidentifier in the Atlas of Hillforts database
Associated itemAtlas of Hillforts of Britain and Ireland (Q39046479)
Applicable "stated in" valueAtlas of Hillforts of Britain and Ireland (Q39046479)
Data typeExternal identifier
Domain
According to this template: hillfort (Q744099)
According to statements in the property:
hillfort (Q744099)
When possible, data should only be stored as statements
Allowed values\d{4}
ExampleBarbury Castle (Q807881)0387
Dunnottar Castle (Q746983)3112
Hembury (Q3784763)3352
Sourcehttps://hillforts.arch.ox.ac.uk/
Formatter URLhttps://hillforts.arch.ox.ac.uk/?query=Atlas_of_Hillforts_4166_0%2CMain_Atlas_Number%2C$1
Related to country United Kingdom (Q145) (See 329 others)
Ireland (Q27) (See 40 others)
Isle of Man (Q9676)
Lists
Proposal discussionProposal discussion
Current uses
Total4,150
Main statement4,14599.9% of uses
Qualifier3<0.1% of uses
Reference2<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “\d{4}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P4102#Format, hourly updated report, SPARQL
Item “country (P17): Items with this property should also have “country (P17)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P4102#Item P17, hourly updated report, 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/P4102#Item P131, search, SPARQL
Type “hillfort (Q744099): item must contain property “instance of (P31)” with classes “hillfort (Q744099)” or their subclasses (defined using subclass of (P279)). (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/P4102#Type Q744099, 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/P4102#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/P4102#Scope, SPARQL

Expand "instance of" constraint

[edit]

@Fralambert: Thanks for putting in place the constraints on this property. How do we change it so that each item has to be an instance of hillfort or a subclass of hillfort? Most hillforts in Wikidata have instance of (P31) promontory fort (Q92086) or a similar subclass. Is it possible to express the constraint so that these do not register as a constraint violation? Thanks in advance for any help, MartinPoulter (talk) 11:23, 17 January 2018 (UTC)[reply]

  • I added a corresponding type constraint. If you want to monitor P31 values, you could keep the item constraint. If you don't, it could be deleted.
    --- Jura 11:47, 17 January 2018 (UTC)[reply]