Property talk:P5094

From Wikidata
Jump to navigation Jump to search

Documentation

HPIP ID
identifier of an entity of Portuguese influence, including geographic/toponymic, onomastic, original author, chronological references, etc.
[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)
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/P5094#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/P5094#Unique value, SPARQL (every item), SPARQL (by value)
Format “[1-9]\d{0,3}: value must be formatted using this pattern (PCRE syntax). (Help)
List of violations of this constraint: Database reports/Constraint violations/P5094#Format, hourly updated report, SPARQL
Item “instance of (P31): Items with this property should also have “instance of (P31)”. (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/P5094#Item P31, search, SPARQL
Item “country (P17): Items with this property should also have “country (P17)”. (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/P5094#Item P17, search, SPARQL
Item “heritage designation (P1435): Items with this property should also have “heritage designation (P1435)”. (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/P5094#Item P1435, 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/P5094#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/P5094#Scope, SPARQL
This property is being used by:

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Regex[edit]

I've tightened the regex, from [1-9]\d* to [1-9]\d{0,3}. This allows all integers from 1 to 9999 - there don't seem to be any five-figure values; if there are, then it can be changed to [1-9]\d{0,4}. The tighter regex will trap more errors. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:59, 29 May 2018 (UTC)[reply]

@Pigsonthewing, ArthurPSmith: After a discussion ArthurPSmith's talk page and your comment here, an IP changed the constraint today. So I'm not sure where we are now, but 1-9999 should be fine... Thanks. Mike Peel (talk) 22:57, 30 May 2018 (UTC)[reply]
Bizarrely, the IP changed [1-9]\d{0,3} to [1-9][0-9]{0,3}, which has the same effect, but is more verbose. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:02, 30 May 2018 (UTC)[reply]

Subject object[edit]

I have changed the subject object associated with this property: Now is Heritage of Portuguese Influence (Q40461605) instead the original Heritage of Portuguese Influence (Q38080272). The reason, discussed here, is that Q38080272 represents the database of the register and Q40461605 is the "heritage protection concept" included in the heritage designation (P1435) of all the items affected. So, this property, as a Wikidata property (P1687), must be linked with the Q40461605. Thanks, Amadalvarez (talk) 10:30, 4 September 2018 (UTC)[reply]

Changed formatter URL and IDs[edit]

Apparently the site has changed the formatter URL and IDs, the former http://www.hpip.org/Default/pt/Homepage/Obra?a=790 is now https://www.hpip.org/pt/heritage/details/794. Joao4669 (talk) 18:45, 17 July 2019 (UTC)[reply]

I was mislead by the example above, in all cases that I tested the id remains the same. Joao4669 (talk) 00:37, 18 July 2019 (UTC)[reply]

@Bodhisattwa: changed the URL, thank you so much for that. Problem solved. Joao4669 (talk) 19:34, 25 September 2019 (UTC)[reply]