{"id":22586,"date":"2019-10-03T07:42:23","date_gmt":"2019-10-03T06:42:23","guid":{"rendered":"https:\/\/developer.kore.ai\/developer-2\/?p=22586"},"modified":"2019-10-03T07:45:26","modified_gmt":"2019-10-03T06:45:26","slug":"knowledge-ontology","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v7-0\/docs\/bots\/bot-builder-tool\/knowledge-task\/knowledge-ontology\/","title":{"rendered":"Knowledge Ontology"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>Kore.ai Knowledge Graph helps you turn your static FAQ text into an intelligent, personalized conversational experience. It goes beyond the usual practice of capturing FAQs in the form of flat question-answer pairs. Instead, Knowledge Collection enables you to create an ontological structure of key domain terms and associate them with context-specific questions and their alternatives, synonyms, and Machine learning-enabled classes. This Collection, when trained by the platform, generates a Knowledge Graph that enables an intelligent FAQ experience.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h2 id=\"ontology\"><span class=\"ez-toc-section\" id=\"Knowledge_Ontology\">Knowledge Ontology<\/span><\/h2>\n<p>This document is intended to familiarize the reader with the terms used in building Knowledge Collection.<\/p>\n<p><a href=\"\/docs\/bots\/bot-builder-tool\/knowledge-task\/creating-a-knowledge-graph\/\" target=\"_blank\" rel=\"noopener noreferrer\">Jump directly to KG Creation<\/a>.<\/p>\n<h4>Terms or Nodes<\/h4>\n<p>Terms or Nodes are the building blocks of an ontology and they can be used to define the fundamental concepts and categories of a business domain.<\/p>\n<p>As shown in the image below, you can organize the terms on the left-hand panel of the Bot Ontology window in a hierarchical order to represent the flow of information in your organization. You can create, organize, edit, and delete terms from there.<\/p>\n<p>For easier representation, we identify some special nodes using the following names:<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/11\/nodes.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12099\" src=\"\/wp-content\/uploads\/sites\/11\/nodes.png\" alt=\"\" width=\"488\" height=\"419\" \/><\/a><\/p>\n<h5>Root Node<\/h5>\n<p>Root node forms the topmost term of your Bot Ontology. A Knowledge Collection consists of only one root node and all other nodes in the ontology become its child nodes. Root node takes the name of the bot by default, but you can change it later.<\/p>\n<h5>First-level Nodes<\/h5>\n<p>The immediate child nodes of the root node are known as First-level nodes. There can be any number of First-level nodes in a collection. It is recommended to keep First-level nodes to represent high-level terms such as the names of departments or functionality. Examples &#8211; Personal Banking, Online Banking, and Corporate Banking.<\/p>\n<h5>Leaf Node<\/h5>\n<p>Any node to which question-answer sets are added is called a <i>Leaf Node<\/i>, be it First-level, Parent, or Child.<\/p>\n<h5>Parent-Child Relationship<\/h5>\n<p>Depending on their position in the ontology, a node plays different roles, for example, it becomes a <i>Parent Node<\/i> when a subcategory or <i>Child Node<\/i> is added to it. A parent node is in simple terms a category that may have one or more subcategories under it, called the child nodes. Examples: Loan is the parent node of Home Loan and Personal Loan. Personal Loan can again have two child nodes: Rate and Fees, Help and Support.<\/p>\n<div class=\"alert alert-info\"><b>Note<\/b>: A parent can have any number of child nodes, but a child can only have a single parent node.<\/div>\n<h4>Synonyms<\/h4>\n<p>Users would use a variety of alternatives for the terms of your ontology. Knowledge Collection allows you to add synonyms for the terms to include all possible alternative forms of the terms. Adding synonyms also reduces the need for training the bot with alternative questions.<\/p>\n<p>For example, the Internet Banking node may have the following synonyms added to it: Online Banking, e-banking, E-banking, Cyberbanking, and Web banking.<\/p>\n<p>When you add a synonym for a term in the Knowledge Collection, you can add them as local or global synonyms. Local synonyms apply to the term only in that particular path, whereas global synonyms apply to the term even if it appears on any other path in the ontology.<\/p>\n<h4>Traits<\/h4>\n<p><strong>Note:<\/strong> From ver 7.0, Traits replace Classes of ver 6.4 and before.<\/p>\n<p>A trait is a collection of typical end-user utterances that define the nature of a question when they ask for information related to a term. A trait is a common feature that can be applied to multiple terms across your Bot Ontology.<\/p>\n<div class=\"alert alert-info\"><b>Note<\/b>: Traits also help you filter nodes based on associated user utterances. So, if the user types an utterance that is present in a trait, the bot only searches the nodes to which the trait is applied. If the utterance is present in any other node to which the trait is not applied, the node is ignored by the bot.<\/div>\n<h4>Questions and Answers<\/h4>\n<p>These are the actual questions associated with your business domain and their corresponding responses. The question-answer pairs must be added to relevant nodes in your bot ontology. A question may be asked differently by different users and to support this, you may associate multiple alternate forms for each question.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/11\/question-answers.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-12100 alignnone\" src=\"\/wp-content\/uploads\/sites\/11\/question-answers.png\" alt=\"\" width=\"1047\" height=\"385\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Kore.ai Knowledge Graph helps you turn your static FAQ text into an intelligent, personalized conversational experience. It goes beyond the usual practice of capturing FAQs in the form of flat question-answer pairs. Instead, Knowledge Collection enables you to create an ontological structure of key domain terms and associate them with context-specific questions and their alternatives,...","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-22586","post","type-post","status-publish","format-standard","hentry","category-knowledge-task"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v7-0\/wp-json\/wp\/v2\/posts\/22586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v7-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v7-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-0\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-0\/wp-json\/wp\/v2\/comments?post=22586"}],"version-history":[{"count":3,"href":"https:\/\/developer.kore.ai\/v7-0\/wp-json\/wp\/v2\/posts\/22586\/revisions"}],"predecessor-version":[{"id":22590,"href":"https:\/\/developer.kore.ai\/v7-0\/wp-json\/wp\/v2\/posts\/22586\/revisions\/22590"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v7-0\/wp-json\/wp\/v2\/media?parent=22586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-0\/wp-json\/wp\/v2\/categories?post=22586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-0\/wp-json\/wp\/v2\/tags?post=22586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}