Skip to content

SLIPO-EU/triplegeo-ml-mappings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

triplegeo-ml-mappings

Receives as input a csv file and maps its column to the ontology of SLIPO. Functionality implemented in FieldMatcher object.

FieldMatcher Functions

public void makeModels(String inFolderPath, String outModelsPath)

Reads all .yml and .csv from inFolderPath. In the folder, each .yml mapping file should be matched to a .csv data file

Serializes a FieldMatcher object containing the trained classifiers to outModelsPath.

public Mappings giveMatchings(String csvPath)

Receives the path to a .csv file. Produces a Mappings object with the mappings for each column of the .csv file.

Build

To build the project:

mvn clean install

Run

To create model:

java -jar target/field-matcher.jar -d "<path to data and mapping files>" -o "<path to model file>"

To compute field mappings:

java -jar target/field-matcher.jar -m "<path to model file>" -f "<path to input data file>"

About

Provide ML-based column mappings for Triplegeo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages