public void SR15BUG()
        {
            var reasoner     = new CogniPySvr();
            var ontologyPath = Path.Combine(AssemblyDirectory, "TestFiles", "TestOntology.encnl");

            reasoner.LoadCnl(ontologyPath, true, true);

            const string concept = "reputational-risk-network-component";

            var instances = reasoner.GetInstancesOf(concept, false);

            var descriptionsBeforeDeletion = reasoner.DescribeInstancesByName(instances);

            var toDel = new List <string>
            {
                "Deal-Criteria-14 is a deal-criteria.",
                "Deal-Criteria-11 is a deal-criteria.",
                "Deal-Criteria-26 is a deal-criteria.",
                "Deal-Criteria-8 is a deal-criteria.",
                "Deal-Criteria-2 is a deal-criteria.",
                "Deal-Criteria-20 is a deal-criteria.",
                "Deal-Criteria-23 is a deal-criteria.",
                "Deal-Criteria-5 is a deal-criteria.",
                "Deal-Criteria-17 is a deal-criteria."
            };

            reasoner.KnowledgeDelete(string.Join("\r\n", toDel), true);

            var descriptionsAfterDeletion = reasoner.DescribeInstancesByName(instances);
        }
        public void LoadFileWithReference()
        {
            var feClient = new CogniPySvr();

            feClient.LoadCnl(Path.Combine(AssemblyDirectory, "TestFiles", "CSHC.encnl"), true, true);
            var instances = new string[] { "Dynamic[sfo]", "Answer-2-1-10-1" };
            var result    = feClient.DescribeInstancesByName(instances);

            CollectionAssert.AreEquivalent(instances, result.Select(x => x.Instance).ToArray());
        }