Skip to content
/ FAIR_CxE Public

Supporting information for the Manuscript: TITLE

License

Notifications You must be signed in to change notification settings

PBR/FAIR_CxE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAIR_CxE: CxE potato data integration

DOI

This repository holds the files associated with Chapter 4 of E. Papoutsoglou's thesis.

You can find 3 docker containers for the following:

  1. A simple FAIR data point for the dataset in question (uses Python 3 / flask)
  2. A SPARQL server hosting the phenotypic (meta)data and the weather datasets (uses Fuseki)
  3. Jupyter notebooks for:
    • the conversion of a MIAPPE spreadsheet file to RDF (phenotypic metadata)
    • the conversion of tabular phenotypic data files to RDF
    • the exploration of the produced RDF as pulled from container (2), and some visualizations.

Folders and files

The contents of this repository are organized by container. The all_containers folder has 4 subdirectories.

  1. common_files:

  2. server-fdp: Files required for the container hosting the FAIR Data Point (FDP).

  3. server-fuseki: Files required for the container hosting the SPARQL endpoint(s).

    • Dockerfile: File to help set up the docker container.
  4. server-jupyter: Files required for the container hosting the Jupyter notebooks.

How to use

These containers have been tested with Docker version 20.10.x. Make sure that a compatible version of the software is installed on your computer.

You can start the relevant processes (jupyter notebook, FDP server, Fuseki SPARQL endpoint) with the docker-compose up command at the root of this repository.

The services will become available at:

Note that any changes made to the files on the docker containers are not persistent.

When the Docker containers are created, the following will happen:

  • The .ttl files in data-generated will be loaded into the SPARQL endpoint.
  • The FDP will become accessible.
  • The Juputer notebooks will become executable. They use the data in data-original to produce the files in data-generated.

New data can be uploaded to the SPARQL endpoint through its GUI.

The containers can be stopped by pressing Ctrl + C twice, and then removed with docker-compose down.
The images created can be deleted with:

  • FOR /f "tokens=*" %i IN ('docker images -q cxe') DO docker rmi %i (on Windows)
  • docker rmi $(docker images \-q test) (otherwise)