Transcript
Page 1: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

An Open Source Linked Data Infrastructure for Publishing

Geospatial DataArif Shaon, Andrew Woolf, Shirley

Crompton, Will Rogers, Mike Jackson, Robert Boszec

[email protected]

Page 2: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

“Place matters…”

• “everything happens somewhere”– Location Strategy for the UK

• Combine information about places– Stretch of road– Speed limit orders– Underground pipes, cables, ducts– Accident statistics

• Benefits– Improve decision making– Deliver better services

Page 3: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Querying location data

GIS Service (Known)

GIS Service (Unknown)

query

query

Page 4: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

INSPIRE• EU directive

– 15th May 2007– http://inspire.jrc.ec.europa.eu/

• EU-wide infrastructure for spatial information– All levels/scales of detail

• Standard– Model ontology in UML– Expose as XML– Access via web services

Page 5: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Semantic Web

Page 6: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Linked data

• Use URIs as names for things• Use HTTP URIs so that people can look up those

names• When someone looks up a URI, provide useful

information, using the standards (RDF, SPARQL)• Include links to other URIs, so that they can

discover more thingsTim Berners-Lee

Page 7: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Querying linked location data

Linked GIS Service (Known)

Linked GIS Service (Unknown)

Query (URI/SPARQL)

Query (URI/SPARQL)

Page 8: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Querying linked location data

• Potential for developing more flexible means of data sharing and accessibility

• Potential for solving the problems of data harmonisation through complex web services

Linked GIS Service (Known)

Linked GIS Service (Unknown)

Query (URI/SPARQL)

Query (URI/SPARQL)

Page 9: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Location URIs for the UK• “Designing URI sets for location”, 2010

– STFC advised on development

• Part of the UK Location Strategy

• Extend INSPIRE to include linked data publication

Page 10: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

URIs for the UK public sector

• “Designing URI Sets for the UK Public Sector”, 2009• Identifier (id)

• http://education.data.gov.uk/id/school/121242 • Document (doc)

• http://education.data.gov.uk/doc/school/121242 • Representation

• http://education.data.gov.uk/doc/school/121242.html • http://education.data.gov.uk/doc/school/121242.rdf

• Definition / ontology (def)• http://education.data.gov.uk/def/school/

Page 11: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

How it workshttp://education.data.gov.uk/id/school/121242 (ID URI)

Thing

Generic Document

http://education.data.gov.uk/doc/school/121242 (Doc URI)

RDF HTML

http://education.data.gov.uk/doc/school/121242.rdf http://education.data.gov.uk/doc/school/121242.html

303 redirect

ContentNegotiation

application/rdf+xml wins text/html wins

.../def/school (Def URI)

definition

Page 12: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Location URIs for the UK‘Spatial Thing’ http://ea.gov.uk/id

/HY/Watercourse/Thames

‘web document’http://ea.gov.uk/doc/HY/Watercourse/Thames

rdfs:seeAlso http://ea.gov.uk/so/HY/Watercourse/ea-UKrivers/e7w1rdfs:seeAlso http://geotod/so/HY/Watercourse/stfc-strategi/4a97ov:similarTo http://ceh.nerc/so/HY/Watercourse/nerc-hydrodb/thames-001

‘303 See other:’

‘Spatial Object’http://geotod/so/HY/Watercourse/stfc-strategi/4a97.rdf

http://geotod/so/HY/Watercourse/stfc-strategi/4a97.htmlhttp://geotod/so/HY/Watercourse/stfc-strategi/4a97.kmlhttp://geotod/so/HY/Watercourse/stfc-strategi/4a97.gml

‘content negotiation’

‘Id’ URI

‘Doc’ URI

‘So’ URI

Page 13: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

GeoTOD-II

• Geospatial Transformation with OGSA-DAI

• Publish spatial data as linked data

• Conform to UK Cabinet Office recommendations

• Leverage existing related technologies

Page 14: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Requirements

Community Data Model/Vocabulary/Ontology

VS

http://domain/104014/5sfd/2442 http://domain/myserver/mydata

Existing data and GIS

services

Linked Data Service

Opaque URIsBespoke human-readable

URIs

Page 15: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

How to interpret the guidelines?

Spatial Object

(SO URI)

Spatial Object

(SO URI)

Spatial Thing

(ID URI)

Spatial Thing Metadata (Doc URI)

???303 redirect

What info

Master Catalogue of

Spatial Objects

???Who owns it

???Register

Spatial Object

(SO URI)

Page 16: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

How to represent the ontology?

• INSPIRE’s UML conceptual models• How to transform to OWL/RDF?• How to address import of ISO schemas? e.g.

• ISO 19107 (spatial schemas)• ISO 19115 (geospatial meta data)

• Unofficial and incomplete ontologies• UK Environmental Agency’s Bathing Water ontology• OGC GeoSPARQL working group

• Substantial tasks • Require involvement of the wider community

Page 17: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Converting UML to RDFS

http://tiger.dl.ac.uk:8080/rdfsgenerator

Page 18: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Existing linked data solutions

Existing open source linked data server products

UK Environmental Agency linked data server

(data.ordnancesurvey.co.uk)

Spanish geo-linked data server(geo.linkeddata.es)

Existing Linked-Data Services

Page 19: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Existing linked data solutions

• May not always have database access

• Limited scope for extending functionality– Add GIS service for GML-based data– Expose GML formats

• Need an extensible solution

Page 20: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

GeoTOD-II linked data framework

Page 21: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

OGSA-DAI SO store

Web resources

Relational resources

Linked SO

Store

OGSA-DAI service

Geotod-D2RQ

RDB

Workflow

Generate RDB-specific SQL using mapping file

SPARQL query+

output formatting

D2RQ Mappin

g File

SQL

GeoServer WS

GML query

Page 22: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

GeoTOD prototype

• Test data• Ordnance Survey Strategi data set• UK natural and man-made features• ESRI shapefiles => SQL

• Ontology generation• Relevant INSPIRE models e.g. HY, TN• INSPIRE UML => XML Schema => RDFS• Easier than UML => RDFS direct

Page 23: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

GeoTOD-II demo server

http://tiger.dl.ac.uk:8080/geotodls/index.html

Page 24: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Spatial thing HTMLhttp://tiger.dl.ac.uk:8080/id/TN/RailwayStationNode/heathrow-terminal-4-station

Page 25: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Spatial thing RDFhttp://tiger.dl.ac.uk:8080/id/TN/RailwayStationNode/heathrow-terminal-4-station

Page 26: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Spatial object GML http://tiger.dl.ac.uk:8080/so/TN/RailwayStationNode/tn-ra/984

Page 27: An Open Source Linked Data Infrastructure for Publishing Geospatial Data
Page 28: An Open Source Linked Data Infrastructure for Publishing Geospatial Data

Conclusions• GeoTOD framework

• Conforms to UK Cabinet Office location URIs• Plug-in support for new data sources or representations

• Should benefit projects and organisations looking to deploy existing geospatial data assets as linked data• Advanced Climate Research Infrastructure for Data

• http://www.cru.uea.ac.uk/cru/projects/acrid/index.htm

• Further work• Engage with linked data and geospatial communities• Develop into efficient and reliable product

• http://sourceforge.net/projects/geotod


Recommended