This directory contains various examples and demos that illustrate what the AtomSpace and Atomese is. You will want to go through the contents here, in the order below. Keep in mind that every Atom and Value type is documented in the wiki.
-
atomspace - Demos of all of the basic AtomSpace features and functions. VISIT THIS FIRST!!
-
pattern-matcher - Example code demonstrating the graph query system. It shows how to search for data that fits a pattern, how to search for patterns that fit the data, and how to trigger actions when these are found.
-
foreign - Working with generic abstract syntax trees in the AtomSpace. It shows how to store json, scheme and python source code in the AtomSpace, and then search for, and execute that code. (Experimental, incomplete)
-
python - Python usage examples.
-
ocaml - OCaml usage examples.
-
haskell - Haskell usage examples.
-
c++ - Example CMakefile and demos for C++ code.
-
c++-guile - Creating guile wrappers for C++ code.
-
type-system - Creating and using new kinds of Atom Types.
Some links to external sources that might help:
- Luke’s Atomspace Bootstrap Guide from Luke Peterson, 2020.