KnowledgeBase#

The KnowledgeBase markup defines the core point for each ontology. Defining a knowledg base without this markup is not possible.

Syntax#

The syntax of the KnowledgeBase markup is defined as follows
 
%%KnowledgeBase 
  doc knowledge base	    	    	    //name of the knowledgebase
  @id:doc_knowledge_base 	    	    //machine readable name of the knowledgebase
  @author: Max Mustermann	    	    //author of the knowledgebase
  @affiliation: Mustermann GmbH	    	    //affiiliation of the author
  @filename: docKnowledgeBase.d3web 	    //filename for the downloadable knowledge base file
  @version: 1.0	    	    	    	    //version of the knowledebase
  @status: beta	    	    	    	    //status of the knowledgebase
  @uses: doc_package	    	    	    //packages used by the knowledgebase
  
%

As one can see above, several annotations can be added to the Knowledgebase markup:

  • name: the name of the knowledge base is the only annotation which is not optional.
  • @id: the id of the knowledge base, normally the name in machine readable code
  • @author: the author of the knowledgebase