updated plot code
added dbpedia helper functions