opencitations / oc_ocdm

Object mapping library for manipulating RDF graphs that are compliant with the OpenCitations datamodel.
https://opencitations.net/
ISC License
3 stars 2 forks source link

Fixing the merge semantics #24

Open iosonopersia opened 2 years ago

iosonopersia commented 2 years ago

Should the "Merge" operation preserve non-OCDM-compliant statements from the removed entity? Actually, in A.merge(B), the non-OCDM-compliant statements from A are kept intact, while the ones from B are not moved into A (and so they are lost forever). Should we change this behaviour?