Revision 57432
Added by Miriam Baglioni about 5 years ago
modules/dnet-mapreduce-jobs/trunk/src/main/java/eu/dnetlib/data/mapreduce/hbase/propagation/PropagationConstants.java | ||
---|---|---|
17 | 17 |
} |
18 | 18 |
|
19 | 19 |
public final static String ORGANIZATION_COMMUNITY_TRUST = "0.85"; |
20 |
public static final String ORCID_RESULT_TRUST = "0.85"; |
|
20 | 21 |
|
21 | 22 |
public static final String ZERO = "0"; |
22 | 23 |
public static final String ONE = "1"; |
... | ... | |
43 | 44 |
public final static String CLASS_ORGANIZATION_ID = "propagation:community:organization"; |
44 | 45 |
public final static String CLASS_ORGANIZATION_NAME = "Propagation of community result through organization association"; |
45 | 46 |
|
47 |
public final static String CLASS_ORCID_ID = "propagation:orcid:result"; |
|
48 |
public static final String CLASS_ORCID_NAME = "Propagation of ORCID through result linked by isSupplementedBy of isSupplementOf semantic relations"; |
|
49 |
|
|
46 | 50 |
public final static int PROJECT = TypeProtos.Type.project.getNumber();//40 |
47 | 51 |
public final static int DATASOURCE = TypeProtos.Type.datasource.getNumber();//10 |
48 | 52 |
public final static int ORGANIZATION = TypeProtos.Type.organization.getNumber();//20 |
... | ... | |
57 | 61 |
public static final String[] DEFAULT_PROJECT_RELATION_SET = new String[]{"resultResult_supplement_isSupplementedBy","resultResult_supplement_isSupplementTo"}; |
58 | 62 |
public static final String[] DEFAULT_COMMUNITY_RELATION_SET = new String[]{"resultResult_supplement_isSupplementedBy","resultResult_supplement_isSupplementTo"}; |
59 | 63 |
|
64 |
public static final String[] DEFAULT_RESULT_RELATION_SET = new String[]{"resultResult_supplement_isSupplementedBy","resultResult_supplement_isSupplementTo"}; |
|
60 | 65 |
|
66 |
|
|
61 | 67 |
public final static RelTypeProtos.RelType REL_TYPE_ORGANIZATION = RelTypeProtos.RelType.resultOrganization; |
62 | 68 |
public final static RelTypeProtos.SubRelType SUBREL_TYPE_ORGANIZATION = RelTypeProtos.SubRelType.affiliation; |
63 | 69 |
public static final String REL_ORGANIZATIO_RESULT = "isAuthorInstitutionOf"; |
... | ... | |
76 | 82 |
|
77 | 83 |
public static final String DEDUP_RELATION_RESULT = REL_TYPE_RESULT + "_" + SUBREL_DEDUP + "_"; |
78 | 84 |
|
79 |
|
|
85 |
public static final String AUTHOR_PID = "ORCID"; |
|
80 | 86 |
//public static final String[] DEFAULT_ORGANIZATION_RELATION_SET = new String[]{"resultOrganization_affiliation_isAuthorInstitutionOf","resultOrganization_affiliation_hasAuthorInstitution"}; |
81 | 87 |
|
82 | 88 |
|
Also available in: Unified diff
Added new propagation constants for the ORCID propagation