KASTLE Drawbridge
KASTLE Drawbridge is the formulation of a “zero-to-hero” curriculum for learning and using knowledge graphs. It assumes no code experience, and runs you through being able to develop a knowledge graph, and query against it.
Table of Contents
-
Foundation
-
Data Types
-
Conditionals and Loops
-
Conditionals
-
Loops
-
Data Structures
-
File I/O
-
Exception Handling
-
Supplementary Material
-
Assignments
-
Assignment 1
-
Assignment 2
-
Assignment 3
-
Assignment 4
-
Assignment 5
-
Assignment 6
-
Knowledge Graphs
-
Graphs
-
Graphs
-
Graph – Turtle RDF
-
Modeling Fundamentals
-
Modeling Fundamentals
-
Ontology
-
Axioms
-
Competency Questions
-
Key Notions
-
Ontology Design Patterns
-
Modeling Technologies
-
Modeling Technologies
-
Schema Diagrams
-
Protégé
-
SPARQL
-
SPARQL Tutorial
-
Querying Methods
-
Materialization
-
Supplementary Material
-
Animal Example Turtle File
-
Assignments
-
Axiom Assignment
-
Axiomization Exercise Worksheet
-
Competency Question Assignment
-
Final Project
-
Resources
-
Personas
-
Questionnaire
-
Persona Template
-
The Personas
-
Playground
-
Technical Requirements
-
Container Recipe File
-
Startup Instructions
-
Programatically Query a KG
-
RDFLib Starter File
-
Evaluation
-
Survey Questions
Before Diving In
Before beginning this content, it would be ideal to complete the persona survey so we can provide the most optimal learning path for your needs based on your prior knowledge and experience. If you are using this resource as a reference or only want to explore specific topics for your own interest, then the persona survey is not required.
If you wish to use this resource to it’s fullest potential perform the following steps below:
- Answer Persona Survey
- Get Learning Path (Persona)
- Begin Learning!
Modules
Below are summaries of the material in each module, along with helpful references that some of the material borrows from.
Foundation
The purpose of this module is to familiarize a student with the field of Computer Science and the aspects of programming. This section of Drawbridge will walk a student through how to use Python to perform the most essential and basic tasks required for knowledge engineering. These tasks include, but are not limited to, understanding data types and structures, writing and reading files, and exception handling. Assignments are provided to measure understanding, application, and retention of the concepts outlined in Foundation.
Knowledge-Graphs
This module provides details on how to create, use, and apply a knowledge graph. This material inherits information from kastle-lab\cs7810-intro-to-ke and The KGC Open KG Curriculum. This section introduces graphs, ontologies, knowledge graphs, axioms, and the software used to apply these concepts in the domain of knowledge engineering. This curriculum focuses on the KASTLE Labs preferred modeling practice, Modular Ontology Modeling (MOMo). Similar to Foundation, this module includes assignments to help students understand essential and challenging concepts in the material.
Resources
The Resources area of this repository contains templates and examples of Personas, container files and instructions, and starter code for materializing a KG. Each resource is referenced as necessary in the module material.
- Foundry: another materialization tool that parses based on YAML mapping files
Drawbridge Evaluation
This directory contains a description of the SUS evaluation performed on this material. The generated figures and survey questions are located here.
Week by week estimated framework
Below are rough time estimates for completing the Drawbridge material. It should be noted that actual times may vary and are not a strict requirement in most cases, as many users will use this resource as a reference or prefer to learn at their own pace.
Python Lesson Plan (Weeks 1-3):
- Weeks 1-2: Introduction to Python Basics
- Introduction to Python syntax and basic programming concepts.
- Variables, data types, and basic operations in Python.
- Week 3: Intermediate Python Programming
- Control flow statements (if, else, loops).
- Functions and modules in Python.
Knowledge Graph Lesson Plan (Weeks 4-9):
- Week 4: Introduction to Ontology and Use Case Documentation
- Understand the basics of ontology and its applications.
- Learn to document use cases that guide the ontology development process.
- Introduction to KASTLE lab resources for Ontology Development (Foundry, rdflib-starter.py)
- Weeks 5-6: Competency Questions and Schema Design with yEd
- Understand the importance of competency questions in guiding ontology development.
- Introduction to yEd for designing schema diagrams.
- Weeks 6-7: Ontology Development with Protégé
- Use Protégé or a similar ontology editor for creating and visualizing ontologies.
- Understand ontology design concepts and best practices.
- Week 8: Knowledge Graph Building and Project Development
- Building a simple knowledge graph using Python, RDFLib, and ontologies.
- Work on a final project, applying ontology building and Python development skills to create a knowledge graph.
- Week 9: Triplestore Basics and Jena Fuseki
- Introduction to triplestores, such as Jena Fuseki, and their role in storing and querying RDF data.
- Setting up Jena Fuseki: Learn how to set up and use Jena Fuseki.
License
By contributing, you agree to license your contributions under these same terms.