Protégé provides an interface which other applications can use to access knowledge bases.
These applications need not use or display any of the Protégé user interface. The programmatic
interface to Protégé projects and knowledge bases is through the
edu.stanford.smi.protege.model.Project
class in the protege.jar file. This class has a
getKnowledgeBase()
method that provides access to the contents of the knowledge base. Information
about this class and related classes is in the
Protégé
API documentation.
We have provided two example programs that demonstrate the use of the Protégé API: