!!! Marriage Inventory Test
[{KnowWEPlugin quickInterview}]

!!! Derived Solution Values:

%%ShowSolutions
@master: Marriage
@show_suggested: true
@show_excluded: true
@show_abstractions: true
%

!!! Definition of the Knowledge Base

%%knowledgebase
Marriage Demographics
@ID: Marriage_Demographics
@Author: Kasper
@Comment: A simple test.
@uses: marriage
/%

%%Question
Demographics 1
- Age [oc]
-- Under18
-- 18-24
-- 25-30
-- 31-40
-- 41-50
-- 51-60
-- 60+
-- AgeEvaluation [oc]<abstract>
--- Too Young
--- Too Old
--- OK
@package: marriage
%

%%Solution
Too Young
Too Old
OK
@package: marriage
%

%%Rule
IF (Age = Under18)
THEN AgeEvaluation = Too Young

IF (Age = 60+)
THEN AgeEvaluation = Too Old

IF ((Age = 18-24) OR (Age = 25-30) OR (Age = 31-40) OR (Age = 41-50) OR (Age = 51-60))
THEN AgeEvaluation = OK
@package: marriage
/%

%%tags
   Marriage
%

-- JimSkon - 2011-06-01

Topic revision: r3 - 2011-06-02 - RobertKasper
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback