57 lines
2.0 KiB
Java
57 lines
2.0 KiB
Java
|
|
package eu.dnetlib.dhp.oa.graph.dump;
|
|
|
|
import java.util.Map;
|
|
|
|
import com.google.common.collect.Maps;
|
|
|
|
public class Constants {
|
|
|
|
public static final Map<String, String> accessRightsCoarMap = Maps.newHashMap();
|
|
public static final Map<String, String> coarCodeLabelMap = Maps.newHashMap();
|
|
|
|
public static final String INFERRED = "Inferred by OpenAIRE";
|
|
|
|
public static final String HARVESTED = "Harvested";
|
|
public static final String DEFAULT_TRUST = "0.9";
|
|
public static final String USER_CLAIM = "Linked by user";;
|
|
public static final String SIMILARITY = "similarity";
|
|
|
|
public static final String RESULT = "result";
|
|
public static final String AUTHOR = "author";
|
|
public static final String ORGANIZATION = "organization";
|
|
public static final String PROJECT = "project";
|
|
|
|
public static final String RESPID_RESPID_RELATION = "hasOtherManifestation";
|
|
public static final String RES_AUTHOR_RELATION = "hasAuthor";
|
|
public static final String AUTHOR_RES_RELATION = "isAuthorOf";
|
|
public static final String AUTHOR_AUTHOR_RELATION = "hasCoAuthor";
|
|
public static final String AUTHORSHIP = "authorship";
|
|
public static final String SAME_AS = "sameAs";
|
|
|
|
public static String COAR_ACCESS_RIGHT_SCHEMA = "http://vocabularies.coar-repositories.org/documentation/access_rights/";
|
|
|
|
public static String ZENODO_COMMUNITY_PREFIX = "https://zenodo.org/communities/";
|
|
|
|
public static String RESEARCH_COMMUNITY = "Research Community";
|
|
|
|
public static String RESEARCH_INFRASTRUCTURE = "Research Infrastructure/Initiative";
|
|
|
|
public static String ORCID = "orcid";
|
|
|
|
static {
|
|
accessRightsCoarMap.put("OPEN", "c_abf2");
|
|
accessRightsCoarMap.put("RESTRICTED", "c_16ec");
|
|
accessRightsCoarMap.put("OPEN SOURCE", "c_abf2");
|
|
accessRightsCoarMap.put("CLOSED", "c_14cb");
|
|
accessRightsCoarMap.put("EMBARGO", "c_f1cf");
|
|
}
|
|
|
|
static {
|
|
coarCodeLabelMap.put("c_abf2", "OPEN");
|
|
coarCodeLabelMap.put("c_16ec", "RESTRICTED");
|
|
coarCodeLabelMap.put("c_14cb", "CLOSED");
|
|
coarCodeLabelMap.put("c_f1cf", "EMBARGO");
|
|
}
|
|
}
|