PR: Bypass Action Set #157
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
RDGraph
RSAC
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: D-Net/dnet-hadoop#157
Loading…
Reference in New Issue
No description provided.
Delete Branch "bypass_acstionset"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request is to create OAF entities that aim to enrich existing records in the graph. The OAF object is created setting as
id
a particular encoding of the given PIDunresolved:[pid]:[pidtype]
where
unresolved
is a constant valuepid
: is the persistent id value, e.g.10.5281/zenodo.4707307
pidtype
: is the persistent id type, e.g.doi
Then, such obejects are matched againsts those available in the graph using the
result.instance.pid
values.This mechanism can be used to integrate enrichments produced as associated by a given PID. All the objects for which a match is not found are discarded.
Consider using the already existing common function
@ -0,0 +47,4 @@
.map((MapFunction<String, R>) value -> OBJECT_MAPPER.readValue(value, clazz), Encoders.bean(clazz));
}
public static String getUnresolvedDoiIndentifier(String doi) {
Instead of defining an ad hoc method, it would be better to reuse the already existing function for the creation of the unresolved identifiers. It is available in