From 1db6a82de7156425a019822f3221e91cb6725e89 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Sun, 28 Feb 2021 10:00:04 +0100 Subject: [PATCH] rename core steps to root, assert, ref (instead of this, is, name) --- pgsql/graph/load_basic.sql | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pgsql/graph/load_basic.sql b/pgsql/graph/load_basic.sql index d411858..e0671b4 100644 --- a/pgsql/graph/load_basic.sql +++ b/pgsql/graph/load_basic.sql @@ -3,22 +3,22 @@ -- basic concepts with fixed IDs insert into steps (id, item, property, valtype, numval, textval) values - (1, 1, 2, 3, 1, null), -- this: this is this - (2, 1, 2, 3, 2, null), -- is: this is is - (3, 1, 2, 3, 3, null), -- Class: this is Class - (4, 1, 2, 3, 4, null), -- type: this is type - (5, 1, 2, 3, 5, null), -- Property: this is Property - (6, 1, 2, 3, 6, null); -- name: this is name + (1, 1, 2, 3, 1, null), -- root: root assert root + (2, 1, 2, 3, 2, null), -- assert: root assert assert + (3, 1, 2, 3, 3, null), -- Class: root assert Class + (4, 1, 2, 3, 4, null), -- type: root assert type + (5, 1, 2, 3, 5, null), -- Property: root assert Property + (6, 1, 2, 3, 6, null); -- ref: root assert ref --- basic types and names +-- basic types and refs insert into steps (item, property, valtype, numval, textval) values (3, 4, 3, 3, null), -- Class type Class (5, 4, 3, 3, null), -- property type Class (4, 4, 3, 5, null), -- type type Property - (6, 4, 3, 5, null), -- name type Property - (1, 6, 1, null, 'this'), -- this name "this" - (2, 6, 1, null, 'is'), -- is name "is" - (4, 6, 1, null, 'type'), -- type name "type" - (3, 6, 1, null, 'Class'), -- Class name "Class" - (5, 6, 1, null, 'Property'), -- Property name "Property" - (6, 6, 1, null, 'name'); -- name name "name" + (6, 4, 3, 5, null), -- ref type Property + (1, 6, 1, null, 'root'), -- root ref "root" + (2, 6, 1, null, 'assert'), -- assert ref "assert" + (4, 6, 1, null, 'type'), -- type ref "type" + (3, 6, 1, null, 'Class'), -- Class ref "Class" + (5, 6, 1, null, 'Property'), -- Property ref "Property" + (6, 6, 1, null, 'ref'); -- ref ref "ref"