Discussion Forum

Grakn Query Entity name

Hello,
I would like to know if there is a method to obtain the name of all entities in the Grakn database in my Python Client without passing by the schema. Either a query or a method it doesnt matter.
So far, I checked the doc and I found nothing.

Maybe I missed it or someone already ask for this, but could you please help me.

Hello @JeanGuilhem ,

In fact, we do have docs about matching schema concepts :slightly_smiling_face:

https://dev.grakn.ai/docs/query/match-clause#match-schema-concepts

Answering your question, you can use something like

match $x sub entity; get;

Oh thank you very much @vladyslav !
It is exactly what i was looking for !
:ok_hand::fire: