1 |
58118
|
k.triantaf
|
import {Author, Organization, Project} from "./searchResult";
|
2 |
58103
|
k.triantaf
|
|
3 |
58118
|
k.triantaf
|
export interface HostedByCollectedFrom {
|
4 |
|
|
downloadName: string;
|
5 |
|
|
downloadUrl: string[];
|
6 |
|
|
collectedName: string;
|
7 |
|
|
collectedId: string;
|
8 |
|
|
accessMode: string[];
|
9 |
|
|
bestAccessMode: string;
|
10 |
|
|
type: string;
|
11 |
|
|
year: string;
|
12 |
|
|
}
|
13 |
|
|
|
14 |
|
|
export interface Journal {
|
15 |
|
|
journal?: string;
|
16 |
|
|
issn?: string;
|
17 |
|
|
lissn: string;
|
18 |
|
|
eissn?: string;
|
19 |
|
|
issue?: string;
|
20 |
|
|
volume?: string;
|
21 |
|
|
start_page?: string;
|
22 |
|
|
end_page?: string;
|
23 |
|
|
}
|
24 |
|
|
|
25 |
58144
|
k.triantaf
|
export interface RelationResult {
|
26 |
|
|
name: string;
|
27 |
|
|
id: string;
|
28 |
|
|
date: string;
|
29 |
|
|
percentage: number;
|
30 |
|
|
class: string
|
31 |
|
|
provenanceAction?: string;
|
32 |
|
|
}
|
33 |
|
|
|
34 |
56925
|
konstantin
|
export class ResultLandingInfo {
|
35 |
|
|
// PUBLICATION, DATASET, SOFTWARE, ORP
|
36 |
|
|
record;
|
37 |
58178
|
k.triantaf
|
resultType: "publication"|"dataset"|"other"|"software";
|
38 |
58118
|
k.triantaf
|
|
39 |
57201
|
konstantin
|
// PUBLICATION, DATASET, SOFTWARE, ORP, DELETED_BY_INFERENCE
|
40 |
56925
|
konstantin
|
title: string;
|
41 |
|
|
accessMode: string;
|
42 |
58103
|
k.triantaf
|
authors: Author[];
|
43 |
56925
|
konstantin
|
date: string;
|
44 |
58103
|
k.triantaf
|
dateofacceptance: Date;
|
45 |
|
|
embargoEndDate: Date;
|
46 |
56925
|
konstantin
|
types: string[];
|
47 |
57201
|
konstantin
|
identifiers: Map<string, string[]>; //key is the classname
|
48 |
|
|
languages: string[];
|
49 |
|
|
countries: string[];
|
50 |
|
|
description: string;
|
51 |
58118
|
k.triantaf
|
|
52 |
|
|
hostedBy_collectedFrom: HostedByCollectedFrom[];
|
53 |
|
|
|
54 |
57335
|
konstantin
|
// PUBLICATION, DATASET, SOFTWARE, ORP
|
55 |
58118
|
k.triantaf
|
fundedByProjects: Project[];
|
56 |
|
|
|
57 |
57201
|
konstantin
|
underCurationMessage: boolean;
|
58 |
|
|
publisher: string;
|
59 |
58118
|
k.triantaf
|
journal: Journal;
|
60 |
|
|
|
61 |
57201
|
konstantin
|
subjects: string[];
|
62 |
|
|
otherSubjects: Map<string, string[]>;
|
63 |
|
|
classifiedSubjects: Map<string, string[]>; //<class of subject, subjects>
|
64 |
58118
|
k.triantaf
|
|
65 |
56925
|
konstantin
|
// percentage is for trust
|
66 |
58144
|
k.triantaf
|
relatedResearchResults: RelationResult[];
|
67 |
56925
|
konstantin
|
// percentage is for similarity
|
68 |
58144
|
k.triantaf
|
similarResearchResults: RelationResult[];
|
69 |
57404
|
konstantin
|
//isSupplementedBy
|
70 |
58144
|
k.triantaf
|
supplementaryResearchResults: RelationResult[];
|
71 |
57404
|
konstantin
|
//isSupplementTo
|
72 |
58144
|
k.triantaf
|
supplementedByResearchResults: RelationResult[];
|
73 |
58118
|
k.triantaf
|
|
74 |
|
|
contexts: { "labelContext": string, "labelCategory": string, "labelConcept": string, "inline": boolean }[];
|
75 |
|
|
|
76 |
56925
|
konstantin
|
deletedByInferenceIds: string[];
|
77 |
58118
|
k.triantaf
|
|
78 |
56925
|
konstantin
|
// PUBLICATION, DATASET, ORP
|
79 |
58118
|
k.triantaf
|
references: { "name": string, "url": string }[];
|
80 |
|
|
|
81 |
56925
|
konstantin
|
// PUBLICATION
|
82 |
|
|
bioentities: Map<string, Map<string, string>>; //<site name, <>>
|
83 |
58118
|
k.triantaf
|
organizations: Organization[];
|
84 |
|
|
openCitations: { "url": string, "title": string, "year": string, "doi": string, "authors": string[] }[];
|
85 |
|
|
|
86 |
56925
|
konstantin
|
// DATASET
|
87 |
|
|
subtitle: string;
|
88 |
58118
|
k.triantaf
|
|
89 |
56925
|
konstantin
|
// SOFTWARE
|
90 |
|
|
programmingLanguages: string[];
|
91 |
|
|
}
|