small steps towards resolution sqlite storage

see https://github.com/p2/Redland-ObjC/issues/11