www.vlaanderen.be/informatievlaanderen
SHACL Validator
Open Standards for Linked Organisations (OSLO)
At the crossroads
OSLO - Motivation
3
Impact on the quality and the efficiency of public services
Multiple investments for interlinking data
Authoritative sources exist as independent silo’s
Information is structured/modelled from one perspective
Applications look at the ‘real world’ from different perspectives
OSLO – Raising Interoperability
4
Create OSLO enabled products
Aggregate information from different national, regional and local egovernment
information systems
Create context neutral OSLO semantic models
Develop common standardisation methodology
Share and Re-use - ISA²
OSLOPERSON
VOCABULARY
OSLOBUSINESS
VOCABULARY
OSLOPUBLIC SERVICEVOCABULARY
OSLOORGANISATIONVOCABULARY
OSLODCAT-AP VL
VOCABULARY
W3CInternationalStandards
EU ISA COREVocabularies
OSLOExtention
EU - ISA²Federal GovernmentRegional GovernmentLocal GovernmentIndustryAcademia
OSLOPERSON
VOCABULARY
> http://test.data.vlaanderen.be/doc/applicatieprofiel/dienstencataloog
Example: dienstencatalogus (CPSV-AP)
6
> Support developers and analysts with the adaption and implementation of the OSLO data standards.
SHACL Validator - Objectives
7
Adapt and optimise current services and applications
Receive feedback on optimalisations, errors, ...
Check data generated by services or applications against OSLO data standard
Conformance validation
JSON-LD • Has no formal standardized method for data validation
SHACL• Shapes Constraint Language • W3C Recommendation 20 July 2017• A language for validating RDF graphs
against a set of conditions. • expresses all constraints for an application profile,
a REST call often only expose a subset
Examples • Person, Organisation, Address, Public Service, Feedback,
Notification, Consent, Loan, Transactional Service, Road• Examples on GitHub: SHACL - GitHub
Collaborative Governance
9
SHACL RULES
Shapes Constraint Language (SHACL) Validator
10
To describe a public service
An attribute “naam” is specified
With datatype langString
And is defined by dcterms:title
A second attribute “heeftVerantwoordelijke” is specified
With range cv:PublicOrganisation
And is defined by cv:hasCompetentAuthority
> This tool provides a way of validating RDF graphs against the Application Profiles available within the OSLO context. The validation is based on the SHACL Shapes Constraint Language, a language for validating RDF graphs against a set of conditions. SHACL is a W3C recommendation since 20 July 2017.
SHACL Validator – demo
> Demo
> Open Source
> This Slide Deckhttps://bit.ly/shacl_cpsv
> SHACL Validator (Demo):http://52.50.205.146:8081/SHACLValidatorOSLO2/
> SHACL Validator (Demo Data):https://github.com/Informatievlaanderen/OSLO2Validator/commit/bfe4c82da547abc10930238058c5e1ddcd40b63d
> SHACL Validator (Open Source):https://github.com/Informatievlaanderen/OSLO2Validator
> Vocabularies and Application Profiles: http://data.vlaanderen.be/ns/
Pointers
12
https://overheid.vlaanderen.be/informatie-vlaanderen
13@info_vlaanderen @rafke