-
Notifications
You must be signed in to change notification settings - Fork 48
Description
I've been modelling PROV graphs a few times, and noticed, that relationships are not stored as a set of unique edges.
For example, I'm expressing that one actor (a person) is a delegate of another actor (an organisation), using the actedOnBehalfOf relationship. Unfortunately, if I'm running certain things through a function that will make such connections automatically, I will end up with several (identical) actedOnBehalfOf relationships between the same two nodes in the 'wired up' form.
I can see that there may be different relationships between the same source and destination vertex, however if they are identical, I suppose they should be recorded only once, right?
Or did I misunderstand something here?
If the behaviour is intended, then it is quite cumbersome to drill down into the RPOV document data structures, and pry out whether a particular delegation record does already exist, and then avoid adding an additional one.