Property talk:P11707
Jump to navigation
Jump to search
Documentation
location URL match pattern
regex pattern of URL that individual shops/amenity within a chain can be matched against
regex pattern of URL that individual shops/amenity within a chain can be matched against
Data type | String | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Domain | chain (Q65553774) | |||||||||
Allowed values | .+\(.+\).*\$? | |||||||||
Example | According to this template:
According to statements in the property:
When possible, data should only be stored as statementsGreggs (Q3403981) → ^https:\/\/www\.greggs\.co\.uk\/shop-finder\?shop-code=(\d+)$ Sainsbury's (Q152096) → [-\w+)$ ^https:\/\/stores\.sainsburys\.co\.uk\/(\d+)\/([-\w]+)$] Bupa (Q931628) → [-\w+)$ ^https:\/\/www\.bupa\.co\.uk\/dental\/dental-care\/practices\/([-\w]+)$] | |||||||||
Formatter URL | https://regex101.com/?regex=$1 | |||||||||
See also | URL match pattern (P8966) | |||||||||
Lists |
| |||||||||
Proposal discussion | Proposal discussion | |||||||||
Current uses |
| |||||||||
Search for values |
[create Create a translatable help page (preferably in English) for this property to be included here]
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/P11707#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P11707#Format, SPARQL
Type “chain (Q65553774)”: item must contain property “instance of (P31)” with classes “chain (Q65553774)” 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/P11707#Type Q65553774, 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/P11707#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/P11707#Scope, SPARQL
format constraint[edit]
The format constraint of .+\(.+\)\$?
is too strict, the group shouldn't be required to be at the end. CjMalone (talk) 11:15, 17 April 2024 (UTC)