add SOA queries

thanks @vstakhov