Property talk:P3303

Latest comment: 11 days ago by Daask in topic Can we capture groups?

Documentation

third-party formatter URL
URI template from which "$1" can be automatically replaced with the effective property value on items; for sites other than the primary issuing body of the identifier concerned
Representsthird-party formatter URL (Q114768930)
Has qualityunofficial (Q29509080)
Data typeString
Domain
According to this template: websites re-using other bodies' external-ids
According to statements in the property:
Wikidata property for an identifier (Q19847637) or unique identifier (Q6545185)
When possible, data should only be stored as statements
Allowed values(https?:\/\/|steam:\/\/|info|urn|skype|tel|tg)[\wè\d\-\.,\/\?=&:_%+#~;!А-яåЁё()@|\[\]\*{}]*\$1[\w\d\-\.,\/\?=&:_%+#~;!А-яåЁё()@|\[\](){}]*
Usage notesuse in statements on properties
ExampleGND ID (P227) → https://lobid.org/gnd/$1
ISBN-13 (P212) → http://errata.wikidot.com/$1
See alsoformatter URL (P1630), ARK formatter (P8054), applies if regular expression matches (P8460)
Lists
Proposal discussionProposal discussion
Current uses
Total926
Main statement92399.7% of uses
Qualifier30.3% of uses
Search for values
[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/P3303#Unique value, SPARQL (every item), SPARQL (by value)
Format “(?:https?://|steam://|info|urn|skype|tel|tg)[\wè\d\-.,/?=&:_%+#~;!А-яåЁё()@|[\]*{}]*\$1[\w\d\-.,/?=&:_%+#~;!А-яåЁё()@|[\](){}]*: 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/P3303#Format, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P3303#Scope, hourly updated report, SPARQL
Allowed entity types are Wikibase property (Q29934218), 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/P3303#Entity types
Required qualifier “language of work or name (P407): this property should be used with the listed qualifier. (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/P3303#mandatory qualifier, SPARQL

How to use?

edit

Opposition to Wikidata:Property proposal/Directory of Open Access Journals ID, now Directory of Open Access Journals ID (P5115), pointed to P3303. On ISSN (P236) it is used, but how can one mark an individual item? For example at International Journal of Molecular Sciences (Q3153277) it says that two ISSN exists in DOAJ ("stated in"), but no use of P3303.

@Gerwoman, Pigsonthewing, Vladimir Alexiev:

77.179.61.171 21:02, 4 May 2018 (UTC)Reply

Again, User:ArthurPSmith proposed to use P3303, this time at Wikidata:Property proposal/Deutsche Biographie person ID: /Yes, but that was after a long discussion that still left some doubts there should be a better way. third-party formatter URL (P3303) was designed for this - so I guess the question here is whether there's a similar issue that this dataset covers only a subset of what's in the full GND identifiers list (which I'm guessing is the case). ArthurPSmith (talk) 19:12, 27 June 2018 (UTC)/

But it is still unclear how to use the formatter, AND to indicate at the item that a project has information for that topic. The alternative site could only have a subset covered, how is that marked? 2.247.46.35 12:13, 28 June 2018 (UTC)Reply

What qualifier to use to indicate who is "providing" the URL pattern?

edit

For example, how can I give the following {{|P3303}} for WikiPathways ID (P2410) provided by the PubChem (Q278487)? --Egon Willighagen (talk) 05:08, 27 August 2020 (UTC)Reply

Okay, I see it now: operator (P137). Solved. --Egon Willighagen (talk) 05:17, 27 August 2020 (UTC)Reply

Can we capture groups?

edit

Is it possible to capture groups in a regular expression so rather than just using $1 we could also use $2 etc.? Some of the At Property:P1297#P3303, some of the values need a dash, and some of them need to omit the dash. Daask (talk) 18:58, 12 December 2024 (UTC)Reply

Return to "P3303" page.