{"id":22666,"date":"2019-11-01T10:16:46","date_gmt":"2019-11-01T10:16:46","guid":{"rendered":"https:\/\/developer.kore.ai\/v7-3\/?p=22666"},"modified":"2020-07-03T16:38:00","modified_gmt":"2020-07-03T15:38:00","slug":"knowledge-ontology-analysis","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v7-3\/docs\/bots\/bot-builder-tool\/knowledge-task\/knowledge-ontology-analysis\/","title":{"rendered":"Knowledge Graph Analysis"},"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>A careful analysis of the Knowledge Graph helps in detecting errors in your questions and the path associated with the same that might hamper the user experience.<\/p>\n<p>Knowledge Graph Diagnosis tool will help you in identifying any inefficiencies in your knowledge graphs and suggest possible corrective actions. Note that these are just guidelines and you need to further analyze the recommendations before going ahead with any changes.<\/p>\n<p>NOTE: This feature was introduced in ver 7.1 of the platform.<\/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<p>The Knowledge Graph provides an option to initiate an inspection of the graph:<\/p>\n<ul>\n<li>This option is available only for the in-development version of the Knowledge Graph where there are one or more FAQs added to the graph.<\/li>\n<li>The analysis will consider the Thresholds and other configurations of the Knowledge Graph.<\/li>\n<li>The analysis would issue a warning if any node contains more than 25 questions and an advisory to the effect that the training would fail if there are more than 100 questions in any node. This feature has been added in ver7.3 for improved response times.<\/li>\n<li>You can invoke the diagnosis, by clicking the <strong>Inspect<\/strong> button on the Knowledge Graph screen.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/15\/KG-inspect.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22279\" src=\"\/wp-content\/uploads\/sites\/15\/KG-inspect.png\" alt=\"\" width=\"1361\" height=\"770\" \/><\/a><\/li>\n<li>The platform will analyze the knowledge graph and provide a report of the analysis.<\/li>\n<li>You have an option to <strong>Re-run<\/strong> the analysis or\u00a0<strong>Export<\/strong> the report. Export option will download the report in JSON format.<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/15\/KG-inspect-report.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22736\" src=\"\/wp-content\/uploads\/sites\/15\/KG-inspect-report.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/a><\/li>\n<li>The inspect report shows an overview of the number of issues found under various categories (<a href=\"#Report_Fields\">see below for details<\/a>)<\/li>\n<li>The various categories are grouped as:\n<ul>\n<li><strong>Error<\/strong> &#8211; are incorrect graph definitions which need immediate fix;<\/li>\n<li><strong>Warnings<\/strong> &#8211; when rectified help improve intent detection. A maximum of 50 warnings are displayed.<\/li>\n<li><strong>Suggestions<\/strong> &#8211; when implemented help in better organization of your KG. A maximum of 10 suggestions are displayed.<\/li>\n<\/ul>\n<\/li>\n<li>Click each category to see the detailed report.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/15\/KG-inspect-reportdetailed.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22737\" src=\"\/wp-content\/uploads\/sites\/15\/KG-inspect-reportdetailed.png\" alt=\"\" width=\"1366\" height=\"768\" \/><\/a><\/li>\n<li>Chances are that there are more than 50 warnings or 10 suggestions, but only the first 50\/10 occurrences of the issue are listed. You need to fix the same and rerun the analysis to view the next set.<\/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<h3><span class=\"ez-toc-section\" id=\"Report_Fields\">Report Fields<\/span><\/h3>\n<p>Following are the fields that are displayed in the report:<\/p>\n<table class=\"confluenceTable\">\n<tbody>\n<tr>\n<th>Issue Type<\/th>\n<th>Category<\/th>\n<th>Details<\/th>\n<th>Suggestion<\/th>\n<\/tr>\n<tr>\n<td>Questions added to incorrect paths<\/td>\n<td bgcolor=\"dd7e6b\">Error<\/td>\n<td>\n<ul>\n<li>Question<\/li>\n<li>Path<\/li>\n<\/ul>\n<\/td>\n<td>Modify the path to include the terms in the question.<\/td>\n<\/tr>\n<tr>\n<td>Long-chain of terms with the questions present only at the last term in the chain<\/td>\n<td bgcolor=\"ffd966\">Suggestion<\/td>\n<td>\n<ul>\n<li>Question<\/li>\n<li>Path<\/li>\n<\/ul>\n<\/td>\n<td>Reduce the path by avoiding unimportant terms or merge relevant terms.<\/td>\n<\/tr>\n<tr>\n<td>Identical terms with a common ancestor<\/td>\n<td bgcolor=\"ffd966\">Suggestion<\/td>\n<td>\n<ul>\n<li>Common Parent<\/li>\n<li>Child Paths (only for the largest repeated child trees)<\/li>\n<\/ul>\n<\/td>\n<td>Move the child terms above their parent terms to avoid duplication<\/td>\n<\/tr>\n<tr>\n<td>Paths without any questions<\/td>\n<td bgcolor=\"ffd966\">Suggestion<\/td>\n<td>\n<ul>\n<li>Path<\/li>\n<\/ul>\n<\/td>\n<td>Remove the path if you do not intend to add any questions to this path<\/td>\n<\/tr>\n<tr>\n<td>Redundant alternate questions<\/td>\n<td bgcolor=\"ffd966\">Suggestion<\/td>\n<td>\n<ul>\n<li>Question<\/li>\n<li>Alternate Question (multiple)<\/li>\n<li>Path<\/li>\n<\/ul>\n<\/td>\n<td>Rephrase alternate questions to include wider coverage<\/td>\n<\/tr>\n<tr>\n<td>A large number of questions added to the root term<\/td>\n<td bgcolor=\"ffd966\">Suggestion<\/td>\n<td>\n<ul>\n<li>Question<\/li>\n<li>Path<\/li>\n<\/ul>\n<\/td>\n<td>Move the questions to the appropriate paths<\/td>\n<\/tr>\n<tr>\n<td>Unusually long paths<\/td>\n<td bgcolor=\"cfe2f3\">Warning<\/td>\n<td>\n<ul>\n<li>Path<\/li>\n<\/ul>\n<\/td>\n<td>Reduce the path by avoiding unnecessary terms or merging relevant terms.<\/td>\n<\/tr>\n<tr>\n<td>Questions at the root node that can be moved to better paths<\/td>\n<td bgcolor=\"cfe2f3\">Warning<\/td>\n<td>\n<ul>\n<li>Question<\/li>\n<li>Current Path<\/li>\n<li>Suggested Path<\/li>\n<\/ul>\n<\/td>\n<td>Move the question to the suggested path<\/td>\n<\/tr>\n<tr>\n<td>Questions with common words that are not used as terms<\/td>\n<td bgcolor=\"cfe2f3\">Warning<\/td>\n<td>\n<ul>\n<li>Question (multiple)<\/li>\n<li>Path<\/li>\n<li>Suggested Extension<\/li>\n<\/ul>\n<\/td>\n<td>Extend the current path using the suggested extension<\/td>\n<\/tr>\n<tr>\n<td>Questions that match multiple paths<\/td>\n<td bgcolor=\"cfe2f3\">Warning<\/td>\n<td>\n<ul>\n<li>Question<\/li>\n<li>Current path<\/li>\n<li>Other Paths (multiple)<\/li>\n<\/ul>\n<\/td>\n<td>Review the paths to avoid possible ambiguity scenarios<\/td>\n<\/tr>\n<tr>\n<td>Identical sibling nodes<\/td>\n<td bgcolor=\"cfe2f3\">Warning<\/td>\n<td>\n<ul>\n<li>Path<\/li>\n<li>Identical Term<\/li>\n<\/ul>\n<\/td>\n<td>Merge the identical terms<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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":"A careful analysis of the Knowledge Graph helps in detecting errors in your questions and the path associated with the same that might hamper the user experience. Knowledge Graph Diagnosis tool will help you in identifying any inefficiencies in your knowledge graphs and suggest possible corrective actions. Note that these are just guidelines and you...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-22666","post","type-post","status-publish","format-standard","hentry","category-knowledge-task"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/posts\/22666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/comments?post=22666"}],"version-history":[{"count":8,"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/posts\/22666\/revisions"}],"predecessor-version":[{"id":23733,"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/posts\/22666\/revisions\/23733"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/media?parent=22666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/categories?post=22666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-3\/wp-json\/wp\/v2\/tags?post=22666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}