Extract Information from Transformative Agreement #371
|
@ -102,20 +102,21 @@ public class CreateActionSetSparkJob implements Serializable {
|
||||||
|
|
||||||
List<Relation> relationList = new ArrayList<>();
|
List<Relation> relationList = new ArrayList<>();
|
||||||
|
|
||||||
String paper;
|
if(value.getAgreement().startsWith("IReL")) {
|
||||||
|
String paper;
|
||||||
|
|
||||||
paper = "50|doi_________::"
|
paper = "50|doi_________::"
|
||||||
+ IdentifierFactory
|
+ IdentifierFactory
|
||||||
.md5(PidCleaner.normalizePidValue(PidType.doi.toString(), value.getDoi()));
|
.md5(PidCleaner.normalizePidValue(PidType.doi.toString(), value.getDoi()));
|
||||||
|
|
||||||
relationList
|
relationList
|
||||||
.add(
|
.add(
|
||||||
getRelation(
|
getRelation(
|
||||||
paper,
|
paper,
|
||||||
IREL_PROJECT, ModelConstants.IS_PRODUCED_BY));
|
IREL_PROJECT, ModelConstants.IS_PRODUCED_BY));
|
||||||
|
|
||||||
relationList.add(getRelation(IREL_PROJECT, paper, ModelConstants.PRODUCES));
|
|
||||||
|
|
||||||
|
relationList.add(getRelation(IREL_PROJECT, paper, ModelConstants.PRODUCES));
|
||||||
|
}
|
||||||
return relationList;
|
return relationList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue