86 lines
2.2 KiB
JSON
86 lines
2.2 KiB
JSON
{
|
|
"source": "json",
|
|
"json": {
|
|
"input_file": "data/raw_data_sample.json",
|
|
"output_file": "data/nodes.json",
|
|
"report_file": "report/detailed_cleaning_report.json"
|
|
},
|
|
"triplet": {
|
|
"enabled": true,
|
|
"input_file": null,
|
|
"output_file": "data/triples.json",
|
|
"report_file": "report/triplet_cleaning_report.json",
|
|
"clean": {
|
|
"deduplicate": true,
|
|
"remove_null_core": true,
|
|
"normalize_relation_type": true,
|
|
"filter_orphans": false
|
|
}
|
|
},
|
|
"db": {
|
|
"host": "127.0.0.1",
|
|
"port": 5080,
|
|
"user": "SYSDBA",
|
|
"schema": "SYSDBA",
|
|
"table": "OBJECTIVE_INSTANCE",
|
|
"query": null,
|
|
"triplet_table": "RELATION_INSTANCE",
|
|
"triplet_query": null
|
|
},
|
|
"formal": {
|
|
"enabled": false,
|
|
"user_id": "ADMIN",
|
|
"task_id": "TASK_FULL_KB",
|
|
"source_sys_type": "关系推理后的体系",
|
|
"target_sys_type": "形式化后的体系",
|
|
"source_query": null,
|
|
"user_column": "USER_ID",
|
|
"task_column": "TASK_ID",
|
|
"sys_type_column": "SYS_TYPE",
|
|
"skip_sys_type_validation": false,
|
|
"entity_id_column": "TARGET_ID",
|
|
"objective_table": "OBJECTIVE_INSTANCE",
|
|
"triplet_table": "RELATION_INSTANCE",
|
|
"triplet_primary_key": "RELATION_INSTANCE_ID",
|
|
"triplet_omit_primary_key_on_insert": true,
|
|
"triple_batch_column": "BATCH_ID",
|
|
"attribute_table": "METRIC_VALUE_INSTANCE",
|
|
"metric_id_column": "METRIC_ID",
|
|
"metric_value_column": "METRIC_VALUE",
|
|
"metric_insert_static": null,
|
|
"formal_result_table": "RELATION_INSTANCE",
|
|
"analysis_table": "RES_FORMAL_ANALYSIS",
|
|
"analysis_insert_columns": null,
|
|
"analysis_static_columns": null,
|
|
"rules_summary": null,
|
|
"required_attrs": [
|
|
"f_IC",
|
|
"f_IA",
|
|
"f_CS",
|
|
"f_IT",
|
|
"f_DP",
|
|
"f_CPS",
|
|
"f_CC",
|
|
"position",
|
|
"effective_radius",
|
|
"response_time",
|
|
"cycle_time",
|
|
"data_age",
|
|
"time_window",
|
|
"core_performance",
|
|
"survivability",
|
|
"mtbf",
|
|
"protocol_list",
|
|
"format_list",
|
|
"interface_list",
|
|
"security_level",
|
|
"org_unit",
|
|
"nation",
|
|
"history_success"
|
|
]
|
|
},
|
|
"eval": {
|
|
"nodes_file": "data/nodes.json",
|
|
"triples_file": "data/triples.json"
|
|
}
|
|
} |