Hjfocs added a comment.

To update existing triples, we need to decide one of the following DELETE/INSERT operations:

  1. via SPARQL, as per https://www.w3.org/TR/2013/REC-sparql11-update-20130321/#deleteInsert;
  2. via the Blazegraph API, as per https://wiki.blazegraph.com/wiki/index.php/REST_API#UPDATE_.28POST_with_Multi-Part_Request_Body.29 doesn't seem to work as expected

Also, data model validation should be run again

This fits well into solution 2.
Solution 1 may not be ideal, for 2 reasons:

  1. the data provider is required to know how to run SPARQL update queries, i.e., not trivial;
  2. it is hard to implement the RDF data model validation for triple patterns, i.e., when there are variables in the triples.

TASK DETAIL
https://phabricator.wikimedia.org/T170682

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Hjfocs
Cc: Aklapper, Hjfocs, Kiailandi, dachary, Wikidata-bugs, Ricordisamoa, Sjoerddebruin, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to