Labeled property graphs - adding properties to edges
Usecases
- Provide information about where a piece of information came from. (E.g. see 'reference' https://www.wikidata.org/wiki/Q2766)
- Add information about the relationship between two resources.
Approaches
Leave reification entirely up to the user
This is the rdf approach, I think. In this case, users / modellers have to manually create in-between classes if they want relationships with their own attributes. I don't like this approach that much.
Introduce a pre-defined "relation" class
Let's say we have a friendsWith property. In this case, this Property has the datatype of Resource and the classtype of Relation. This Relation class requires a to and a from attribute, but in all other aspects, you're free to add properties as you like.
The major downside of this approach, is that there is no schema for the relationship, which harms interoperability on the long run.
Maybe we can still introduce the Relation class as an example / inspiration for others to make their own Relation type classes.