Can create relations from type query