Hi, I would like to merge two individuals so that all associated properties are merged into one instance. In Protege this can be done by simply giving the second individual the same name as the first (change iri). Since owlready2 is based on a sql lite database, this approach throws an error:
Unfortunately, there is no other way than transferring all properties, class assertions and annotations manually, or copying them directly in the database (but it will not update the Python object).
I could implement the copy of the properties, class assertions and annotations in set_iri(), but the problem is that I cannot merge the 2 Python objects representing the individuals (since Python has no method for merging two distinct objects).