I'm trying to setup my own Wikidata endpoint, for fun and profit. It requires lots of resources (do not even try without at least two SSD disks in RAID 0...), but the tools are easily accessible, mostly documented, and there are a few script ready to be executed.
There are