Wikidata:Property proposal/Find & Connect ID

Find & Connect ID edit

Originally proposed at Wikidata:Property proposal/Place

Descriptionidentifier in the Find & Connect website by the Australian Government about orphanages, children's Homes, and other institutions
RepresentsFind & Connect (Q64734530)
Data typeExternal identifier
Domainresidence (Q699405), legislation (Q49371), organization (Q43229), occurrence (Q1190554), possibly some others
Allowed values([a-z]+\/)+\w+(\.htm)?
Example 1Aged Care Act 1997 (Q56759506)ref/australia/biogs/FE00121b.htm
Example 2Sister Kate's Children's Cottage Home (Q64734995)guide/wa/WE00684
Example 3Royal North Shore Hospital (Q7374599)ref/nsw/biogs/NE00449b.htm
Example 4Cootamundra Domestic Training Home for Aboriginal Girls (Q5168096)guide/nsw/NE00031
Sourcehttps://www.findandconnect.gov.au/browse/
External linksUse in sister projects: [ar][de][en][es][fr][he][it][ja][ko][nl][pl][pt][ru][sv][vi][zh][commons][species][wd][en.wikt][fr.wikt].
Planned usemix'n'match?
Number of IDs in sourcea few thousand
Expected completenesseventually complete (Q21873974)
Formatter URLhttps://www.findandconnect.gov.au/$1
Robot and gadget jobsyes

Motivation edit

Solid source of info about a variety of historic & social institutions. 99of9 (talk) 13:22, 20 June 2019 (UTC)[reply]

Discussion edit

  Notified participants of WikiProject Australia

  •   Support David (talk) 04:46, 21 June 2019 (UTC)[reply]
  •   Support. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:37, 21 June 2019 (UTC)[reply]
  •   Support --Gerwoman (talk) 18:13, 25 June 2019 (UTC)[reply]
  • @99of9: I tried to create this property but an automatic check failed: example value "guide/wa/WE00684" does not match regular expression [a-z]+/[a-z]+/[a-z]+/[A-Z]{2}\d{5}[a-z]?(.htm)?.. Please fix your proposal and your property will be created shortly. This is an automated message but do not hesitate to ping me if you need any help. − Pintoch (talk) 22:43, 28 June 2019 (UTC)[reply]
    Thanks, I've adjusted it. --99of9 (talk) 10:22, 29 June 2019 (UTC)[reply]
    Some help, 99of9? Go to https://regex101.com/?regex=, then copy and paste your regular expression (([a-z]+/)?[a-z]+/[a-z]+/[A-Z]{2}\d{5}[a-z]?(.htm)?) into the designated "REGULAR EXPRESSION" slot (top left). If there is any red somewhere on the page, it's because something is wrong (whether it's the expression or a string test).
    Your RegEx: you use delimiters / without informing that it is a character. \ is used to express any character (a literal value, a metacharacter or a / delimiter). The point . also has a special use: it designates any character. It must also be preceded by \ to indicate that it is again a character to read.
    In the examples, there is one or more sequences of abcdefghi followed by /, so ([a-z]+\/)+ (+ indicates one or more times what precedes it). Subsequently, there is the identifier itself which consists of uppercase, lowercase and numbers, so: \w+ (\w is the equivalent of [a-zA-Z0-9_]). Finally, there is sometimes .htm at the end of the identifier, so: (\.htm)? (? means zero or once what precedes it). You have a fair result when it is indicated Match 1 - Full match and that your string of characters is copied exactly in the same way. Friendly. —Eihel (talk) 00:45, 3 July 2019 (UTC)[reply]
    Yes, thanks Eihel. I've done it often before, scraping for MnM sets, but was too quick here. --99of9 (talk) 00:51, 3 July 2019 (UTC)[reply]
  •   Support --Trade (talk) 14:47, 2 July 2019 (UTC)[reply]

@ديفيد عادل وهبة خليل 2, Trade, Eihel, Pigsonthewing, 99of9, Gerwoman:   Done: Find & Connect ID (P6946). − Pintoch (talk) 07:18, 3 July 2019 (UTC)[reply]