Skip to main content

Schema Visualization

PBS Knowledge uses TerminusDB as its knowledge graph database with a rich ontology modeling the academic domain. This page provides visual representations of the data model.

Type Hierarchy

The following diagram shows the inheritance relationships between entity types. Abstract base classes are at the top, with concrete implementations below.

Key Observations

  • Person Hierarchy: All people (Faculty, Students, Staff, Postdocs) inherit from the base Person class which provides common fields like name, email, and profile image.
  • Student Types: Undergraduate and Graduate students share common academic fields but have different requirements and workflows.
  • Resource Types: Software, Tutorials, and Datasets all inherit from a common Resource base class.

Entity Relationship Diagram

The ERD below shows how entities relate to each other in the knowledge graph. Lines indicate relationships, with cardinality markers showing one-to-one, one-to-many, or many-to-many relationships.

Domain Categories

The schema is organized into the following conceptual domains:

CategoryEntity TypesDescription
PeoplePerson, Faculty, Students, Staff, PostdocAll individuals in the PBS department
AcademicsDegree, RequirementGroup, RequirementRuleDegree programs and their requirements
CoursesCourse, Section, CourseEnrollmentCourse catalog and enrollments
ResearchLab, Project, ResourceResearch labs, projects, and shared resources
PublicationsPublication, Author, AuthorMappingScholarly publications and author attribution
MilestonesMilestoneTemplate, MilestoneInstanceAcademic progress tracking
ThesisThesisRequest, ThesisApprovalHonors thesis workflow

Interactive Visualization

For an interactive visualization of the schema, administrators can access the Schema Viz tool in the admin dashboard:

  1. Navigate to Admin Dashboard
  2. Go to System tab
  3. Select Schema Viz

The interactive tool allows:

  • Filtering by category
  • Zooming and panning
  • Clicking nodes for detailed property information
  • Different layout options (force-directed, hierarchical, circular)

Full Ontology Graph

The following diagram shows all entity types and their relationships in a graph layout similar to the interactive Cytoscape visualization available in the admin dashboard.

Graph Legend

SymbolMeaning
-->Inheritance (subclass)
-.->Relationship (property reference)
(( ))Entity type (node)
SubgraphDomain category grouping

Entity Counts

The PBS Knowledge graph currently contains:

CategoryTypesDescription
People6Person and subtypes (Faculty, Students, Staff, Postdoc)
Research6Labs, Research Centers, Projects, Publications
Academics6Degrees, Requirements, Courses, Sections, Enrollments
Resources4Base Resource and subtypes (Software, Tutorial, Dataset)
Planning2Academic Plans and Planned Courses
Milestones5Milestone tracking and approvals
Thesis7Honors thesis and independent research workflows
Admin4Groups, API Keys, Tasks, Update Jobs
Total40Entity types in the ontology

Schema Documentation

For detailed documentation of each entity type and its properties, see the Schemas page.