0
啓動思維導圖,並與Graql外殼連接,我嘗試添加一個類型和實例後:Graql外殼不記得查詢
insert person isa entity-type;
insert 'carl' isa person;
然而,當我打開了Visualiser的我做不到請參閱類型或實例。
如果我在shell中運行匹配查詢,我可以看到它很好。
啓動思維導圖,並與Graql外殼連接,我嘗試添加一個類型和實例後:Graql外殼不記得查詢
insert person isa entity-type;
insert 'carl' isa person;
然而,當我打開了Visualiser的我做不到請參閱類型或實例。
如果我在shell中運行匹配查詢,我可以看到它很好。
對於您在Graql Shell中編寫的每個insert
或delete
查詢,您需要在最後編寫commit
命令。只有這樣你的類型或實例纔會被保存在圖中。
所以你的情況這將是:
insert person isa entity-type;
insert 'carl' isa person;
commit