Property talk:P4057

Latest comment: 3 months ago by Rand(1,2022) in topic Links currently half broken (July 2024)

Documentation

Irish Sites and Monuments Record ID
identifier in Sites and Monuments Record database of Ireland
Descriptionidentifier in Sites and Monuments Record database of Ireland.
Associated itemDepartment of Housing, Local Government and Heritage (Q4294549)
Data typeExternal identifier
Template parameter|1= in commons:Template:Archaeological Survey of Ireland
Domainarchaeological monuments and sites of the Republic of Ireland (note: this should be moved to the property statements)
Allowed values
According to this template: [A-Z]{2}[0-9]{3}-[0-9-]{7}
According to statements in the property:
[A-Z]{2}[0-9]{3}-[0-9-]{3,7}
When possible, data should only be stored as statements
ExampleCreevelea Friary (Q1775146)LE014-004001-
Brownshill Dolmen (Q33313)CW007-010----
Sourcehttps://data.gov.ie/dataset/national-monuments-service-archaeological-survey-of-ireland
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].
Formatter URLhttps://maps.archaeology.ie/HistoricEnvironment/?query=NationalMonuments_7120,SMRS,$1
Tracking: usageCategory:Pages using Wikidata property P4057 (Q56144104)
Related to country  Ireland (Q27) (See 39 others)
Lists
Proposal discussionProposal discussion
Current uses
Total1,471
Main statement1,46499.5% of uses
Qualifier20.1% of uses
Reference50.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/P4057#Unique value, SPARQL (every item), SPARQL (by value)
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/P4057#Single value, SPARQL
Format “[A-Z]{2}[0-9]{3}-[0-9-]{3,7}: 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/P4057#Format, SPARQL
Item “country (P17): Ireland (Q27): Items with this property should also have “country (P17): Ireland (Q27)”. (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/P4057#Item P17, search, SPARQL
Item “coordinate location (P625): Items with this property should also have “coordinate location (P625)”. (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/P4057#Item P625, SPARQL
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/P4057#Item P131, search, 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/P4057#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/P4057#Scope, SPARQL



ID pattern

edit

I am importing the official dataset into Mix'n'match at the moment. The "official" IDs do not appear to contain dashes, and the IDs still work in the URL. I suggest we use them as they are in the official document (without dashes). --Magnus Manske (talk) 10:36, 15 June 2017 (UTC)Reply

@Magnus Manske: Not really, last dashes doesn't matter, but the first one needs to be there. Check Q1775146, it needs to be LE014-004001. Pawel Marynowski (WMIE) (talk) 15:48, 15 June 2017 (UTC)Reply

As of November 2022 this seems broken

edit

Apologies if I am using incorrect terminology or have other mistakes in this problem description. Values relating to Irish Sites and Monuments Record ID (P4057) such as "LE014-004001-" and "CW007-010----" seem to have been intended to use formatter URL (P1630) to form an URL to point to "http://webgis.archaeology.ie/historicenvironment/?SMRS=$1" e.g. "http://webgis.archaeology.ie/historicenvironment/?SMRS=CW007-010----". However that URL seems to get immediately redirected to https://maps.archaeology.ie/HistoricEnvironment/ which may take you to what you were last looking at there but is on minminal use locate the object of intestest, though if one finds it one can get the relevant associated information. This came up at NLI photo of the day now at Commons:File:Goat Castle and Queen's Hotel, Dalkey.jpg, associated with Dalkey Castle (Q30970161) & Irish Sites and Monuments Record ID "DU023-023010-". The fix may be simples, but I haven't spotted it. The following URLs may hold some clues somewhere ... [1], [2], [3], [4], [5], [6]. @ChristianKl, Magnus Manske, Yarl, The wub:: Any thoughts on a fix or a way forward. Thankyou. -- Deirge Ó Dhaoinebeaga(a)talk 01:03, 16 November 2022 (UTC)Reply

I can add a little mode information I have worked out on this. From the Historic Environment Viewer clicking the "query data" icon (A sort of torch pointing upwards / oil funnel thingy) on the menu bar, the leftmost icon on the right icon group. This brings up a "query data" dialog box. At the bottom of that box is a place for a "Search by Record Number" where the Irish Sites and Monuments Record ID (P4057) aka SMR ID value can be placed and searched for. The result is an map is recentred on the object of interest and a downloadable record diplayed in a replaced "Quary Data" box. Pressing in that box produces a pop-up with useful information which is what I wanted. In the case of SMR ID "DU023-023010-" for Dalkey Castle that is the end of the road but following through "CW007-010----" is more interesting. That object has han attachements icon, and cliking on that also pops-up an attachements box with tow (jpb) attachments. Clinking on the first of this open a pciture in a new tab. [7]. Then if that url is truncate I observe a can get a really useful llink to Feature (ID: 32052). So my question is perhaps how to I link the SMR ID to the Feature ID ? -- Deirge Ó Dhaoinebeaga(a)talk 12:00, 16 November 2022 (UTC)Reply
@Deirge Ó Dhaoinebeaga This should be working now e.g. CW007-010----. I had to do a bit of digging: there isn't any change to the URLs on the viewer site when running a query, and doesn't seem to be anything publicly shown on the site. But the documentation for the underlying software showed how to pass a query in, and then it was just a case of figuring out the layer and field name required. the wub "?!" 23:04, 16 November 2022 (UTC)Reply
@the wub:: Thanks, good progress, in fact excellent help and thanks for digging.. I think I agree this works for CW007-010---- and Dalkey graveslab DU023-023020- and Dalkey Castle Tower: DU023-023010- however when I click the link in Dalkey Castle (Q30970161) DU023-023010- it doesn't seem to be working for me and is pointing to the old URL ("webgis.archaeology.ie/historicenvironment/?SMRS=DU023-023010-") rather than the new one. This could be a caching problem or there might be a problem there (or it could be me). Thanks. -- Deirge Ó Dhaoinebeaga(a)talk 00:55, 17 November 2022 (UTC)Reply
@Deirge Ó Dhaoinebeaga It's just caching, these formatter URLs seem to be quite sticky. I purged Dalkey Castle (Q30970161) and it has the correct link for me now. the wub "?!" 10:57, 17 November 2022 (UTC)Reply
@the wub: Superb job. thanks for taking the time to look at this. This only reason I pinged you was I thought you might know a good contact for this stuff but you've done a brilliant job yourself! Would/could I have sorted this out myself in a week? Possibly yes but even more possibly not. There is a discussion of how starting off from a commons picture or commons category one gets to that (via the structured data tab?) but that's a discussion for a meetup. Thanks again. -- Deirge Ó Dhaoinebeaga(a)talk 13:01, 17 November 2022 (UTC)Reply
edit

Just here to say that the Historic Environment Viewer currently seems to lack support for URL-based identifiers. To get a view with the right centre and zoom level, you can still enter an identifier manually in the input box on the left, but any URL that includes an identifier will be automatically redirected, leaving you with a generic map of Ireland.

I really hope this is only a temporary situation. The website does say "Interim Version" (maybe since the service was temporarily down last year?), which hopefully means the feature will be back soon. Rand(1,2022) (talk) 08:36, 27 July 2024 (UTC)Reply

Return to "P4057" page.