-- storage-common/qgsql/graph/load_basic.sql
-- load bootstrap and basic semantic steps

-- basic concepts with fixed IDs
insert into steps (id, item, property, valtype, numval, strval) 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

-- basic types and names
insert into steps (item, property, valtype, numval, strval) 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"
