This repository contains the solutions and resources developed for Lab Assignment 2. The lab focuses on hands-on work with knowledge graphs, involving RDF schema modeling, data transformation using RDFLib, and semantic querying using SPARQL in GraphDB.
The main objectives of this lab were:
- Design and implement an ontology (TBOX) for the research publication domain.
- Create an instance dataset (ABOX) using RDFLib based on structured data.
- Use reasoning and inference in GraphDB to enhance semantic querying.
-
Install GraphDB
Download and install GraphDB Free:
👉 https://www.ontotext.com/products/graphdb/graphdb-free/ -
Start GraphDB
Launch the application and access http://localhost:7200/ -
Create a Repository
- Go to
Setup > Repositories > Create new repository
- Use ruleset:
RDFS (Optimized)
- Enable autocomplete in
Setup > Autocomplete
- Go to
-
Import RDF Data
Load the TBOX and ABOX files into the GraphDB repository via theImport > RDF
tab: -
Run Queries
Go to theSPARQL
tab and run the provided queries in theassets/
directory.