01: /**
02: * Copyright 2007 Jens Dietrich Licensed under the Apache License, Version 2.0 (the "License");
03: * you may not use this file except in compliance with the License.
04: * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
05: * Unless required by applicable law or agreed to in writing, software distributed under the
06: * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
07: * either express or implied. See the License for the specific language governing permissions
08: * and limitations under the License.
09: */package nz.org.take;
10:
11: /**
12: * Source for a knowledge base.
13: * Examples: memory sources (see KnowledgeBase), scripts/R2ML from files or streams.
14: * @author <a href="http://www-ist.massey.ac.nz/JBDietrich/">Jens Dietrich</a>
15: */
16:
17: public interface KnowledgeSource {
18: /**
19: * Get a knowledge base.
20: * @return a knowledge base
21: */
22: public KnowledgeBase getKnowledgeBase() throws TakeException;
23: }
|