Exemplo n.º 1
0
        /// <summary>Examines the supplied ConciseBoundedDescription and attempts to locate more information about the described resource.</summary>
        /// <param name="resourceDescription">A ConciseBoundedDescription about which more information is required.</param>
        /// <param name="investigator">An investigator that encapsulates the algorithm to be used to locate more information.</param>
        public virtual void Investigate(ConciseBoundedDescription resourceDescription, Investigator investigator)
        {
            SemPlan.Spiral.Core.ResourceFactory resourceFactory = itsTripleStoreFactory.MakeResourceFactory();

            investigator.NewStatement += itsAssertions.GetStatementHandler();
            investigator.investigate(resourceDescription, this, itsParserFactory, resourceFactory, itsStatementFactory, itsDereferencer);
            investigator.NewStatement -= itsAssertions.GetStatementHandler();
        }