The situation
Suppose we have 2 triple files like this:
data1.triple (from "data source A")
prefix:personX vocab:name "X". prefix:personX vocab:birthdate "2000-01-01".
data2.triple (from "data source B")
prefix:personX vocab:name "X". prefix:personX vocab:birthdate "2000-01-01".
Because data1 and data2 are excatly same, each of name
and birthdate
will be imported once.
But what if data1 and data2 have a difference value of personX's date of birth like this:
- data1.triple (from "data source A")
prefix:personX vocab:name "X". prefix:personX vocab:birthdate "2000-01-01".
- data2.triple (from "data source B")
prefix:personX vocab:name "X". prefix:personX vocab:birthdate "1999-01-01".
In this case, I just want to load one of "2000-01-01" or "1999-01-01" because having 2 dates of birth does not make sense.
Question
Is there any mechanism or directive or any sort of concepts to describe:
- "some predicate should have one edge per one Entity"
- "data source A" has a higher precedence than "data source B's"
So that 'personX' has the 'name' predicate exactly once.