File size: 3,152 Bytes
eb88b82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
textex_schema = {
    "properties" : {
        "title" : {
            "type" : "string",
            "description" : "Title of the given text. Often located in the top of the first page."
        },
        "authors" : {
            "type" : "string",
            "description" : "Authors / writers of the given text. Some of the names of the people."
        },
        "publisher" : {
            "type" : "string",
            "description" : "Publisher name of the given text."
        },
        "publication_year" : {
            "type" : "string",
            "description" : "The year when the given text publised."
        },
        "genes_locus" : {
            "type" : "string",
            "description" : "The gene or locus names mentioned in the text."
        },
        "diseases" : {
            "type" : "string",
            "description" : "Diseases / Phenotypes / Traits corresponding to the Gene / Locus / SNP mentioned in the text."
        },
        "SNPs" : {
            "type" : "string",
            "description" : "SNPs (Single Nucleotide Polymorphism) / rsID mentioned in the text. Usually startwith `rs` followed by some numbers."
        },
        "population_race" : {
            "type" : "string",
            "description" : "Population / race used by the author in the given text."
        },
        "sample_size" : {
            "type" : "string",
            "description" : "Sample size of the population used in the research that mentioned in the paper."
        },
        "study_methodology" : {
            "type" : "string",
            "description" : "Study methodoly mentioned in the text."
        },
        "study_level" : {
            "type" : "string",
            "description" : "Study level mentioned in the text."
        }
    },
    "required" : ["title"]
}

tablex_schema = {
    "properties" : {
        "title" : {
            "type" : "string",
            "description" : "Title of the given text. Often located in the top of the first page. Usually at the top of authors name."
        },
        "authors" : {
            "type" : "string",
            "description" : "Authors / writers of the given text. Some of the names of the people."
        },
        "publisher_name" : {
            "type" : "string",
            "description" : "Publisher name of the given text."
        },
        "year_of_publication" : {
            "type" : "string",
            "description" : "The year when the given text publised."
        },
        "population_race" : {
            "type" : "string",
            "description" : "Population / race used by the author in the given text."
        },
        "sample_size" : {
            "type" : "string",
            "description" : "Sample size of the population used in the research that mentioned in the paper."
        },
        "study_methodology" : {
            "type" : "string",
            "description" : "Study methodoly mentioned in the text."
        },
        "study_level" : {
            "type" : "string",
            "description" : "Study level mentioned in the text."
        }
    },
    "required" : ["title"]
}