From 466503ccaa926c7752bdee3b28e3ef1c36e9ece0 Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Tue, 12 Oct 2021 11:50:33 +0200 Subject: [PATCH] added IsParentOf / IsChildOf relClass constants --- pom.xml | 4 ++-- .../java/eu/dnetlib/dhp/schema/common/ModelConstants.java | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 91e4a48..b9d93c9 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ eu.dnetlib.dhp dhp-schemas jar - 2.7.20-SNAPSHOT + 2.8.20-SNAPSHOT @@ -32,7 +32,7 @@ scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git scm:git:gitea@code-repo.d4science.org:D-Net/dhp-schemas.git https://code-repo.d4science.org/D-Net/dhp-schemas/ - dhp-schemas-2.7.19 + dhp-schemas-2.8.20 This module contains common schema classes meant to be used across the dnet-hadoop submodules diff --git a/src/main/java/eu/dnetlib/dhp/schema/common/ModelConstants.java b/src/main/java/eu/dnetlib/dhp/schema/common/ModelConstants.java index d609d9c..e71cf6c 100644 --- a/src/main/java/eu/dnetlib/dhp/schema/common/ModelConstants.java +++ b/src/main/java/eu/dnetlib/dhp/schema/common/ModelConstants.java @@ -142,6 +142,8 @@ public class ModelConstants { public static final String HAS_AUTHOR_INSTITUTION = "hasAuthorInstitution"; public static final String ORG_ORG_RELTYPE = "organizationOrganization"; // relType + public static final String IS_PARENT_OF = "IsParentOf"; + public static final String IS_CHILD_OF = "IsChildOf"; public static final String DEDUP = "dedup"; // subreltype public static final String MERGES = "merges";