Skip to content

Script and services to extract data from raw files JSON,csv,tsv and create Polifonia KG

Notifications You must be signed in to change notification settings

polifonia-project/KG_data_transformation

Repository files navigation

Polifonia KG transformations

Script and services to extract data from raw files JSON, csv, tsv and create Polifonia KG.

In this repository we collect datasets and data populating polifonia KG.

Data are modelled according to the Polifonia Ontology Network

Latest version of the Polifonia KG deployable with docker is available.

RDF

Data populating the KG are:

Transformations

Transformation producing RDF are:

Dev

To create a transformation for new data create a folder with following tree at the root of this project.

my_transformation_etl
    | _ data
    |   |_ mydata.{csv,json,...}
    |
    | _ kg
    |   |_ my-transformation-kg-latest.ttl
    |
    | - queries
        |_ my-transformation-latest.sparql

Be sure that at least a {my-transformation}-latest.ttl and {my-ouput-kg}-latest.ttl is presented at the specified paths. Polifonia KG Sparql Endpoint will point to these locations while harvesting data.

Test

You can manually test latest versions of KG if you have kgdd installed with following commands:

kgdd -t ./places_etl/kg/test/testbed-latest.json -f ./places_etl/kg/polifonia-kg-places-latest.ttl

kgdd -t ./harmonic_sim_etl/kg/test/testbed-latest.json -f ./harmonic_sim_etl/kg/polifonia-kg-harmonic-sim-latest.ttl

About

Script and services to extract data from raw files JSON,csv,tsv and create Polifonia KG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published