Property talk:P7546

From Wikidata
Jump to navigation Jump to search

Documentation

Applicable "stated in" valueFlowersofIndia.net (Q73334350)
Data typeExternal identifier
Domaintaxon (Q16521)
Allowed values^[\w\s\-]*$
ExampleAristida adscensionis (Q4790962)Common Needle Grass
Elaeagnus latifolia (Q10801011)South Indian Wild Olive
Amaranthus retroflexus (Q157663)Redroot Pigweed
Tillandsia lindenii (Q7802611)Blue-Flowered Torch
Sourcehttp://www.flowersofindia.net/botanical.html
Formatter URLhttps://wikidata-externalid-url.toolforge.org/?p=7546&url_prefix=http://www.flowersofindia.net/catalog/slides/&url_suffix=.html&id=$1
Related to country India (Q668) (See 103 others)
Lists
Proposal discussionProposal discussion
Current uses
Total5,604
Main statement5,599>99.9% of uses
Qualifier4<0.1% of uses
Reference1<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “taxon (Q16521): item must contain property “instance of (P31)” with classes “taxon (Q16521)” 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/P7546#Type Q16521, SPARQL
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/P7546#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/P7546#Unique value, SPARQL (every item), SPARQL (by value)
Format “^[\w\s\-]*$: 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/P7546#Format, 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/P7546#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/P7546#Scope, SPARQL

regex pattern issue[edit]

The regex pattern of this property is ^[\w\%]*$. But while checking the Wikidata property example (P1855), it leads to a url with %2520 instead of %20. From here, I came to know that this is due to double urlencoding as % is encoded again as %25. @Pintoch, Mahir256:, is there any solution or any other way around to change the regex pattern? -- Bodhisattwa (talk) 06:32, 12 November 2019 (UTC)[reply]

I would simply allow spaces in the regex and change the example values to contain spaces instead of %20. − Pintoch (talk) 08:24, 12 November 2019 (UTC)[reply]
@Pintoch:, I tried by using space, but then it leads to url with + instead of space. For example, to this url. -- Bodhisattwa (talk) 12:21, 12 November 2019 (UTC)[reply]
@Bodhisattwa: ah, good point. I guess we need to call ArthurPSmith to the rescue here. Arthur, do you think it would make sense to set up a proxy for that? It would just need to translate "+" to spaces. − Pintoch (talk) 13:10, 12 November 2019 (UTC)[reply]
@Bodhisattwa, Pintoch: The proxy does this sort of translation automatically - works now! ArthurPSmith (talk) 13:32, 12 November 2019 (UTC)[reply]
@ArthurPSmith, Pintoch:, thanks a lot! :) -- Bodhisattwa (talk) 13:38, 12 November 2019 (UTC)[reply]