forked from D-Net/dnet-hadoop
Compare commits
No commits in common. "8f281846a421676fae6129deea8e13604f38b103" and "7f9636ef0084dd82a08604d76082b808a02f886a" have entirely different histories.
8f281846a4
...
7f9636ef00
|
@ -36,7 +36,7 @@
|
|||
],
|
||||
"dates": [
|
||||
{
|
||||
"date": "2021-12-10T11:11:09",
|
||||
"date": "2021-12-09T21:10:30",
|
||||
"dateType": "Collected"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -70,7 +70,7 @@ public class RDFConverter {
|
|||
DataciteProtein dataciteProtein = new DataciteProtein();
|
||||
|
||||
citations.forEach(citation -> {
|
||||
addRelatedIdentifier(dataciteProtein, citation, "IsCitedBy");
|
||||
addRelatedIdentifier(dataciteProtein, citation, "CitedBy");
|
||||
});
|
||||
|
||||
DataciteProtein.Types types = new DataciteProtein.Types();
|
||||
|
@ -203,9 +203,6 @@ public class RDFConverter {
|
|||
if (!relationType.isEmpty()) {
|
||||
relatedIdentifier.setRelationType(relationType);
|
||||
}
|
||||
if (relatedIdentifierValue.contains("http://") || relatedIdentifierValue.contains("https://")) {
|
||||
relatedIdentifier.setRelatedIdentifierType("URL");
|
||||
}
|
||||
DataciteProtein.getRelatedIdentifiers().add(relatedIdentifier);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue