60 likes | 72 Views
Discover Finland's recommended URI pattern for spatial data, along with examples and guidelines for URI implementation. Explore how to respond to URI requests, life cycle rules, and INSPIRE integration. Available in Finnish, English, and Swedish.
E N D
Theuse of URI’s and the URI pattern: Finland Nordic URI Webinar 29.5.2019Kai Koistinen National LandSurvey of Finland
National URI recommendation • Public administrationrecommendation for spatial data URIswasaccepted in September 2015 • Recommended URI structure • Process for implementingURIs • Examples on how to respond to URI requests (RDF basedsolution) • Life cycleruleprinciples • Use case examples • URIs in INSPIRE • http://www.jhs-suositukset.fi/web/guest/jhs/recommendations/193 • recommendation is available in Finnish, English and Swedish
Recommended URI pattern http://{domain}/{type}/{datasetId}/{localId}[/{versionId}] where: • domain = “paikkatiedot.fi” (“paikkatiedot” is “spatial data” in Finnish) • A centralized national URI redirection service maintained by NLSfi • Service has been implemented using CSIROs PID Service software: https://www.seegrid.csiro.au/wiki/Siss/PIDService • type • “so” for spatial objects • “id” for real world objects • Inspire responsible organization creates “id” URIs for real world objects that are modelled as spatial objects in Inspire • “def” for concepts • concepts can be from any controlled vocabularies like thesauri, code lists, schemas etc. • “doc” documentation related to “so”, “id” or “def” • Includes different formats of the data (for example GML, JSON…) and references to other related data (real world objects, spatial objects, concepts…) • the domain of a “doc” URI is decided by the data provider (paikkatiedot.fi is not used for as a domain for “doc” URIs) • datasetId • the resource identifier that is mandatory for the Inspire datasets (can be given to non-Inspire datasets also) • we use a 7 digit integer • id register is maintained by NLSfi • localId • a non limited string that is a local unique, persistent identifier for the object • data provider is responsible for the uniqueness and persistence of the localIds of his own datasets • Non-mandatory /{theme}/{class}/ partscanbeincluded in the URI beforelocalId for example for INSPIRE objectsifneeded • versionId • a max 25 digit string that is used to identify a version of a object • not mandatory
Linkings between real world objects, spatial objects and concepts A controlledspatial data vocabularydefinesconcepts:Standingwaters: http://paikkatiedot.fi/def/234567/vesistot Lakes: http://paikkatiedot.fi/def/234567/jarvet Saimaa: http://paikkatiedot.fi/def/234567/saimaa redirection response http://finto.fi/doc/234567/vesistot redirection response • concept data in differentformats (HTML, RDF etc.) http://finto.fi/doc/234567/jarvet redirection response http://finto.fi/doc/234567/saimaa Modelled as a concept Real worldobject: Lake namedsaimaa http://paikkatiedot.fi/id/123456/abc123 Theresponsibleorganization for Inspire standingwaters: Finnishenvironmentalinstitute (SYKE) Otherspatial data producer: City of Lappeenranta redirection Modelled as a spatialobject • link to correspondingrealworldobject • differentformats of thespatialobject (GML, JSON etc.) • links to otherrelevantdocumentationlikeconcepts and relatedspatialobjects etc. Inspire responsibleorganizationcreates a ”id” URI for therealworldobject and a ”so” for thespatialobject: http://paikkatiedot.fi/so/123456/abc123 redirection response http://www.syke.fi/doc/123456/abc123 • link to correspondingrealworldobject • differentformats of thespatialobject(GML, JSON jne.) • links to otherrelevantdocumentationlikeconcepts and relatedspatialobjects etc. City of Lappeenranta havetheirownspatialobject for therealworld lake Saimaa http://paikkatiedot.fi/so/345678/qwe456 redirection response http://www.lpr.fi/doc/345678/qwe456
Implementation status • Paikkatiedot.fi redirectionservice is running and maintainedbyNLSfi • Redirectionsconfigured for a fewdatasets • Persistent http URIshavebeenimplemented to some INSPIRE datasets • URI servicesmissingfromsomedatasets • NLSfihaspiloted URI ”data cards” in manyprojects • Firstproductionalimplementationswillprobablyhappenwith WFS3 • New national metadata recommendationguides to use http URI as resourceidentifier in metadata (datasetId) • Advanced life cycle management systemdeveloped in ”National TopographicDatabase” project • Real worldobjectidentifier (”id”) seemsconceptuallytoocomplex to beimplemented in firstphase