Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (15 loc) · 924 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 924 Bytes

gateways

This directory contains the gateways that transform the raw data provided by the INPS into linked data compliant with g0v financial report application profile:

Gateways are simple stand-alone php7 scripts that read a csv stream row by row from STDIN and write RDF turtle statements on STDOUT.

stand alone gateways development and testing

Gateways can be tested stand alone just with any host providing php7; e.g.:

docker run --rm -ti -v $PWD/.:/app composer bash
composer install
php gestionale.php id_ds_entrate < tests/data/entrate.csv
php gestionale.php id_ds_uscite < tests/data/uscite.csv
php categorie.php < tests/data/categorie.csv

The gateways must generate valid RDF statements in turtle (n3) or any other RDF serialization format. Check the gateway results using an online service like http://rdf-translator.appspot.com/