定义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.
答案 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;