在grakn中定义游戏时,我们还必须分别定义游戏吗?

时间:2019-03-22 14:36:24

标签: grakn

定义t1子实体,扮演员工;

UNKNOWN: ai.grakn.exception.GraqlQueryException: employee doesn't have an 'isa', a 'sub' or an 'id'. Please check server logs for the stack trace.

1 个答案:

答案 0 :(得分:0)

employee doesn't have an 'isa', a 'sub' or an 'id'意味着您尚未在架构中定义employee,因此Grakn不知道如何解释: define t1 sub entity, plays employee;

请确保define employee sub role;