Skip to content

risg99/SDM_Lab_3

Repository files navigation

SDM_Lab_3

Knowledge Graphs lab for the "Semantic Data Management" Course at Polytechnic University of Catalonia.

Packages needed are mentioned in the requirements.txt file. Initial json file with data is downloaded from semanticscholar.

  1. Run the B1_TBOXCreation.py file to define the schema of the graph.
    Result is saved to "data/tbox.ttl" in the turtle format.
  2. Run the B2_ABOXCreation.ipynb to upload data in the graph.
    Results can be found in "data/abox.ttl".
  3. Run the B3_TBOX_ABOX_Connection.ipynb to define the types of instances.
    Results is saved to "data/tbox_abox_connection.ttl".

The graph can be explored with GraphDB. Create a new repository, choose RDF-plus (Optimized) ruleset. Import 3 .ttl files. Explore the "Class hierarchy" and "Class relationships" tabs.

About

This is the laboratory 3 for Semantic Data Management Course of BDMA - Semester 2 at UPC.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published