- About DisLocKG
- Repository Description
- Getting started with DisLocKG Docker container
- Uploading the knowledge graph into the triplestore
- Querying the graph using the SPARQL endpoint
- Contact
- Acknowledgements
- License
DisLocKG is a knowledge graph that presents data regarding dislocation in crystalline materials, arranged in a semantic network. DisLocKG also preserves the provenance information of the data, which includes the creator's data, software used, and software version utilized to produce the data. Currently, we have generated approximately 2.2 million triples that are saved as RDF files as of 01/08/2023.
- You can find raw data here.
- All data files are in the HDF5 format (.h5).
- To generate the RDF graph from the given raw data, we developed a python script using the RDFLib python library and execute it with
python map_data.py
. - You can find a set of competence questions (CQs) along with SPARQL queries here.
To begin, you must set up and execute a Virtuoso Open Source instance that includes a SPARQL endpoint. If you plan to run the DisLocKG Docker container, ensure that Docker is installed on your device and follow the instructions provided below:
- Clone the repository
git clone https://github.com/Materials-Data-Science-and-Informatics/DisLocKG
- Change the directory into the DisLocKG repository
cd DisLocKG
- Build and start the containers with Docker compose
docker compose up --build
or docker-run
docker run -d --name DisLocKG --env DBA_PASSWORD=1234567890 --env SPARQL_UPDATE=false --env DEFAULT_GRAPH=http://localhost:8899/dislockg --publish 1111:1111 --publish 8899:8890 openlink/virtuoso-opensource-7:latest
- Wait for the Virtuoso instance to start up (you can check the logs with
docker-compose logs virtuoso
- First, download the knowledge graph from here.
- While the Virtuoso container is running (in the background), go to
localhost:8899/conductor
on your browser. You will see the page as seen in the figure below:
- On the upper left, there is a login box, please log in with a credential:
Account: dba
andPassword: 1234567890
:
- Once you have successfully logged in, follow these steps:
- Navigate to the
Linked Data
menu. - Select
Quad Store Upload
. - Locate
DisLocKG-01.08.2023.ttl
in your local machine. - Enter the name of the graph IRI as
http:localhost:8890/DisLocKG
. - Click on the upload button.
- Navigate to the
NOTE: It may take time, approx. 3-5 minutes, to upload the file.
- Once you have successfully uploaded the knowledge graph, you can access DisLocKG by querying it via the SPARQL endpoint:
localhost:8899/sparql
- All CQs are available in CQs
You may contact the author of DisLocKG via a.ihsan@fz-juelich.de
- European Research Council through the ERC Grant Agreement No. 759419 MuDiLingo (”A Multiscale Dislocation Language for Data-Driven Materials Science”)
- Helmholtz Metadata Collaboration (HMC) within the Hub Information at the Forschungszentrum Jülich.
The code is licensed under the MIT license.