{"id":23019,"date":"2019-12-18T06:41:01","date_gmt":"2019-12-18T06:41:01","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=23019"},"modified":"2022-03-30T15:40:40","modified_gmt":"2022-03-30T14:40:40","slug":"how-to-build-knowledge-graph","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/how-tos\/how-to-build-knowledge-graph\/","title":{"rendered":"Building a Knowledge Graph"},"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>This article helps to quickly build and understand the working of a Knowledge Graph for your bot. It shows how to convert an FAQ into ontology, add tags, use terms, add alternate questions, synonyms, tags, and traits.<\/p>\n<p>For the implementation details, <a href=\"\/docs\/bots\/bot-builder-tool\/knowledge-task\/knowledge-ontology\/\" target=\"_blank\" rel=\"noopener noreferrer\">refer here<\/a>.<\/p>\n<p>Throughout this example we will be dealing with the following FAQs related to a banking bot:<\/p>\n<ul>\n<li>How do I apply for a debit card?<\/li>\n<li>How do I apply for a checkbook?<\/li>\n<li>How do I open a joint account?<\/li>\n<li>Can I add a joint account holder?<\/li>\n<\/ul>\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><span class=\"ez-toc-section\" id=\"Static_FAQ\">Static FAQ<\/span><\/h2>\n<p>Let us start by creating a static FAQ without an ontology.<\/p>\n<p>To add a static FAQ, follow the below steps:<\/p>\n<ol>\n<li>Open the bot.<\/li>\n<li>Select the\u00a0<strong>Build<\/strong> tab from the top menu<\/li>\n<li>On the left pane, click <b>Conversational Skills &gt; Knowledge Graph<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li>Click <b>Create<\/b> to create a Knowledge Graph.<\/li>\n<li>A Knowledge Graph with the name set to the Bot Name is created.<\/li>\n<li>Click <b>Add Intent<\/b> to start entering your FAQs.<\/li>\n<li>Select <strong>Intent<\/strong> type as FAQ<\/li>\n<li><b>Add Question<\/b> and <b>Bot Response<\/b>; then click <b>Save<\/b>.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819102041\/ht_kg_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31628\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819102041\/ht_kg_1.png\" alt=\"\" width=\"905\" height=\"683\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819102041\/ht_kg_1.png 905w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819102041\/ht_kg_1-300x226.png 300w\" sizes=\"auto, (max-width: 905px) 100vw, 905px\" \/><\/a><\/li>\n<li>Click <strong>Add Intent<\/strong> on the top-right to add more Q&amp;As.<\/li>\n<li>After you enter all the Q&amp;As, click <b>Train <\/b>to train the Knowledge Graph.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819102418\/ht_kg_2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31629\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819102418\/ht_kg_2.png\" alt=\"\" width=\"919\" height=\"311\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819102418\/ht_kg_2.png 919w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819102418\/ht_kg_2-300x102.png 300w\" sizes=\"auto, (max-width: 919px) 100vw, 919px\" \/><\/a><\/li>\n<li>Click <b>Talk to Bot<\/b> at the bottom-right to check the bot response for the added Q&amp;As.<\/li>\n<\/ol>\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><span class=\"ez-toc-section\" id=\"Tags\">Tags<\/span><\/h2>\n<ul>\n<li>Issue: Try the utterance <em>how do I apply for a credit card<\/em>?<br \/>\nWe will get did you mean dialog with reference to a question pertaining to Debit Card, which is not appropriate in this scenario. Ideally, we should see an <em>I don\u2019t know<\/em> response as you get for a totally unrelated query regarding weather.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819102733\/ht_kg_3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31630\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819102733\/ht_kg_3.png\" alt=\"\" width=\"498\" height=\"508\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819102733\/ht_kg_3.png 498w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819102733\/ht_kg_3-294x300.png 294w\" sizes=\"auto, (max-width: 498px) 100vw, 498px\" \/><\/a><\/li>\n<\/ul>\n<p>Solution<\/p>\n<p>To overcome the above situation, we can add <strong>tags<\/strong> to each question. Tags help filter the FAQs based upon the presence of some key phrases in the user utterance.<\/p>\n<p>Steps in adding Tags:<\/p>\n<ol>\n<li>Hover over the Question to find the <strong>edit<\/strong> icon.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819103157\/ht_kg_4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31631\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819103157\/ht_kg_4.png\" alt=\"\" width=\"911\" height=\"285\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819103157\/ht_kg_4.png 911w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819103157\/ht_kg_4-300x94.png 300w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/li>\n<li>Click the edit icon to add a tag to the question.<\/li>\n<li>In the <b>add tag<\/b><span style=\"font-weight: 400;\"> text box, you can find some suggestions by the platform based on the phrases present in the question. You can pick one from the list or type your own custom tag.<\/span><\/li>\n<li>For this use case, we can pick the <em>debit card<\/em> tag as suggested by the platform and <b>Save<\/b><span style=\"font-weight: 400;\"> the changes.<\/span><br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819103412\/ht_kg_5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31632\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819103412\/ht_kg_5.png\" alt=\"\" width=\"888\" height=\"272\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819103412\/ht_kg_5.png 888w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819103412\/ht_kg_5-300x92.png 300w\" sizes=\"auto, (max-width: 888px) 100vw, 888px\" \/><\/a><\/li>\n<li>Similarly, add a <em>checkbook<\/em> for the <em>How to apply for checkbook<\/em> question.<\/li>\n<li><b>Train<\/b> the bot.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819103558\/ht_kg_6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31633\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819103558\/ht_kg_6.png\" alt=\"\" width=\"909\" height=\"377\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819103558\/ht_kg_6.png 909w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819103558\/ht_kg_6-300x124.png 300w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/><\/a><\/li>\n<li><b>Talk to the Bot<\/b>, use the same utterance <em>how do I apply for a credit card<\/em>?<\/li>\n<\/ol>\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><span class=\"ez-toc-section\" id=\"Ontology\"><b>Ontology<\/b><\/span><\/h2>\n<p>For a better bot response, you must add tags for every question. But this solution is not feasible in case we have a big list of FAQs. Also, more than one question can have a tag(s) in common.<\/p>\n<p>Solution: Ontology. Based on crucial words and frequently occurring words\/phrases, FAQs are organized into groups and subgroups.<\/p>\n<p><strong>Example of Ontology<\/strong>: Continuing with the Banking bot FAQ example, we can organize the questions thus:<\/p>\n<ul>\n<li>Apply\n<ul>\n<li>Debit Card\n<ul>\n<li>How do I apply for a debit card?<\/li>\n<\/ul>\n<\/li>\n<li>Checkbook\n<ul>\n<li>How do I apply for a credit card?<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>Joint account\n<ul>\n<li>How do I open a Joint account?<\/li>\n<li>Can I add a joint account holder?<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Each group can be a node in the ontology. You can have multiple levels of the nodes forming a hierarchical structure. Moving the relevant FAQs (intents) to the nodes will associate that FAQ with the corresponding node name set as a tag.<\/p>\n<p>To create an ontology, follow the below steps:<\/p>\n<ol>\n<li>Hover over the Knowledge Graph name on the left pane and click <b>+<\/b> icon to <strong>Add Child Node<\/strong>.<\/li>\n<li>Add the Nodes as <i>Apply<\/i> and <i>Joint Account<\/i>.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104727\/ht_kg_7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31634\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104727\/ht_kg_7.png\" alt=\"\" width=\"451\" height=\"172\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104727\/ht_kg_7.png 451w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104727\/ht_kg_7-300x114.png 300w\" sizes=\"auto, (max-width: 451px) 100vw, 451px\" \/><\/a><\/li>\n<li>To add subgroups, hover over the node and use the corresponding <b>+<\/b><span style=\"font-weight: 400;\"> icon to add child nodes.<\/span><\/li>\n<li>Select the questions pertaining to Joint Account and drag and drop them to the Joint Account node.<\/li>\n<li>Repeat the process for questions related to Apply, Debit Card, and Checkbook nodes.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104823\/ht_kg_8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31635\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104823\/ht_kg_8.png\" alt=\"\" width=\"1361\" height=\"353\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104823\/ht_kg_8.png 1361w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104823\/ht_kg_8-300x78.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104823\/ht_kg_8-1024x266.png 1024w\" sizes=\"auto, (max-width: 1361px) 100vw, 1361px\" \/><\/a><\/li>\n<li>You will notice the path gets updated accordingly.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104908\/ht_kg_9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31637\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104908\/ht_kg_9.png\" alt=\"\" width=\"905\" height=\"583\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104908\/ht_kg_9.png 905w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104908\/ht_kg_9-300x193.png 300w\" sizes=\"auto, (max-width: 905px) 100vw, 905px\" \/><\/a><\/li>\n<li>Edit a question and see that the node name is added as a tag.<\/li>\n<li>This ensures that this question is qualified for a user utterance containing the term\/node name. Note that the tags you added earlier are retained and you can delete them, whereas the node names cannot be deleted.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104939\/ht_kg_10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31638\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104939\/ht_kg_10.png\" alt=\"\" width=\"1361\" height=\"307\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104939\/ht_kg_10.png 1361w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104939\/ht_kg_10-300x68.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819104939\/ht_kg_10-1024x231.png 1024w\" sizes=\"auto, (max-width: 1361px) 100vw, 1361px\" \/><\/a><\/li>\n<li><b>Train<\/b> the Knowledge Graph and <b>Talk to Bot.<\/b><\/li>\n<li>There should not be any changes in the bot responses.<\/li>\n<\/ol>\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><span class=\"ez-toc-section\" id=\"Term_Usage\">Term Usage<\/span><\/h2>\n<p>By default, the node names or terms are used in evaluating the path and coming up with a set of qualifying questions. You can tighten or relax this rule by either making the term mandatory in the utterance or marking the term\/node as organizer respectively.<\/p>\n<p>Before proceeding, let us add a few more nodes questions to our Knowledge Collection:<\/p>\n<ul>\n<li>Account\n<ul>\n<li>How do I open an account?<\/li>\n<li>How do I access my account?<\/li>\n<li>How do I check my account balance?<\/li>\n<li>How do I access my account online?<\/li>\n<\/ul>\n<\/li>\n<li>Contact\n<ul>\n<li>Who do I contact in case of an issue?<\/li>\n<li>What is your helpline number?<\/li>\n<\/ul>\n<\/li>\n<li>Complaints\n<ul>\n<li>Where can I register my query\/complaints?<\/li>\n<\/ul>\n<\/li>\n<li>Issues\n<ul>\n<li>How do I report a stolen card?<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><b>Use Case 1<\/b>: You want to ensure that the intents regarding <em>Joint Account<\/em> must be considered only when the user asked a direct question regarding the same. Any ambiguous cases must consider the Account node and not the Joint Account node.<\/p>\n<p>To address this case, we mark the term <em>Joint Account<\/em> as <b>Mandatory<\/b><span style=\"font-weight: 400;\">. This helps improve the bot&#8217;s performance.<\/span><\/p>\n<p>Steps:<\/p>\n<ol>\n<li>Hover over the node, in this case, Joint Account, and click on the <b>settings icon<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li>From the Settings section, select the <b>Mandatory<\/b> option from the dropdown next to the term name.<\/li>\n<li><b>Save<\/b> and <b>Train<\/b> the Knowledge Collection.<\/li>\n<li>Now the questions under this node are considered only if the user utterance has the node name, Joint Account in this case.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819121619\/ht_kg_11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31641\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819121619\/ht_kg_11.png\" alt=\"\" width=\"1361\" height=\"449\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819121619\/ht_kg_11.png 1361w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819121619\/ht_kg_11-300x99.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819121619\/ht_kg_11-1024x338.png 1024w\" sizes=\"auto, (max-width: 1361px) 100vw, 1361px\" \/><\/a><\/li>\n<\/ol>\n<p><b>Use Case 2<\/b>: Consider the following FAQs.<\/p>\n<ul>\n<li>Contact\n<ul>\n<li>Who do I contact in case of an issue?<\/li>\n<li>What is your helpline number?<\/li>\n<\/ul>\n<\/li>\n<li>Complaints\n<ul>\n<li>Where can I register my query\/complaints?<\/li>\n<\/ul>\n<\/li>\n<li>Issues\n<ul>\n<li>How do I report a stolen card?<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Though they do not have any phrases or terms in common, they are related to <em>Customer Care<\/em>. For ease of understanding, we can put them under a node by the same name and mark it as <b>Organizer<\/b> node, ensuring that the intents get qualified without the need to have the term phrase in the user utterance.<\/p>\n<p>Steps:<\/p>\n<ol>\n<li>Create a node <em>Customer Care.<\/em><\/li>\n<li>Drag and drop the above three nodes to this new node.<\/li>\n<li>Hover over the node, in this case, Customer Care, and click on the <b>settings icon<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li>From the Settings page, select the <b>Organizer<\/b> option.<\/li>\n<li><b>Save <\/b>and\u00a0<b>Train<\/b> the Knowledge Collection.<\/li>\n<li>Now the questions under this node are considered even if the user utterance does not include the node name.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819123114\/ht_kg_12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31644\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819123114\/ht_kg_12.png\" alt=\"\" width=\"1359\" height=\"475\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819123114\/ht_kg_12.png 1359w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819123114\/ht_kg_12-300x105.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819123114\/ht_kg_12-1024x358.png 1024w\" sizes=\"auto, (max-width: 1359px) 100vw, 1359px\" \/><\/a><\/li>\n<\/ol>\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><span class=\"ez-toc-section\" id=\"Synonyms\">Synonyms<\/span><\/h2>\n<p><strong>Use Case<\/strong>: Try <em>How do I get a debit card?<\/em> you will get a suggestive match not definitive. The reason being the bot does not understand <em>get<\/em> as being the same as <em>apply<\/em>.<\/p>\n<p>Solution: Synonyms<\/p>\n<p>To add synonyms, follow the below steps:<\/p>\n<ol>\n<li>Hover over the <strong>Apply<\/strong> node and click the <b>settings icon<\/b>.<\/li>\n<li>In the <b>Path Level Synonyms<\/b>, add <strong>get<\/strong>.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819121942\/ht_kg_13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31642\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819121942\/ht_kg_13.png\" alt=\"\" width=\"1361\" height=\"397\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819121942\/ht_kg_13.png 1361w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819121942\/ht_kg_13-300x88.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819121942\/ht_kg_13-1024x299.png 1024w\" sizes=\"auto, (max-width: 1361px) 100vw, 1361px\" \/><\/a><\/li>\n<li><b>Save<\/b> and <b>Train<\/b> the Bot.<\/li>\n<li><strong>Talk to Bot<\/strong> and use the same query <em>How do I get a debit card?<\/em><\/li>\n<li>Try <em>How do I get a checkbook<\/em>\u00a0and you will see that the synonym works here also. This is because we added the synonym at path level and it is applicable to all nodes and questions under that path\/node.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819122953\/ht_kg_14.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31643\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819122953\/ht_kg_14.png\" alt=\"\" width=\"490\" height=\"506\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819122953\/ht_kg_14.png 490w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210819122953\/ht_kg_14-291x300.png 291w\" sizes=\"auto, (max-width: 490px) 100vw, 490px\" \/><\/a><\/li>\n<li>Similarly, we can define <b>Knowledge Graph Synonym<\/b> if it is applicable to the entire knowledge graph.<\/li>\n<\/ol>\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><span class=\"ez-toc-section\" id=\"Alternate_Questions\">Alternate Questions<\/span><\/h2>\n<p>Some questions have multiple ways the user can approach them.<\/p>\n<ul>\n<li>Is there a way to see my account details from my laptop?<\/li>\n<li>Is there a mobile app that I can use to access my account?<\/li>\n<li>Does your bank support internet banking to view account details?<\/li>\n<\/ul>\n<p>All these questions pertain to one intent: <em>How do I access my account online?<\/em>. But instead of adding all these Q&amp;As as intents and repeat the response and the settings, if any, you can add these questions as alternate questions.<\/p>\n<p>To add alternate questions, follow the below steps:<\/p>\n<ol>\n<li>Hover over the question, in this case, <em>How do I access my account online?<\/em> and click the <b>edit icon<\/b>.<\/li>\n<li>In the <b>Add alternate question<\/b> enter the question.<\/li>\n<li>Add all the three queries mentioned above.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/35\/KGTut-altQs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23046\" src=\"\/wp-content\/uploads\/sites\/35\/KGTut-altQs.png\" alt=\"\" width=\"911\" height=\"587\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094238\/KGTut-altQs.png 911w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094238\/KGTut-altQs-300x193.png 300w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/li>\n<li><b>Save<\/b>, <b>Train<\/b>, and <b>Talk to the Bot<\/b>.<\/li>\n<li>Entering any of the above three questions will yield the same response as the question <em>How do I access my account online?<\/em><\/li>\n<\/ol>\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><span class=\"ez-toc-section\" id=\"Tasks_Execution\">Tasks Execution<\/span><\/h2>\n<p>Consider the query <em>How do I check my account balance?<\/em>. If the bot has a task that can give the balance, we can direct the user to the same, instead of asking the user to use the utterance to trigger the task.<\/p>\n<p>To trigger a task, follow the below steps:<\/p>\n<ol>\n<li>Before proceeding, ensure that you have a task defined for <em>Check Balance<\/em>. Let us consider a dummy dialog that displays a message.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823103716\/ht_kg_15.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31663\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823103716\/ht_kg_15.png\" alt=\"\" width=\"296\" height=\"550\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823103716\/ht_kg_15.png 296w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823103716\/ht_kg_15-161x300.png 161w\" sizes=\"auto, (max-width: 296px) 100vw, 296px\" \/><\/a><\/li>\n<li>Add the <b>Add Intent<\/b><span style=\"font-weight: 400;\"> <em>How do I check my account balance?<\/em><\/span><\/li>\n<li>Set <b>Intent<\/b> to <em>Task.<\/em><\/li>\n<li>From the drop-down list select the Dialog Task name <strong>Check Balance<\/strong>.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/35\/KGTut-Task.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23049\" src=\"\/wp-content\/uploads\/sites\/35\/KGTut-Task.png\" alt=\"\" width=\"911\" height=\"397\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094237\/KGTut-Task.png 911w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094237\/KGTut-Task-300x131.png 300w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/li>\n<li><b>Save<\/b> and <b>Train<\/b> the Knowledge Graph.<\/li>\n<li><strong>Talk to bot<\/strong> with the utterance <em>How do I check my account balance?<\/em> will trigger the <em>Check Balance<\/em> task.<\/li>\n<\/ol>\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><span class=\"ez-toc-section\" id=\"Tags_in_Ontology\">Tags in Ontology<\/span><\/h2>\n<p>Use Case: <em>Does your bank give a passbook to view account details?<\/em> You will get Did you mean <em>How do I access my account online?<\/em>.<\/p>\n<p>The reason being the alternate question for online account access: <em>Does your bank support internet banking to view account details?<\/em> is a very close match to the above query. You can avoid such situations by adding a tag <em>internet banking<\/em> and marking it as mandatory to the alternate question <em>Does your bank support internet banking to view account details?.<\/em><\/p>\n<p>Solution: Custom Tags<\/p>\n<p>To add tags, follow the below steps:<\/p>\n<ol>\n<li>Edit the question <em>How do I access my account online?<\/em><\/li>\n<li>For the alternate question <em>Does your bank support internet banking to view account details?<\/em>\n<ol>\n<li>Add the tag <i>internet-banking.<\/i><br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/35\/KGTut-altQs-tagsAdd.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23050\" src=\"\/wp-content\/uploads\/sites\/35\/KGTut-altQs-tagsAdd.png\" alt=\"\" width=\"907\" height=\"487\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094237\/KGTut-altQs-tagsAdd.png 907w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094237\/KGTut-altQs-tagsAdd-300x161.png 300w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/a><\/li>\n<li>Click the tag to open the Tag Settings dialog and set Tag Usage to <b>Mandatory<\/b>.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823103859\/ht_kg_17.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31664\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823103859\/ht_kg_17.png\" alt=\"\" width=\"893\" height=\"465\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823103859\/ht_kg_17.png 893w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823103859\/ht_kg_17-300x156.png 300w\" sizes=\"auto, (max-width: 893px) 100vw, 893px\" \/><\/a><\/li>\n<li>Click <b>Done<\/b>.<\/li>\n<\/ol>\n<\/li>\n<li>Repeat for the alternate question<em> Is there a mobile app that I can use to access my account?<\/em> with the tag <em>mobile app.<\/em><br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/35\/KGTut-altQs-tags.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23052\" src=\"\/wp-content\/uploads\/sites\/35\/KGTut-altQs-tags.png\" alt=\"\" width=\"911\" height=\"485\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094236\/KGTut-altQs-tags.png 911w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094236\/KGTut-altQs-tags-300x160.png 300w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/li>\n<li><strong>Save <\/strong>and <strong>Train<\/strong> the bot.<\/li>\n<li>Now <b>Talk to the Bot<\/b> and see the response.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/35\/KGTut-altQs-tagstalk.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23054\" src=\"\/wp-content\/uploads\/sites\/35\/KGTut-altQs-tagstalk.png\" alt=\"\" width=\"501\" height=\"567\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094235\/KGTut-altQs-tagstalk.png 501w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094235\/KGTut-altQs-tagstalk-265x300.png 265w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/a><\/li>\n<\/ol>\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><span class=\"ez-toc-section\" id=\"Traits\">Traits<\/span><\/h2>\n<p><strong>Use Case<\/strong>: <em>I lost my card, how do I apply for another debit card?<\/em><br \/>\nYou will get the response with <em>How do I apply for a debit card?<\/em>.<\/p>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/35\/KGTut-trait-talk1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23055\" src=\"\/wp-content\/uploads\/sites\/35\/KGTut-trait-talk1.png\" alt=\"\" width=\"501\" height=\"703\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094235\/KGTut-trait-talk1.png 501w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094235\/KGTut-trait-talk1-214x300.png 214w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/a><\/p>\n<p>While this is a valid response it is not the right one. Ideally, since the user said <em>I lost my card<\/em> bot must direct the user to report a stolen card.<\/p>\n<p>Solution: Traits. Traits are used to get additional information from user utterance and direct the user to a better solution.<\/p>\n<p>To add traits, follow the below steps:<\/p>\n<ol>\n<li>First, add this question as an alternate question to <em>How do I report a stolen card?<\/em>.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/35\/KGTut-trait-altq.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23056\" src=\"\/wp-content\/uploads\/sites\/35\/KGTut-trait-altq.png\" alt=\"\" width=\"911\" height=\"399\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094235\/KGTut-trait-altq.png 911w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094235\/KGTut-trait-altq-300x131.png 300w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/li>\n<li><b>Save <\/b>and <b>Train the bot.<\/b><\/li>\n<li><strong>Talk to bot<\/strong> and ask the same question. You will get the same response.<\/li>\n<li>Now let us see how to add Trait.<\/li>\n<li>Define Trait:\n<ol>\n<li>From the <b>more<\/b> option next to the <b>Train<\/b> button, select the <b>Manage Traits<\/b> option.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104336\/ht_kg_18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31665\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104336\/ht_kg_18.png\" alt=\"\" width=\"287\" height=\"305\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104336\/ht_kg_18.png 287w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104336\/ht_kg_18-282x300.png 282w\" sizes=\"auto, (max-width: 287px) 100vw, 287px\" \/><\/a><\/li>\n<li>Click <b>New Trait<\/b> to create a New Trait.<\/li>\n<li>Give a <b>Trait Type<\/b> and add <b>Traits<\/b> to it. Here, let us consider <i>Issues<\/i> as Trait Type and <i>lostcard<\/i>\u00a0as Trait.<\/li>\n<li>Add <i>lost my card<\/i>\u00a0as the <b>utterance<\/b> that triggers this trait. (Do not forget to hit enter after you add the utterance).<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104434\/ht_kg_19.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31666\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104434\/ht_kg_19.png\" alt=\"\" width=\"1141\" height=\"491\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104434\/ht_kg_19.png 1141w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104434\/ht_kg_19-300x129.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104434\/ht_kg_19-1024x441.png 1024w\" sizes=\"auto, (max-width: 1141px) 100vw, 1141px\" \/><\/a><\/li>\n<li><b>Save <\/b>and <b>Train the trait.<\/b><\/li>\n<\/ol>\n<\/li>\n<li>Apply Trait\n<ol>\n<li>From the ontology, go to the <b>Issues <\/b>node <b>Settings<\/b> page.<\/li>\n<li>Add <i>lostcard<\/i>\u00a0as <b>Trait <\/b>(pick from the drop-down list).<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104507\/ht_kg_20.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-31667\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104507\/ht_kg_20.png\" alt=\"\" width=\"907\" height=\"473\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104507\/ht_kg_20.png 907w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20210823104507\/ht_kg_20-300x156.png 300w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/a><\/li>\n<li><strong>Save <\/strong>and <strong>Train<\/strong> the Knowledge Graph.<\/li>\n<li><strong>Talk to the Bot<\/strong> and try the same question. Now you will get the expected response.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/35\/KGTut-trait-talk.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23060\" src=\"\/wp-content\/uploads\/sites\/35\/KGTut-trait-talk.png\" alt=\"\" width=\"499\" height=\"699\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094233\/KGTut-trait-talk.png 499w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094233\/KGTut-trait-talk-214x300.png 214w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/a><\/li>\n<\/ol>\n<\/li>\n<\/ol>\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<p><span style=\"font-weight: 400;\">In this document you have seen various settings for building and managing Knowledge Graph. For details regarding the implementation and working of Knowledge Graph, <\/span><a href=\"\/docs\/bots\/bot-builder-tool\/knowledge-task\/knowledge-ontology\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: 400;\">refer to this document<\/span><\/a><span style=\"font-weight: 400;\">.<\/span><\/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":"This article helps to quickly build and understand the working of a Knowledge Graph for your bot. It shows how to convert an FAQ into ontology, add tags, use terms, add alternate questions, synonyms, tags, and traits. For the implementation details, refer here. Throughout this example we will be dealing with the following FAQs related...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[74],"tags":[],"class_list":["post-23019","post","type-post","status-publish","format-standard","hentry","category-how-tos"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/23019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=23019"}],"version-history":[{"count":12,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/23019\/revisions"}],"predecessor-version":[{"id":39333,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/23019\/revisions\/39333"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=23019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=23019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=23019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}