close fullscreen

MeTTa Programming Language+Hyperon Experimental+Atom manipulation

help edit space_dashboard
Atom manipulation
Shows how to dynamically add and query atoms in the Atomspace.
; Add atoms to the space !(add-atom &self (likes Alice Chess)) !(add-atom &self (likes Bob Music)) ; Query all likes !(match &self (likes $who $what) ($who enjoys $what))