when I live load the first time is ok , but the next live load can not Automatic recognition of existing UIDs . when next load data A new uid will be created by the same subject
That is not what I expected.
My application scenario is that every day there will be new different file parent process data need written.
so, I need to automatically identify the existing UID for the same subject.
I don’t believe so. The loaders are made just for loading RDFs. There’s no other function.
It would be necessary to evaluate something universally accepted to introduce as a feature to Loaders. But this is only coming from the community.
I want to use dgraph live to increment new data because upsert may be slower. But how can I make the map between uid and xid? Can I make a unique identifier for every triplet to replace the mapping of uid and xid?
When you have a question, please open a new topic. And reference other topics instead of commenting on them. For when you write in an old topic. It can trigger emails to the people involved. And not everyone likes to receive emails from old subjects.
About your question.
XID mapping only exists for entities. Consequently, edges that belong to this entity must contain the blank node in order to be mapped.
Blank nodes(unique identifiers) are used in that case. A Tour of Dgraph
In general Dgraph does not use XID, only UIDs. Internally Dgraph handles this, but it is not open for users manipulation.
If you have URI, URL, UUID, GUID, BIC, UDID, SSID, NPI, shortuuid, Snowflake, MongoID and etc. You must use this approach here Get started with Dgraph.