Feature summary:
It would be an awesome feature if I could "import" a Wikidata EntitySchema into a new/fresh (or existing) Wikibase where the importer would use the shape to create appropriate properties and classes with for each a link (think: exact match) to the Wikidata item (as in the shape), after which it would copy the EntitySchema too, but then with the local properties and classes.
Use case(s):
The use case is as follows. Assume I want to create a new Wikibase with chemical structures in there. Wikidata already has a nice EntitySchema for chemical compound and the ShEx describes the properties needed to capture information about a chemical compound. Now, my Wikibase is empty or does not have anything around chemistry yet. I would like to COPY the shape into the new Wikibase. I would have to create the properties and possible a few classes (P31 in the shape) in doing so.
Because the importer would map (e.g. with "exact match") the Wikibase properties to Wikidata properties, I would even get a ShapeExpression in the Wikibase to match what was copied.
For an already existing Wikibases, using the "exact match" I could copy shapes or even update shapes from Wikidata: it would reuse properties already defined in the Wikibase.
Benefits:
- unlike mass importing all Wikidata properties, this would only create a small set of properties that I intend to use
- unlike T234943, I can do that at any moment in time and am not restricted to doing this when "bootstrapping"
- if the importer recognizes a "exact match" property, then I can keep a local shape synchronized with a Wikidata shape
- it would formalize the use of some property to define mappings to Wikidata which would be a huge benefit for Wikibase interoperability
- EntitySchemas would become a ton more powerful and it would be a huge incentive to use knowledge modeled in Wikidata