misc: dump
dump:
description:
dump
dump multi
dump verbose
dump multi verbose
dump is a SDB shell command to display all knowledge in the current context
dump multi is a SDB shell command to display all knowledge in all of the different context's
dump verbose is like dump but also displays supported-ops rules
dump multi verbose is like dump multi but also displays supported-ops rules
examples:
-- learn some basic knowledge about Fred:
-- learn some work related knowledge:
|context> => |work>
friends |Fred> => |Tom> + |Emma>
boss |Fred> => |Robert>
-- learn some home related knowledge:
|context> => |home>
wife |Fred> => |Liz>
friends |Fred> => |Mary> + |Sam> + |Jack>
-- now if we dump we will only get the knowledge in the current context, ie, home:
sa: dump
------------------------------------------
|context> => |home>
wife |Fred> => |Liz>
friends |Fred> => |Mary> + |Sam> + |Jack>
------------------------------------------
-- now if we dump multi we will get knowledge from all the different context's:
sa: dump multi
------------------------------------------
|context> => |Global context>
------------------------------------------
------------------------------------------
|context> => |work>
friends |Fred> => |Tom> + |Emma>
boss |Fred> => |Robert>
------------------------------------------
------------------------------------------
|context> => |home>
wife |Fred> => |Liz>
friends |Fred> => |Mary> + |Sam> + |Jack>
------------------------------------------
-- now, dump verbose:
sa: dump verbose
------------------------------------------
|context> => |home>
supported-ops |Fred> => |op: wife> + |op: friends>
wife |Fred> => |Liz>
friends |Fred> => |Mary> + |Sam> + |Jack>
------------------------------------------
-- now, dump multi verbose:
sa: dump multi verbose
------------------------------------------
|context> => |Global context>
------------------------------------------
------------------------------------------
|context> => |work>
supported-ops |Fred> => |op: friends> + |op: boss>
friends |Fred> => |Tom> + |Emma>
boss |Fred> => |Robert>
------------------------------------------
------------------------------------------
|context> => |home>
supported-ops |Fred> => |op: wife> + |op: friends>
wife |Fred> => |Liz>
friends |Fred> => |Mary> + |Sam> + |Jack>
------------------------------------------
see also:
|context>, supported-ops
Home