Knowledge Base - setting data

I am new to this and have a first question!! I like the InMemoryKnowledgeBase. But I want to use it in a more dynamic way. I want to load it with a set of information and then access pieces of that information for different actions… And I do not want to use the disk database version since it would be to slow.

So for every time I would go through a story I would instantiate the Knowledgebase with externally collected information and then use it piece by piece.

Can I do this?