The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel,...

17
The importance of persistent URIs for the implementation of INSPIRE INSPIRE Conference 2012, Istanbul Clemens Portele, interactive instruments GmbH Drafting Team Data Specifications (Chair)

Transcript of The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel,...

Page 1: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

The importance of persistent URIs for the

implementation of INSPIRE

INSPIRE Conference 2012, Istanbul

Clemens Portele, interactive instruments GmbH

Drafting Team Data Specifications (Chair)

Page 2: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

Directive, Article 8(2)(a)

"The implementing rules shall address a common

framework for the unique identification of spatial

objects, to which identifiers under national systems can

be mapped"

Page 3: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

Main purpose of identifiers in INSPIRE

• Unambiguously trace spatial objects / support managing

lifecycles of spatial objects including versioning

• Support reuse by providing access to these objects via an

identifier, e.g. for linking spatial data with other information

Note: Spatial data sets are spatial objects, too

Page 4: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

Types of identifiers in spatial data sets

Page 5: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

Types of identifiers in spatial data sets

Page 6: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

Types of identifiers in spatial data sets

identifierlinguistically independent sequence of characters capable of uniquely and permanently identifying that with which it is

associated

object identifieridentifier

associated with a spatial object

thematic identifier

identifier used to identify a real-

world phenomenon

registered item identifieridentifier of a resource

maintained in a register

geographic identifier

spatial reference in the form of a label or code that identifies a location

Page 7: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

Directive, Article 11(1)

"Network services shall be accessible via the Internet

or any other appropriate means of telecommunication"

� Identifiers in the regulation have been defined independent of

the network service platform as

a namespace and

a local identifier in the namespace

Page 8: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

From regulation to implementation

• The world has moved on since the Directive was written

• Today, the only reasonable assumption is that INSPIRE will be

implemented as part of the web

• We need to adopt standard web practices in the

implementation of INSPIRE – or fail

• This has far-reaching implications for the implementation, in

this presentation the focus is only on identifiers

Page 9: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

The web and identifiers

• In the web, http URIs have become the primary way to

reference information resources

• These http URIs must be stable

• There is an expectation that using the URI information about

the identified resource can be retrieved using HTTP

Page 10: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

Implications

• Need to map all identifiers in INSPIRE to http URIs

• URIs must be independent of implementation details and

should be short and mnemonic

• Member States, the Commission and other organisations

assigning identifiers need to develop URI schemes to manage

assignment of http URIs

• Typically this should be done with a wider scope than just

spatial data

• Infrastructure needs to be set up and maintained to resolve

http URIs and return information resources

Page 11: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

INSPIRE

<cp:CadastralParcel

gml:id="DERPAL00ah5ztj3js2">

<gml:identifier>

http://location.example.de/so/

AAA/DERPAL00ah5ztj3js2

</gml:identifier>

<cp:areaValue uom="m2">

673.5

</cp:areaValue>

<cp:label>255/1</cp:label>

<cp:nationalCadastralReference>

07012302802550001

</cp:nationalCadastralReference>

<cp:geometry>

<gml:Polygon>... </gml:Polygon>

</cp:geometry>

...

</cp:CadastralParcel>

CadastralParcel

geometry

cadastral

reference

07012302802550001

identifier http://location.example.de/so/AAA/D

ERPAL00ah5ztj3js2

area value 673.5 m2

...

Cadastral Parcel

http://kataster.example.de/id/parcel/07

/123/28/255-1

Real World Spatial Object Representation (GML)

http://xyz.de/doc/parcels?

...&ID=DERPAL00ah5ztj3js2

(Request to a Download Service)

Abstraction

255/1

Description

Illustration

Page 12: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

Object identifiers as http URIs

� The URI of the spatial object

http://location.example.de/so/AAA/DERPAL00ah5ztj3js2

� follows a simple pattern in this example:

http://location.example.de/so/{namespace}/{localid}

� Retrieving this URI would redirect – using standard HTTP – to a

download service that provides representations of the spatial

object, e.g. in GML, JSON, HTML, RDF, etc.

� The identifier of the spatial object is stable and not affected by

changes in the implementation / download services

� References to the spatial object have to use the stable http URI,

not the URI provided by the download service

Page 13: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

An example from the UK

� Pattern used by the UK:

http://{subdomain}.{domain}/{type}/{metadata}/{authority}/{id}/{version}

� A Bathing Water Quality Monitoring Sampling Point:

http://location.data.gov.uk/so/ef/SamplingPoint/bwsp.eaew/36800

Remarks:

• {metadata}: UK has included the INSPIRE theme and spatial object type in the

URI. Potentially this will help users/applications. The entries are derived from

INSPIRE code lists.

• {type}: "id" = real world phenomenon. "so" = spatial object. "doc" = web document

in HTML, RDF, JSON, GML, etc. "def" = definition, e.g. an item in a code list

• Retrieving the "so" URI above redirects using standard HTTP mechanisms to a

"doc" URI that in turn provides representations of the spatial object

Page 14: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

An example from the UK

Page 15: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

Identifiers of other shared resources

• Spatial objects reference a number of other resources that

are maintained in registers and used consistently

• These resources are identified by URIs, too

• Example: The coordinate reference system of a geometry

http://www.opengis.net/def/crs/EPSG/0/4258

• Example: A code list value

http://inspire.ec.europa.eu/codelist/countrycode/de

Note: The code list URI does not yet return anything, but will once the INSPIRE code list registry

has been set up

Page 16: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

Why make spatial objects available on the web and

not just spatial data sets?

• To enable and encourage linking between spatial objects in

different data sets (marker post along road link, sensor attached to

mast, etc.)

• To provide location context to "business information" in a way that

can be used in web/mobile applications (property rights associated

with a parcel, timetable of a railway station, statistical information

for a statistical unit, materials used at an industrial facility, etc.)

• To support the implementation of the Digital Agenda for Europe and

the European Interoperability Framework

• Like all of INSPIRE, this can only be successful, if access to

spatial data is not encumbered by restrictions that result in a

lack of reuse of the spatial data

Page 17: The importance of persistent URIs for the implementation of … · 2012-07-02 · with a parcel, timetable of a railway station, statistical information for a statistical unit, materials

Additional information

INSPIRE Generic Conceptual Model (INSPIRE)

http://inspire.ec.europa.eu/index.cfm/pageid/2

Guidelines for the Encoding of Spatial Data (INSPIRE)

http://inspire.ec.europa.eu/index.cfm/pageid/2

Designing URI Sets for Location (UK)

http://location.defra.gov.uk/wp-content/uploads/2011/09/Designing_URI_Sets_for_Location-V1.0.pdf

Designing URI Sets for the UK Public Sector (UK)

http://www.cabinetoffice.gov.uk/resource-library/designing-uri-sets-uk-public-sector

Cool URIs for the Semantic Web (W3C)

http://www.w3.org/TR/cooluris

This paper not only applies to RDF, but also other representations of resources