Wikidata:Property proposal/CMF identifier

CMF identifier edit

Originally proposed at Wikidata:Property proposal/Authority control

   Not done
DescriptionComisión para el Mercado Financiero business identifier
RepresentsComisión para el Mercado Financiero (Q47496083)
Data typeURL
Template parameter|Indentificador CMF= at Ficha de organización
Allowed valuesSee below
Example 1Administrador Financiero de Transantiago (Q5549126)RGEIN-99597320
Example 2Compañía Sud Americana de Vapores S.A. (Q183454)RVEMI-90160000
Example 3State Bank of Chile (Q5718188)MERCANTIL-300068742
Planned useIn the short term
Formatter URLhttp://www.cmfchile.cl/institucional/mercados/entidad.php?mercado=O&grupo=&row=&vig=VI&control=svs&pestania=1&tipoentidad=RGEIN&rut=$1
Robot and gadget jobsYes

Motivación edit

As part of my infobox improvements, I want to request this property, as identifier with URL, for chilean business/enterprises registered at the Comisión para el Mercado Financiero (Q47496083), and alternatively, the Mercantil website. As the URL varies according to the organization type, the integer value has a prefix to get the proper URL (including Mercantil as alternative).

The request, in details:

instance of (P31)
  Wikidata property for an identifier (Q19847637)
0 references
add reference


add value
Wikidata property example (P1855)
  Administrador Financiero de Transantiago (Q5549126)
CMF identifier RGEIN-99597320
0 references
add reference
  Compañía Sud Americana de Vapores S.A. (Q183454)
CMF identifier RVEMI-90160000
0 references
add reference
  State Bank of Chile (Q5718188)
CMF identifier MERCANTIL-300068742
0 references
add reference


add value
formatter URL (P1630)
  http://www.cmfchile.cl/institucional/mercados/entidad.php?mercado=O&grupo=&row=&vig=VI&control=svs&pestania=1&tipoentidad=RGEIN&rut=$1
format as a regular expression (P1793) RGEIN-.*
0 references
add reference
  http://www.cmfchile.cl/institucional/mercados/entidad.php?mercado=O&grupo=&row=&vig=VI&control=svs&pestania=1&tipoentidad=RVEMI&rut=$1
format as a regular expression (P1793) RVEMI-.*
0 references
add reference
  https://www.mercantil.com/ficha.aspx?meco_code=$1
format as a regular expression (P1793) MERCANTIL-.*
syntax clarification (P2916) Mercantil website (alternative)
0 references
add reference
  http://www.cmfchile.cl/institucional/mercados/entidad.php?mercado=O&grupo=&row=&vig=VI&control=svs&pestania=1&tipoentidad=RVEMI&rut=$1
format as a regular expression (P1793) .*
syntax clarification (P2916) Default expression
0 references
add reference


add value
format as a regular expression (P1793)
  [A-Z]+-[0-9]{9}
0 references
add reference


add value

See also this thread at the Project chat for further discussion., in order to get the right regular expression. --Amitie 10g (talk) 18:15, 24 October 2019 (UTC)[reply]

Discussion edit