You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
10 months ago | |
---|---|---|
kbqa-common | 10 months ago | |
kbqa-graph | 10 months ago | |
kbqa-model | 10 months ago | |
nGQL | 10 months ago | |
.gitignore | 11 months ago | |
README.md | 11 months ago | |
pom.xml | 11 months ago |
README.md
KBQA
知识图谱问答系统
- kabq-common(公共模块:公共配置,公共代码)
- kabq-model (模型模块)
- knowledge-report (知识报送模块)
nGql语句及注意事项
注意事项:
- 必须创建索引之后,才能根据字段查询到数据
- 创建索引之后,必须rebuild这个索引,索引才能生效,才能查到数据
构建索引
CREATE TAG INDEX IF NOT EXISTS item_branch_item_name_index ON item_leaf(item_name(100));
REBUILD TAG INDEX item_branch_item_name_index ;
CREATE TAG INDEX IF NOT EXISTS item_leaf_item_name_index ON item_leaf(item_name(100));
REBUILD TAG INDEX item_leaf_item_name_index ;