Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openspg error the pattern of property/relation name: IND#belongTo not match: ^[a-z][0-9a-zA-Z]* #519

Open
by-Cici opened this issue Mar 11, 2025 · 5 comments

Comments

@by-Cici
Copy link

by-Cici commented Mar 11, 2025

参考教程文档上的例子编辑scheme,报如下错误

Image

@thundax-lyp
Copy link

参考教程文档上的例子编辑scheme,报如下错误

Image

删除 IND#

@matthewhyx
Copy link
Collaborator

您好,IND#这类申明的关系是仅限于概念类型下的定义,是用于明确概念之间的语义分类。实体类型下的关系没有这个约束,您定义的LawOfficer是EntityType,所以关系声明上不需要加IND#。需了解更多详情,可以参考文档 https://openspg.yuque.com/ndx6g9/0.6/vu3flp2cy6zdcvmw

@by-Cici
Copy link
Author

by-Cici commented Mar 11, 2025

您好,IND#这类申明的关系是仅限于概念类型下的定义,是用于明确概念之间的语义分类。实体类型下的关系没有这个约束,您定义的LawOfficer是EntityType,所以关系声明上不需要加IND#。需了解更多详情,可以参考文档 https://openspg.yuque.com/ndx6g9/0.6/vu3flp2cy6zdcvmw

有个疑问,例子上面的Shop也是实体类型它也加了IND#的声明,另外这个“明确概念之间的语义分类”具体是什么意思呢

@matthewhyx
Copy link
Collaborator

您好,IND#这类申明的关系是仅限于概念类型下的定义,是用于明确概念之间的语义分类。实体类型下的关系没有这个约束,您定义的LawOfficer是EntityType,所以关系声明上不需要加IND#。需了解更多详情,可以参考文档 https://openspg.yuque.com/ndx6g9/0.6/vu3flp2cy6zdcvmw

有个疑问,例子上面的Shop也是实体类型它也加了IND#的声明,另外这个“明确概念之间的语义分类”具体是什么意思呢

您反馈的这个问题我们排查下,您可以先去掉IND#前缀。对于概念的详细介绍可以参考这个文档:https://openspg.yuque.com/ndx6g9/0.6/sfqg6nib4gtn3r96#BXfB9

@zivh26
Copy link
Collaborator

zivh26 commented Mar 11, 2025

您好,IND#这类申明的关系是仅限于概念类型下的定义,是用于明确概念之间的语义分类。实体类型下的关系没有这个约束,您定义的LawOfficer是EntityType,所以关系声明上不需要加IND#。需了解更多详情,可以参考文档 https://openspg.yuque.com/ndx6g9/0.6/vu3flp2cy6zdcvmw

有个疑问,例子上面的Shop也是实体类型它也加了IND#的声明,另外这个“明确概念之间的语义分类”具体是什么意思呢

产品端还不支持IND#方式,如果确定要用IND#,请使用knext方式,后续版本会在产品端支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants