Property talk:P2980

From Wikidata
Jump to navigation Jump to search

Documentation

ARLHS lighthouse ID
identifier on the ARLHS World List of Lights
[create Create a translatable help page (preferably in English) for this property to be included here]
Format “[A-Z]{3}\d{3,4}[A-Z]?|: 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).
List of violations of this constraint: Database reports/Constraint violations/P2980#Format, SPARQL
Type “beacon (Q7321258): item must contain property “instance of (P31)” with classes “beacon (Q7321258)” 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/P2980#Type Q7321258, 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). Known exceptions: no label (Q37915480), Jävre lighthouse (Q28934056)
List of violations of this constraint: Database reports/Constraint violations/P2980#Unique value, SPARQL (every item), SPARQL (by value)
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: Nidingen twin lighthouses (Q37800916)
List of violations of this constraint: Database reports/Constraint violations/P2980#Single value, SPARQL
Conflicts with “instance of (P31): island (Q23442): this property must not be used with the listed properties and values. (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/P2980#Conflicts with P31, 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/P2980#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/P2980#Scope, SPARQL
Pattern ^([A-Z]{3})-(\d{3,4}[A-Z]?)$ will be automatically replaced to \1\2.
Testing: TODO list

Leading 0[edit]

I think we should include the leading zeros. Phare de la Banche (Q3378463) has currently the value FRA3. But http://wlol.arlhs.com/lighthouse/FRA3.html resp http://wlol.arlhs.com/lighthouse/FRA003.html shows: ARLHS FRA-003, also known as ARLHS FRA 003, FRA-003, FRA 003. The leading zeros are always included. The same also applies to all other lighthouses with id<100. --Pasleim (talk) 14:16, 17 October 2016 (UTC)[reply]

If leading zeros are the canonical form, then yes we should include them. Thryduulf (talk) 19:30, 17 October 2016 (UTC)[reply]
OK, agreed. Lymantria (talk) 08:58, 21 October 2016 (UTC)[reply]
✓ Done Lymantria (talk) 10:42, 21 October 2016 (UTC)[reply]