Property talk:P7396

From Wikidata
Jump to navigation Jump to search

Documentation

Beachsafe Beach Key
unique identifier of an Australian beach in the Beachsafe database operated by Surf Life Saving Australia
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P7396#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).
List of violations of this constraint: Database reports/Constraint violations/P7396#Single value, SPARQL
Item “country (P17): Australia (Q408): Items with this property should also have “country (P17): Australia (Q408)”. (Help)
List of violations of this constraint: Database reports/Constraint violations/P7396#Item P17, hourly updated report, search, SPARQL
Item “instance of (P31): beach (Q40080): Items with this property should also have “instance of (P31): beach (Q40080)”. (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/P7396#Item P31, search, SPARQL
Format “(act|nsw|nt|qld|sa|tas|vic|wa)[A-Z]*[0-9]{1,4}: 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/P7396#Format, SPARQL
Type “beach (Q40080): item must contain property “instance of (P31)” with classes “beach (Q40080)” 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/P7396#Type Q40080, 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/P7396#Entity types
Scope is as main value (Q54828448): 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/P7396#Scope, SPARQL
Check localisation
(Help)
Violations query: SELECT ?item ?value ?loc ?iso ?substr ?lcase ?substrValue { ?item p:P7396 [ps:P7396 ?value] . ?item wdt:P131 ?loc. ?loc wdt:P300 ?iso. BIND (SUBSTR(?iso, 4, 3) AS ?substr). BIND (LCASE(?substr) AS ?lcase). BIND (SUBSTR(?value, 1, STRLEN(?lcase)) AS ?substrValue). FILTER (?lcase != ?substrValue). }
List of this constraint violations: Database reports/Complex constraint violations/P7396#Check localisation