Interface CortexOntology

All Known Subinterfaces:
Cortex

public interface CortexOntology
Exposes the ontology a knowledge graph is built on, and its class hierarchy.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the class hierarchy of the ontology.
    Returns the ontology that this knowledge graph is built on.
  • Method Details

    • getOntology

      String getOntology()
      Returns the ontology that this knowledge graph is built on.
      Returns:
      the ontology serialized in Turtle syntax
    • getClassHierarchy

      List<OntologyClass> getClassHierarchy()
      Returns the class hierarchy of the ontology.
      Returns:
      the root classes, each carrying its subclasses, sorted by name