usc-isi-i2 / datamart-upload

REST api and upload functions for datamart project
MIT License
1 stars 0 forks source link

Deleting triples from Wikibase #26

Open kyao opened 4 years ago

kyao commented 4 years ago

Investigate how to efficiently delete triples from Wikibase

szeke commented 4 years ago

Reassigning to @ckxz105 as @saggu needs to focus in the table entity linking

ckxz105 commented 4 years ago

So according to notes, the job is to Deleting Triples From Wikidata Blazegraph but not delete from Wikibase.

If the title is correct, to Deleting triples from Wikibase, what does this mean? Delete the datamart blazegraph triples if user delete the entities at wikibase for datamart side?

kyao commented 4 years ago

Are we still going to use Blazegraph? I thought we are switch to Wikibase so that we can use the web browser.

ckxz105 commented 4 years ago

Wikibase is just used for displaying purpose, it is a independent service from blazegraph triples. We should still depend on blazegraph for datamart core services.

kyao commented 4 years ago

What is the advantage of continuing to use blazegraph? Maintaining two triple stores seems like extra work.

kyao commented 4 years ago

In any case, maintaining two triple stores a separate issue.

The focus of this issue to delete triples from the Wikibase's SPARQL store (Blazegraph for wikidata).

szeke commented 4 years ago

We will use Wikibase for Datamart and use it's blazegraph for dataset queries, but we need to take a look at the issue with searching datasets using text. Additional requirements came up during the WM meeting last week, so we need to strategize how to do the search, but we can still do the editing and browsing of datasets in Wikibase.

We use Wikidata blazegraph for storing triples and data. New requirements also came up which requires that we store data in Postgres. We will continue to support Wikidata as it is the most flexible store for data.

We need to figure out how to delete triples from Wikidata. Deleting from Wikibase is not an issue as we can use the Wikibase API to delete items and statements in Wikibase.