replaced resource with vocabulary prefix for types