I have some experience with Neo4j / cypher. In cypher relationships are first-class citizens, so they can have properties, which I really like.
How do I do something similar with datalog? Do I have to have a "mapping entity" in between two entities that have a relationship?