Refactoring to accept any kind of resources, assuming that every property is from schema vocabulary. Adjusting the tests accordingly.