Skip to content

tenforce/esco-mapping-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapping Platform: Import Concepts Service

Quickstart

Build the Docker Image

docker build -t import-concepts .

Run the Container

docker run -it --rm -v $PWD:/app \
    --link some-db:db \
    -e SPARQL_ENDPOINT="http://db:8001/openrdf-sesame" \
    -e SPARQL_REPOSITORY=TEMP \
    -e SPARQL_USER=escordf -e SPARQL_PASSWORD=secret \
    -v /data \
    -p 80:9000 \
    import-concepts

Warification

docker run -it --rm -v $PWD:/app import-concepts war

Database Configuration

Virtuoso

You need to provide the CRUD URL of Virtuoso:

SPARQL_CRUD_ENDPOINT=http://db:8890/sparql-graph-crud

OWLIM

You need to provide the URL of the database, the repository and probably the credentials:

SPARQL_ENDPOINT=http://db:8001/openrdf-sesame
SPARQL_REPOSITORY=TEMP
SPARQL_USER=escordf
SPARQL_PASSWORD=secret

Change the Application Graph

docker run ... \
    -e GRAPH="http://custom/graph" \
    ...

Notes

  • This service is currently checking that the concept schemes do not already exist in the application graph before continuing. This is fine for now but we may want to move this check to the move-graph service for instance (and/or the validation).

Links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages