1+
2+ -- hierarchy_groups (GUI)
3+
14INSERT INTO hierarchy_groups (hgroup_id, name, landing_group, settings_group) VALUES (1 , ' physical properties' , 1 , 1 );
2- INSERT INTO hierarchy_groups (hgroup_id, name, landing_group, settings_group) VALUES (2 , ' crystalline structure' , 1 , 1 );
5+ INSERT INTO hierarchy_groups (hgroup_id, name, landing_group, settings_group) VALUES (2 , ' atomic structure' , 1 , 1 );
36INSERT INTO hierarchy_groups (hgroup_id, name, landing_group, settings_group) VALUES (3 , ' modeling method' , 1 , 1 );
47INSERT INTO hierarchy_groups (hgroup_id, name, landing_group, settings_group) VALUES (4 , ' modeling precision' , 0 , 1 );
58INSERT INTO hierarchy_groups (hgroup_id, name, landing_group, settings_group) VALUES (5 , ' modeling package' , 1 , 1 );
9+ INSERT INTO hierarchy_groups (hgroup_id, name, landing_group, settings_group) VALUES (6 , ' other metadata' , 0 , 1 );
610INSERT INTO hierarchy_groups (hgroup_id, name, landing_group, settings_group) VALUES (9 , ' all the rest' , 0 , 0 );
11+
12+ -- hierarchy (core)
13+
714INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (1 , ' chemical formula' , ' standard' , ' ' , ' ' , ' ' , 2 , 0 , 0 , 1 , 1 , 0 , 1 , 1 , 0 , 2 );
815INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (2 , ' elements' , ' elements' , ' ' , ' ' , ' ' , 1 , 1 , 0 , 1 , 0 , 1 , 1 , 0 , 0 , 2 );
916INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (3 , ' compound' , ' nelem' , ' ' , ' ' , ' ' , 30 , 0 , 0 , 1 , 1 , 1 , 1 , 0 , 1 , 2 );
@@ -23,7 +30,8 @@ INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple,
2330INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (13 , ' layer group (int)' , ' dg' , ' Result layer group (international notation)' , ' ' , ' ' , 180 , 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 2 );
2431INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (50 , ' space group' , ' spg' , ' Result space group (both international and Schoenflis notations)' , ' ' , ' ' , 181 , 0 , 0 , 1 , 1 , 0 , 1 , 0 , 0 , 2 );
2532INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (8 , ' system type' , ' tags' , ' ' , ' ' , ' ' , 60 , 1 , 1 , 1 , 0 , 1 , 1 , 0 , 0 , 2 );
26- INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (6 , ' calculated property' , ' calctypes' , ' ' , ' ' , ' ' , 270 , 1 , 0 , 1 , 0 , 1 , 1 , 0 , 0 , 1 );
33+ INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (106 , ' data type' , ' dtype' , ' ' , ' ' , ' ' , 269 , 0 , 0 , 1 , 0 , 1 , 1 , 0 , 0 , 1 );
34+ INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (6 , ' property' , ' calctypes' , ' ' , ' ' , ' ' , 270 , 1 , 0 , 1 , 0 , 1 , 1 , 0 , 0 , 1 );
2735INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (7 , ' xc treatment' , ' H' , ' ' , ' XC treatment' , ' ' , 190 , 0 , 1 , 1 , 1 , 0 , 1 , 0 , 0 , 3 );
2836INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (75 , ' xc treatment' , ' H_types' , ' ' , ' XC treatment type' , ' ' , 195 , 1 , 0 , 0 , 0 , 1 , 1 , 0 , 0 , 3 );
2937INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (15 , ' spin-polarized' , ' spin' , ' ' , ' ' , ' ' , 210 , 0 , 0 , 1 , 1 , 1 , 1 , 0 , 0 , 3 );
@@ -48,8 +56,12 @@ INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple,
4856INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (80 , ' basis set' , ' ansatz' , ' ' , ' ' , ' ' , 185 , 0 , 0 , 0 , 1 , 1 , 1 , 0 , 0 , 3 );
4957INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (1002 , ' total energy' , ' energy' , ' ' , ' E,,el.tot__/cell{{units-energy}}' , ' ' , 310 , 0 , 0 , 1 , 1 , 0 , 0 , 0 , 1 , 1 );
5058INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (1003 , ' cell volume' , ' dims' , ' ' , ' Cell, Å^^3**' , ' ' , 10 , 0 , 0 , 1 , 1 , 0 , 0 , 0 , 1 , 9 );
51- INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (1005 , ' source file' , ' location' , ' ' , ' ' , ' ' , 360 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 5 );
5259INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (1006 , ' finished' , ' finished' , ' ' , ' Finished?' , ' ' , 370 , 0 , 0 , 1 , 1 , 0 , 1 , 0 , 0 , 5 );
60+ INSERT INTO hierarchy (cid, name, source, legend, html, slider, sort, multiple, optional, has_summary_contrb, has_column, has_facet, has_topic, chem_formula, plottable, hgroup_id) VALUES (1005 , ' source file' , ' location' , ' ' , ' ' , ' ' , 380 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 6 );
61+
62+ -- hierarchy_values
63+
64+ INSERT INTO hierarchy_values (cid, num, name) VALUES (3 , 0 , ' unknown' );
5365INSERT INTO hierarchy_values (cid, num, name) VALUES (3 , 1 , ' unary' );
5466INSERT INTO hierarchy_values (cid, num, name) VALUES (3 , 2 , ' binary' );
5567INSERT INTO hierarchy_values (cid, num, name) VALUES (3 , 3 , ' ternary' );
@@ -62,12 +74,17 @@ INSERT INTO hierarchy_values (cid, num, name) VALUES (3, 9, 'nonary');
6274INSERT INTO hierarchy_values (cid, num, name) VALUES (3 , 10 , ' decenary' );
6375INSERT INTO hierarchy_values (cid, num, name) VALUES (3 , 11 , ' 11-ary' );
6476INSERT INTO hierarchy_values (cid, num, name) VALUES (3 , 12 , ' 12-ary' );
65- INSERT INTO hierarchy_values (cid, num, name) VALUES (3 , 13 , ' multinary' );
77+ INSERT INTO hierarchy_values (cid, num, name) VALUES (3 , 13 , ' 13-ary' );
78+ INSERT INTO hierarchy_values (cid, num, name) VALUES (3 , 14 , ' 14-ary' );
79+ INSERT INTO hierarchy_values (cid, num, name) VALUES (3 , 15 , ' 15-ary' );
80+
81+ INSERT INTO hierarchy_values (cid, num, name) VALUES (5 , 0 , ' unknown' );
6682INSERT INTO hierarchy_values (cid, num, name) VALUES (5 , 1 , ' 1d' );
6783INSERT INTO hierarchy_values (cid, num, name) VALUES (5 , 2 , ' 2d' );
6884INSERT INTO hierarchy_values (cid, num, name) VALUES (5 , 3 , ' 3d' );
6985INSERT INTO hierarchy_values (cid, num, name) VALUES (5 , 4 , ' 0d' );
7086INSERT INTO hierarchy_values (cid, num, name) VALUES (5 , 5 , ' isolated atom' );
87+
7188INSERT INTO hierarchy_values (cid, num, name) VALUES (6 , 0 , ' unknown properties' );
7289INSERT INTO hierarchy_values (cid, num, name) VALUES (6 , 1 , ' total energy' );
7390INSERT INTO hierarchy_values (cid, num, name) VALUES (6 , 2 , ' electron structure' );
@@ -77,24 +94,34 @@ INSERT INTO hierarchy_values (cid, num, name) VALUES (6, 5, 'magnetic moments');
7794INSERT INTO hierarchy_values (cid, num, name) VALUES (6 , 6 , ' phonons' );
7895INSERT INTO hierarchy_values (cid, num, name) VALUES (6 , 7 , ' phonon dispersion' );
7996INSERT INTO hierarchy_values (cid, num, name) VALUES (6 , 8 , ' static dielectric constant' );
97+
8098INSERT INTO hierarchy_values (cid, num, name) VALUES (8 , 1 , ' organic molecule' );
8199INSERT INTO hierarchy_values (cid, num, name) VALUES (8 , 2 , ' vacancy defect' );
82100INSERT INTO hierarchy_values (cid, num, name) VALUES (8 , 3 , ' adsorption' );
83101INSERT INTO hierarchy_values (cid, num, name) VALUES (8 , 4 , ' perovskite' );
102+
103+ INSERT INTO hierarchy_values (cid, num, name) VALUES (106 , 0 , ' ab initio calculation' );
104+ INSERT INTO hierarchy_values (cid, num, name) VALUES (106 , 1 , ' journal article' );
105+
106+ INSERT INTO hierarchy_values (cid, num, name) VALUES (15 , 0 , ' unknown' );
84107INSERT INTO hierarchy_values (cid, num, name) VALUES (15 , 1 , ' non-magnetic' );
85108INSERT INTO hierarchy_values (cid, num, name) VALUES (15 , 2 , ' magnetic' );
109+
86110INSERT INTO hierarchy_values (cid, num, name) VALUES (22 , 0 , ' unknown code' );
87111INSERT INTO hierarchy_values (cid, num, name) VALUES (22 , 1 , ' WIEN2K' );
88112INSERT INTO hierarchy_values (cid, num, name) VALUES (22 , 2 , ' VASP' );
89113INSERT INTO hierarchy_values (cid, num, name) VALUES (22 , 3 , ' CRYSTAL' );
90114INSERT INTO hierarchy_values (cid, num, name) VALUES (22 , 4 , ' Quantum ESPRESSO' );
115+
91116INSERT INTO hierarchy_values (cid, num, name) VALUES (26 , 0 , ' unknown conductivity' );
92117INSERT INTO hierarchy_values (cid, num, name) VALUES (26 , 1 , ' insulator' );
93118INSERT INTO hierarchy_values (cid, num, name) VALUES (26 , 2 , ' conductor' );
119+
94120INSERT INTO hierarchy_values (cid, num, name) VALUES (28 , 0 , ' unknown band gap' );
95121INSERT INTO hierarchy_values (cid, num, name) VALUES (28 , 1 , ' no band gap' );
96122INSERT INTO hierarchy_values (cid, num, name) VALUES (28 , 2 , ' direct' );
97123INSERT INTO hierarchy_values (cid, num, name) VALUES (28 , 3 , ' indirect' );
124+
98125INSERT INTO hierarchy_values (cid, num, name) VALUES (75 , 0 , ' unknown potential' );
99126INSERT INTO hierarchy_values (cid, num, name) VALUES (75 , 1 , ' LDA' );
100127INSERT INTO hierarchy_values (cid, num, name) VALUES (75 , 2 , ' GGA' );
@@ -107,11 +134,13 @@ INSERT INTO hierarchy_values (cid, num, name) VALUES (75, 8, 'MP');
107134INSERT INTO hierarchy_values (cid, num, name) VALUES (75 , 9 , ' CC' );
108135INSERT INTO hierarchy_values (cid, num, name) VALUES (75 , 10 , ' CI' );
109136INSERT INTO hierarchy_values (cid, num, name) VALUES (75 , 11 , ' GW' );
137+
110138INSERT INTO hierarchy_values (cid, num, name) VALUES (80 , 0 , ' unknown basis set' );
111139INSERT INTO hierarchy_values (cid, num, name) VALUES (80 , 1 , ' LAPW' );
112140INSERT INTO hierarchy_values (cid, num, name) VALUES (80 , 2 , ' plane waves' );
113141INSERT INTO hierarchy_values (cid, num, name) VALUES (80 , 3 , ' gaussians' );
114142INSERT INTO hierarchy_values (cid, num, name) VALUES (80 , 4 , ' numeric AOs' );
143+
115144INSERT INTO hierarchy_values (cid, num, name) VALUES (1006 , 0 , ' unknown finalization' );
116145INSERT INTO hierarchy_values (cid, num, name) VALUES (1006 , 1 , ' not finalized' );
117- INSERT INTO hierarchy_values (cid, num, name) VALUES (1006 , 2 , ' finalized' );
146+ INSERT INTO hierarchy_values (cid, num, name) VALUES (1006 , 2 , ' finalized' );
0 commit comments