Is a binary ast API availbe?

using dql to query database, when do not use the autogenerate graph API.