Build GetInternal queries