Knowledge base patterns
You can find some useful knowledge base constructions patterns in kb/pattern
.
There are examples to formalize classes, relations, instances, answer rules, classification rules and structures to answer to new messages.
In the gwf
subdirectory you can find examples in scg. You can load gwf
files to the scg-editor, synchronize and get new answers online.
For example, here you need to replace identifiers concept_your_message_class_name
, concept_your_class_identifier
, concept_phrase_about_your_theme
,
and lr_message_about_your_class
to your actual nodes. Also, you can change any relations if you need.
In the scs
subdirectory you can find the same examples in scs.
In the science
subdirectory you can find KB fragments in scg that serve as an example ontology.
If you build these files (add this directory to repo.path
), you'll get answers to the questions related to science.
You can use constructions in this folder as a reference on how patterns from the kb/pattern
folder can be used.