##### defines data for handcrafted database

[maptable_001]
data=<<DATA
type_001/a_001 type_002/a_001
type_001/a_011 type_002/a_011
type_001/a_101 type_002/a_101
type_001/a_111 type_002/a_111
DATA

[maptable_002]
data=<<DATA
type_002/a_010 type_003/a_010
type_002/a_011 type_003/a_011
type_002/a_110 type_003/a_110
type_002/a_111 type_003/a_111
DATA

[maptable_003]
data=<<DATA
type_003/a_100 type_004/a_100
type_003/a_101 type_004/a_101
type_003/a_110 type_004/a_110
type_003/a_111 type_004/a_111
DATA

[type_001_master]
data=<<DATA
type_001/a_000
type_001/a_001
type_001/a_010
type_001/a_011
type_001/a_100
type_001/a_101
type_001/a_110
type_001/a_111
DATA

[type_002_master]
data=<<DATA
type_002/a_000
type_002/a_001
type_002/a_010
type_002/a_011
type_002/a_100
type_002/a_101
type_002/a_110
type_002/a_111
DATA

# type_003_master & type_004_master are for testing load_implicit_masters
[type_003_master]
data=<<DATA
type_003/a_010
type_003/a_011
type_003/a_100
type_003/a_101
type_003/a_110
type_003/a_111
DATA

[type_004_master]
data=<<DATA
type_004/a_100
type_004/a_101
type_004/a_110
type_004/a_111
DATA

# correct ur
[ur]
data=<<DATA
type_001/a_000	NULL		NULL		NULL
NULL		type_002/a_000	NULL		NULL
type_001/a_001  type_002/a_001	NULL		NULL
type_001/a_010	NULL		NULL		NULL
NULL		type_002/a_010	type_003/a_010	NULL
type_001/a_011  type_002/a_011	type_003/a_011	NULL
type_001/a_100	NULL		NULL		NULL
NULL		type_002/a_100	NULL		NULL
NULL		NULL		type_003/a_100	type_004/a_100
type_001/a_101	type_002/a_101	NULL		NULL
NULL		NULL		type_003/a_101	type_004/a_101
type_001/a_110	NULL		NULL		NULL
NULL		type_002/a_110	type_003/a_110	type_004/a_110
type_001/a_111  type_002/a_111	type_003/a_111	type_004/a_111
DATA

[ur_selection]
data=<<DATA
type_001/a_000	NULL
type_001/a_001  NULL
type_001/a_010	NULL
type_001/a_011  NULL
type_001/a_100	NULL
NULL		type_004/a_100
type_001/a_101	NULL
NULL		type_004/a_101
type_001/a_110	NULL
NULL		type_004/a_110
type_001/a_111  type_004/a_111
DATA

[basics]
data=<<DATA
type_001/a_001  type_002/a_001	NULL		NULL
type_001/a_111  type_002/a_111	type_003/a_111	type_004/a_111
DATA

[basics_validate]
data=<<DATA
type_001/a_invalid	0	NULL
type_001/a_000		1	NULL
type_001/a_001		1	NULL
type_001/a_011		1	type_003/a_011
type_001/a_110		1	NULL
type_001/a_111		1	type_003/a_111
DATA

[basics_filter]
data=<<DATA
type_001/a_111  type_002/a_111  type_003/a_111  type_004/a_111
DATA

[filter_all]
data=<<DATA
type_001/a_011  type_002/a_011	type_003/a_011	NULL
type_001/a_111  type_002/a_111	type_003/a_111	type_004/a_111
DATA

[filter_one]
data=<<DATA
type_001/a_111  type_002/a_111	type_003/a_111	type_004/a_111
DATA

[filter_one_undef]
data=<<DATA
type_001/a_001	type_002/a_001	NULL	        NULL
type_001/a_101	type_002/a_101	NULL		NULL
type_001/a_111  type_002/a_111	type_003/a_111	type_004/a_111
DATA

# input_ids all
[basics_all]
data=<<DATA
type_001/a_001  type_002/a_001	NULL		NULL
type_001/a_011  type_002/a_011	type_003/a_011	NULL
type_001/a_101	type_002/a_101	NULL		NULL
type_001/a_111  type_002/a_111	type_003/a_111	type_004/a_111
DATA

# test one row for each input idtype
[type_001]
data=<<DATA
type_001/a_111  type_001/a_111  type_002/a_111	type_003/a_111	type_004/a_111
DATA
[type_002]
data=<<DATA
type_002/a_111  type_001/a_111  type_002/a_111	type_003/a_111	type_004/a_111
DATA
[type_003]
data=<<DATA
type_003/a_111  type_001/a_111  type_002/a_111	type_003/a_111	type_004/a_111
DATA
[type_004]
data=<<DATA
type_004/a_111  type_001/a_111  type_002/a_111	type_003/a_111	type_004/a_111
DATA