Validator voor data tegen OSLO applicatieprofielen.
2.7K
Deze repository is een onderdeel van het initiatief Open Standaarden voor Linkende Organisaties (OSLO). Meer informatie is terug te vinden op de OSLO productpagina.
Deze repository bevat de source code voor een tool die toelaat om data te valideren tegen de OSLO applicatieprofielen. Deze validator is beschikbaar via https://data.vlaanderen.be/shacl-validator/ of kan lokaal geïnstalleerd worden met behulp van onderstaande instructies.
This project was created as part of the OSLO² (Github, Vlaanderen.be) initiative by the Flemish Government. The OSLO² project aims to achieve a solid standard for data exchange between (local) governments. These data exchange formats are created as RDF vocabularies (or ontologies), following the principles of the Linked Data movement.
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.
The tool is highly reusable due to the fact that the SHACL rules and vocabularies it uses to validate the RDF Graph are retrieved from a location which can be specified in the AP_CONFIG environment variable
The configuration file takes the following form:
{
"adres-register": {
"location": "http://data.vlaanderen.be/shacl/Adresregister-SHACL.ttl",
"dependencies": ["http://data.vlaanderen.be/ns/adres.ttl"]
},
"dienst": {
"location": "http://data.vlaanderen.be/shacl/Dienst-SHACL.ttl",
"dependencies": ["http://data.vlaanderen.be/ns/dienst.ttl"]
}
}
Go to the webpage where the tool is hosted. Choose whether you want to validate an RDF graph by providing the tool with a file or with a URL.
Choose the application profile against which you want to validate the RDF graph. Next, upload the file by clicking "Bijlage toevoegen" and click the "Klik hier om te valideren" button. The allowed file extension are: ".ttl", ".xml", ".rdf", ".jsonld" and ".json". The resulting webpage will contain the following tabs of information:
Choose the application profile against which you want to validate the RDF graph. Next, input the URI in the appropriate text box. When uploading through URI, you are able to provide an optional header for the HTTP GET request through the Header Key and Header Value text box which will retrieve your RDF graph. The tool can validate RDF and JSONLD data. The resulting webpage will contain the following tabs of information:
This software is released with the EUPL 1.2 license.
Content type
Image
Digest
Size
89.4 MB
Last updated
almost 7 years ago
docker pull informatievlaanderen/oslo-shacl-validator