This small demo example shows the basic functionality of KnowWE and its corresponding knowledge representations for the formalization of diagnostic knowledge.
We build a knowledge base for deriving the reasons for the faults of an imaginary printer.
%%Package Printer_Demointo every particular article containing knowledge.
%%KnowledgeBase Printer Fault Diagnosis Demo @author: joba @version: 1.0 @uses: Printer_Demo %
By inserting the markup the following center is provided:
In the first step we need to define the terminology of the planned system, i.e., the questions (inputs into the system) and the solutions (outputs of the system). The definition of terms for questions and solutions is described in the article Tutorial Printer Problem - Terminology.
After the definition of the terminology we need to define knowledge elements that implement the derivation and dialog behavior of the knowledge base. For that, d3web/KnowWE provides a number of alternatives ranging from scoring rules, decision trees to set-covering models. In this tutorial we show how to implement the derivation knowledge as a DiaFlux flowchart model: DiaFlux implementation
Now we can test the knowledge base by running a dialog. An example is provided here: Tutorial Printer Problem - Manual Testing
The knowledge base can be tested continuously by defining test cases and continuous integration test. See the article Tutorial Printer Testcases for more information.