Add some functions to query dtbs
Add functionality to create rdfs

which are apparently needed for archiving