Discussion Forum

Access attributes with API on Grakn 1.8

Hi to all,
in previous versions of Grakn I accessed attributes of an entity with

after get(“x”) form a query, I could look at its attributes with .attributes()
Now it seems there is no more such function.

I am using Grakn 1.8

Hi there,

Since Grakn 1.7 we have moved this feature to the “Remote Concept” API. You can use this by adding an additional method call:


The behavior is identical to before, but now makes it explicitly clear that this method involves an additional RPC to the server.

Thank you very much adam!
It solved my day!