Re: [Wikidata-tech] How to import Wikidata entities to another Wikibase

2018-08-20 Thread Greg S
I have a tool I wrote to do this with properties and items. See: https://github.com/stuppie/wikibase-tools It creates the properties or items in your local wikibase with the same label, description, and aliases as it exists in Wikidata (but of course, with different Q/P ID). It then adds a "equiva

Re: [Wikidata-tech] How to import Wikidata entities to another Wikibase

2018-08-18 Thread Lydia Pintscher
On Fri, Aug 10, 2018, 11:12 Niklas Laxström wrote: > Has anyone imported a subset of Wikidata into another Wikibase? How > did you do it? > > I am working a project which wants to import Wikidata properties into > their Wikibase. I looked into how to do this, but I am hitting > roadblocks. > > 1)

Re: [Wikidata-tech] How to import Wikidata entities to another Wikibase

2018-08-11 Thread Marco Fossati
Hi Niklas, On 8/10/18 11:23, Daniel Kinzler wrote: You could go for a straight up import of the XML dump. If you are using MediaWiki Vagrant [1] for your Wikibase instance, I've contributed a couple of walkthroughs [2,3]. In my experience, however, the XML import ended in lots of missing data,

Re: [Wikidata-tech] How to import Wikidata entities to another Wikibase

2018-08-10 Thread Daniel Kinzler
Hi Niklas! You could go for a straight up import of the XML dump. This is disabled per default, but can be enabeld using $wgWBRepoSettings['allowEntityImport']. Populating an empty wikibase instance this way should work fine, but things get probelmatic if you then create your own items and propert