Closed gordom6 closed 3 years ago
This is likely a problem in the MemKgStore, too.
This should be as straightforward as updating the node's sourceIds when a node appears in a subsequent edge. So rather than only checking if the node is already in the graph, also update its sourceIds if necessary.
Split off from comments on the PR for #251.
Currently we consider that the sources of a node are the sources of the first edge containing a node. This loop in Neo4jKgCommandStore putKgtkEdgesWithNodes:
The sources of a node should be the union of the sources of the edges the node appears in.