Page MenuHomePhabricator

Changes to RDF dumping when federated properties are enabled
Closed, ResolvedPublic8 Estimated Story Points

Description

As a data reuser, I want to access data from the local Wikibase instance using RDF dump with URIs of federated properties the same as on Wikidata.

To support this, we need to 1) Make sure dumping doesn't include federated properties, and 2) make sure statements on local items are dumped as statements using federated property URIs.

For Wikibases with federation enabled to Wikidata.org

  • Automatically alter entitysources configuration to use Wikidata.org values for properties
  • No intervention from the user necessary

For Wikibases with federation enabled to any other Wikibase instance

  • Document needed entitysources configuration for this kind of usage
  • Display a clear and visible error if configuration is incomplete or incorrect

Note
If this ticket is not addressed prior to setting up the test instances for user testing of federated properties [T256457], it will break the test systems unless we recreate them (the query services) again, or empty and reload them

Event Timeline

Breakdown pre-discussion

  1. Make sure dumping doesn't include federated properties

Dumping is a feature of Wikibase, and it will only dump the properties that are stored in the local wikibase, so fed properties will already not be included.

  1. make sure statements on local items are dumped as statements using federated property URIs.

That is the main part of this ticket, making sure the correctly URIs are used in the RDF output for entities that refer to properties.

Resetting priority at start of new sprint (so it can be aligned with the sprint goals)

Addshore changed the task status from Stalled to Open.Jul 23 2020, 9:51 AM

This all looks to be working as expected now.
Not sure how much @Samantha_Alipio_WMDE can actually verify here from her side.