Project

General

Profile

« Previous | Next » 

Revision 57581

update of propagation constant for orcid propagation and propagation of product to organization through semantic relation

View differences:

PropagationConstants.java
18 18

  
19 19
    public final static String ORGANIZATION_COMMUNITY_TRUST = "0.85";
20 20
    public static final String ORCID_RESULT_TRUST = "0.85";
21
    public static final String PRODUCT_TO_ORGANIZATION = "0.85";
21 22

  
22 23
    public static final String ZERO = "0";
23 24
    public static final String ONE = "1";
......
29 30
    public final static String SCHEMA_ID = "dnet:provenanceActions";
30 31

  
31 32
    public final static String DNET_COUNTRY_SCHEMA = "dnet:countries";
32
    public final static String DNET_RELATION_SCHEMA = "dnet:result_project_relations";
33
    public final static String DNET_RELATION_SCHEMA_PROJECTS = "dnet:result_project_relations";
34
    public final static String DNET_RELATION_SCHEMA_ORGANIZATION = "dnet:result_organization_relation";
33 35
    //public final static String DNET_COMMUNITY_RELATION_SCHEMA = "dnet:result_result_relations";
34 36

  
35 37
    public final static String CLASS_PROJECT_ID = "propagation:project:semrel";
......
45 47
    public final static String CLASS_ORGANIZATION_NAME = "Propagation of community result through organization association";
46 48

  
47 49
    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";
50
    public static final String CLASS_ORCID_NAME = "Propagation of ORCID through result linked by isSupplementedBy or isSupplementTo semantic relations";
49 51

  
52
    public static final String CLASS_ORGANIZATION_RESULT_ID = "propagation:result:organization";
53
    public static final String CLASS_ORGANIZATION_RESULT_NAME = "Propagation of result linked to organization through result linked by isSupplementTo or isSupplementedBy";
54

  
50 55
    public final static int PROJECT = TypeProtos.Type.project.getNumber();//40
51 56
    public final static int DATASOURCE = TypeProtos.Type.datasource.getNumber();//10
52 57
    public final static int ORGANIZATION = TypeProtos.Type.organization.getNumber();//20
53 58
    public final static int PUBLICATION = TypeProtos.Type.result.getNumber();//50
54 59

  
55
    public final static RelTypeProtos.RelType REL_TYPE = RelTypeProtos.RelType.resultProject;
56
    public final static RelTypeProtos.SubRelType SUBREL_TYPE = RelTypeProtos.SubRelType.outcome;
60
    public final static RelTypeProtos.RelType REL_TYPE_PROJECT = RelTypeProtos.RelType.resultProject;
61
    public final static RelTypeProtos.SubRelType SUBREL_TYPE_PROJECT = RelTypeProtos.SubRelType.outcome;
57 62
    public static final String REL_PROJECT_RESULT = "produces";
58 63
    public static final String REL_RESULT_PROJECT = "isProducedBy";
59
    public static final String RELATION = REL_TYPE + "_" + SUBREL_TYPE + "_";
64
    public static final String RELATION = REL_TYPE_PROJECT + "_" + SUBREL_TYPE_PROJECT + "_";
60 65
    public static final String OUTCOME_PRODUCEDBY = RELATION + REL_RESULT_PROJECT;
66

  
61 67
    public static final String[] DEFAULT_PROJECT_RELATION_SET = new String[]{"resultResult_supplement_isSupplementedBy","resultResult_supplement_isSupplementTo"};
62 68
    public static final String[] DEFAULT_COMMUNITY_RELATION_SET = new String[]{"resultResult_supplement_isSupplementedBy","resultResult_supplement_isSupplementTo"};
69
    public static final String[] DEFAULT_ORGANIZATION_RESULT_RELATION_SET = new String[]{"resultResult_supplement_isSupplementedBy","resultResult_supplement_isSupplementTo"};
63 70

  
64 71
    public static final String[] DEFAULT_RESULT_RELATION_SET = new String[]{"resultResult_supplement_isSupplementedBy","resultResult_supplement_isSupplementTo"};
65 72

  

Also available in: Unified diff