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 //affiliation 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: name of the knowledge base is the only annotation which is not optional.
- @id: id of the knowledge base, normally the name in machine readable code
- @author: author of the knowledgebase
- @affiliation: affiliation of the author
- @filename: filename for the downloadable knowledge base file
- @version: version of the knowledebase
- @status: status of the knowledgebase
- @uses: packages used by the knowledgebase
The markup, as defined above, will look as follows: