create a single class to encapsulate functionality for a single dbpedia resource