This repo loads specific groups of entities from Wikidata that share common attributes such as membership in an Arts Organization (i.e. TAPA), or a specific type of organization (i.e. Orchestra).
Each SPARQL creates a dataset that is registered on the Artsdata Databus by running a Github workflow. Each workflow can be set on a schedule.
The SPARQL should only construct data relevant for reconciliation in Artsdata.
All the standard Artsdata properties will get added to the Artsdata minted entity in the core graph after reconiliation when the entity is refreshed (synced).
Wikidata is an RDF source connected directly to Artsdata. The properties will be updated whenever the refresh routine is called on the Artsdata core entity. The Artsdata minted entites that are linked in the core graph to Wikidata (WikidataID -- sameAs --> ArtsdataID) get data directly from Wikidata, not the data feed graph. So all properties in the data feed graph are ingored when refreshing data. This is why the SPARQLs in this repo only need to load minimal data for initial linking.
These SPARQLs help maintain accurate interlinking between Artsdata and Wikidata. Run the SPARQLs using the Wikidata Query tool. To use federated SPARQLs that look into both Wikidata and Artsdata, you must use the Wikidata query tool. Wikidata only allows federated SPARQLs out to white listed endpoints. Artsdata SPARQL endpoint is currenty on Wikidata's whitelist.
-
List all Wikidata P7627 values that have syntax errors
- Fix in Wikidata by editing the P7627 values to have the right K-number syntax.
- Wikidata Query Service Link
-
List all Wikidata entities missing an Artsdata P7627 value
- Fix using Open Refine to batch upload missing P7627 values to Wikidata.
- Wikidata Query Service Link
-
List all Artsdata entities missing a sameAs Wikidata entity
- Retrieve the Wikidata-interlinking graph: http://kg.artsdata.ca/culture-creates/artsdata-planet-wikidata/wikidata-interlinking.
- Load in the batch reconciliation tool with the
Agenttype to review and add the missing sameAs links. - Wikidata Query Service Link to the SPARQL used to populate the graph used by the Artsdata batch reconciliation tool.
These maintenance reports where created in issue: #11