24.11.2014 Views

flex Expert System Toolkit - LPIS

flex Expert System Toolkit - LPIS

flex Expert System Toolkit - LPIS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix A - Examples 170<br />

Representing Birds<br />

The following diagram illustrates the bird taxonomy.<br />

bird<br />

habitat = tree<br />

motions = fly<br />

skin = feather<br />

penguin<br />

habitat = land<br />

motions = walk, swim<br />

size = medium<br />

canary<br />

colour = yellow<br />

size = small<br />

This can be represented by the KSL statements :-<br />

tweety_pie<br />

frame penguin is a bird<br />

default habitat is the land and<br />

default motions are { walk and swim } and<br />

default size is medium .<br />

frame canary is a bird<br />

default colour is yellow and<br />

default size is small .<br />

instance tweety_pie is a bird .<br />

<strong>flex</strong> toolkit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!