unlocking the full potential of location-based services ... · informatie vlaanderen 308...

24
www.vlaanderen.be/informatievlaanderen Unlocking the full potential of location-based services: Linked Data driven Web APIs Open Standards for Linked Organisations about Raf Buyle – Ziggy Vanlishout

Upload: others

Post on 05-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

www.vlaanderen.be/informatievlaanderen

Unlocking the full potential of location-based services: Linked Data driven Web APIs

Open Standards for Linked Organisations about

Raf Buyle – Ziggy Vanlishout

Page 2: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

Informatie Vlaanderen

308 municipalities

2068 private

partners

6.4 M citizens

978 public

partners

Federal & 3

regions

EU

At the crossroads

Page 3: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

E-government driven by Semantical and Technical interoperability

Open Standards for Linked Organisations

@rafke

Page 4: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

Building upon existing interoperability initiatives

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel4

OSLOPERSON

VOCABULARY

OSLOBUSINESS

VOCABULARY

OSLOROAD

VOCABULARY

OSLOORGANISATIONVOCABULARY

OSLODCAT-AP VL

VOCABULARY

W3CInternationalStandards

EU ISA COREVocabulariesand INSPIRE

Local OSLOExtensions

Public Working Groupswith:

> EU - ISA²

> Federal Government

> Regional Government

> Local Government

> Industry

> Academia

… and more

Page 5: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

https://data.vlaanderen.be/ns/

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel5

> Person

> Organisation

> Address

> Building

> Road

> Public Service

> Transactional Services

> Civic issue tracking

> Notification

> Consent (GDPR)

> Contact preferences

> Government Grants

> Public Domain

> Local Decisions

> Political Mandate

Page 6: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

> Governance Body empowered by Parliament

> A process and method for developing data standards (ISA²/W3C…)

> Triple Helix approach: Government, Private Sector, Academia

Governance model

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel6

Governance

1 16 130 1000+

Domain models

Contributors Definitions

Collaborative development

Public review of a candidate standard

Build reference implementations

Acknowledge + publishas standard

Page 7: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

Technical Interoperability

The Semantic Web as an interoperability facilitator

@rafke

Page 8: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

Bridging the gap between models and implementationTwo distinct use cases

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel8

Base registries

• Unique identification of objects

• Exposed via data standards

Business oriented web services

• Querying, editing and transforming data

• From different sources

• To meet business use cases

Page 9: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

1. Embed semantics into data formats

2. Validation of data resources based on semantic models

3. Building a generic hypermedia client

How can we lower costs for data and service integration?

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel9

Page 10: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

The Web as a Blueprint

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel10

Page 11: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

The Web as a Blueprint

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel11

http://bit.ly/joinup_uri

Persistent identifiers: URIs

Links to other information

Dereference-able HTTP URIs

Standardised information (RDF)

http://data.vlaanderen.be/id/adres/3706808

Koningin Maria Hendrikaplein 70, 9000 Gent

Page 12: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

The Web as a Blueprint

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel12

Persistent identifiers: URIs

Links to other information

Dereference-able HTTP URIs

Standardised information (RDF)

http://data.vlaanderen.be/id/adres/3706808

Machine friendlyHuman

Readable

Page 13: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

The Web as a Blueprint

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel13

Persistent identifiers: URIs

Links to other information

Dereference-able HTTP URIs

Standardised information (RDF)

https://data.vlaanderen.be/ns/adres

https://www.w3.org/ns/locn#adminUnitL2

Page 14: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

The Web as a Blueprint

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel14

Persistent identifiers: URIs

Links to other information

Dereference-able HTTP URIs

Standardised information (RDF)

http://data.vlaanderen.be/id/adres/3706808

data.vlaanderen.be/id/organisatie/OVO002949

Koningin Maria Hendrikaplein 709000 Gent

Agentschap Informatie Vlaanderen

Page 15: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

There is more to publishing linked data than data dumps and SPARQL endpoints

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel15

Source: http://linkeddatafragments.org

high server efforthigh client effort

Page 16: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

JSON Linked Data (JSON-LD)

✓ A developer friendly Linked Data format, based on the successful JSON format

✓ Machine interpretable semantics through “context file”

✓ 100% compatible with JSON and easy to retrofit

× No formal, standardised method for data validation

× Semantics about data are machine readable, service methods and operations are not

Syntactical interoperability and embedding semantics into services.

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel16

Page 17: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

Upgrading existing web servicesRetrofitting semantics using JSON-LD

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel17

{

"@context": {

"Picnictable": "http://data.vlaanderen.be/ns/openbaardomein/infrastructuurelement#Picknicktafel",

"identificator": "http://www.w3.org/ns/adms#identifier",

"geometrie": {

"@id": "http://www.w3.org/ns/locn#geometry",

"@type": "http://www.opengis.net/ont/geosparql#wktLiteral>"

},

"Point": "http://www.opengis.net/ont/sf#Point",

"coordinates": "http://www.opengis.net/ont/geosparql#asWKT"

},

"@id": "https://example.org/graphs/picknicktable-1234",

"@type" : "Picnictable",

"geometrie" : {"type":"Point","coordinates":"POINT(3.712,51.0248)"},

}

Page 18: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

Shared context for new servicesAutomatically derived from RDF vocabularies

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel18

{

"@context": "http://data.vlaanderen.be/context/infrastructuur.jsonld"

"@id": "https://example.org/graphs/picknicktable-1234",

"@type" : "Picnictable",

"geometrie" : {"type":"Point","coordinates":"POINT(3.712,51.0248)"},

}

Page 19: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

✓ Shapes Constraint Language

✓ W3C Recommendation since 20 July 2017

✓ A standard for validating RDF data against a set of constraints

(cardinalities, domain, range, code lists,…)

✓ SHACL files available for all Vocabularies & Application Profiles

Data validation using SHACL

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel19

Page 20: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

> As-is: data is semantically annotated using web standards, but the operations and methods for using the data through APIs are not

> Problem: still high integration costs due to the need for bespoke connectors between API’s to exchange information in real time.

> To-be: standardisation of frequently used methods (pagination, querying, CRUD,…) using Hypermedia and API standards/best practices.

Towards generic Hypermedia-driven API clients

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel20

Page 21: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

Generic hypermedia clients

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel21

Page 22: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

Wrap-up: end-to-end process

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel22

Page 23: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

And reusable tooling

INSPIRE Conference 2018 - titelsessie zelf toevoegen via diamodel23

OSLO² UML modelling using Smart Tags containing labels, definitions and pointers to re-used vocabularies (URIs).

Model

UML is transformed to RDF (Turtle) using an EA-to-RDF tool (OSS)Transform

Generation of HTML spec (vocabulary and application profile), JSON-LD context and SHACL using the OSLO Specification Generator

Specs

Validation using Ontology Pitfall Scanner, Turtle syntax validator and JSON-LD validator. Published on Github and data.vlaanderen.be

Publish

Page 24: Unlocking the full potential of location-based services ... · Informatie Vlaanderen 308 municipalities 2068 private partners 6.4 M citizens 978 public partners Federal & 3 regions

www.vlaanderen.be/informatievlaanderen

Come to

TrefdagDigitaalVlaanderen

29/11/2018 ICC Ghent