first, thank you for providing Wikibase!!!! We have put up a local Wikibase service, and we are interesting to import in it RDF. We figured out that one option is using the wikibase APIs but we thought that maybe someone already had this problem. We found the following project
https://github.com/rdfio/RDFIO, but if we got it right it does not fit. Any ideas, pointers?