-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLOVD.shex
100 lines (88 loc) · 4.35 KB
/
LOVD.shex
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
88
89
90
91
92
93
94
95
96
97
98
99
PREFIX lovd: <https://databases.lovd.nl/shared/>
PREFIX ncit: <http://purl.obolibrary.org/obo/NCIT_>
PREFIX omim: <https://www.omim.org/entry/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sio: <https://sio.semanticscience.org/resource/SIO_>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
<#PatientIdentifierShape> CLOSED {
a [sio:000115]; # identifier
rdfs:label xsd:string?;
/*denotes */ sio:000020 @<#PatientRoleShape>;
/*has value */ sio:000300 /[0-9]+/
}
<#PersonShape> CLOSED {
a [sio:000498]; # person
rdfs:label xsd:string?;
/*has identifier */ sio:000671 @<#PatientIdentifierShape>;
/*has role */ sio:000228 @<#PatientRoleShape>;
/*has attribute */ sio:000008 @<#DiagnosisMeasurementProcess>?;
sio:000008 @<#GenotypeAttribute>*
}
<#PatientRoleShape> CLOSED {
a [sio:000016]; # role
a [<http://purl.obolibrary.org/obo/OBI_0000093>];
rdfs:label xsd:string?;
/*is realized in */ sio:000356 @<#DiagnosisMeasurementProcess>?;
sio:000356 @<#GeneticMeasurementProcess>*
}
<#DiagnosisMeasurementProcess> CLOSED {
a [sio:000006]; # process
a [ncit:C15220]; # Diagnosis
rdfs:label xsd:string?;
/*has output */ sio:000229 @<#DiagnosisMeasurementOutput>
}
<#DiagnosisMeasurementOutput> CLOSED {
a [ncit:C70856]; # Observation Result
a [sio:000015]; # information content entity
rdfs:label xsd:string?;
/*refers to */ sio:000628 @<#DiagnosisAttribute>
}
<#DiagnosisAttribute> CLOSED {
a [sio:000614]; # attribute
a [omim:~]+;
rdfs:label xsd:string?;
/*is about */ sio:000332 [ncit:C2991] # Disease or Disorder
}
<#GeneticMeasurementProcess> CLOSED {
a [sio:000006]; # process
a [ncit:C15709]; # Genetic Testing
rdfs:label xsd:string?;
/*has participant */ sio:000132 IRI /^https:\/\/identifiers.org\/hgnc:[0-9]+/*;
/*has input */ sio:000230 [sio:010010 # deoxyribonucleic acid
sio:010450 # RNA transcript
sio:010043]+; # protein
/*has output */ sio:000229 @<#GeneticMeasurementOutput>*
}
<#GenotypeAttribute> CLOSED {
a [sio:000614];
a [ncit:C103223]; # Genetic Finding
rdfs:label xsd:string?;
}
<#GeneticMeasurementOutput> CLOSED {
a [sio:000015]; # information content entity
a [ncit:C45766]; # Genomic Identifier
rdfs:label xsd:string?;
/*refers to */ sio:000628 @<#GenotypeAttribute>;
/*has part */ sio:000028 @<#VariantOnGenome>;
sio:000028 @<#VariantOnTranscription>*
}
<#VariantOnGenome> CLOSED {
a [sio:000015]; # information content entity
a [ncit:C172243]; # HGVS Genomic Variation Annotation
/*has value */ sio:000300 /^NC_[0-9]{6}\.[0-9]+:g\..+/+
}
<#VariantOnTranscription> CLOSED {
a [sio:000015]; # information content entity
a [ncit:C172244]; # HGVS Transcript Variation Annotation
/*Gene identifier */ ncit:C48664 IRI /^https:\/\/identifiers.org\/hgnc:[0-9]+/;
/*Gene symbol */ ncit:C43568 xsd:string;
/*NCBI transcript ID*/ ncit:C171335 /^[NX][MR]_[0-9]{6,9}\.[0-9]+$/;
/*has value */ sio:000300 /^[cn]\..+/;
/*transcribed into */ sio:010080 /^r\..+/?;
/*is translated into*/ sio:010082 /^p\..+/?;
/*ACMG clin. class. */ ncit:C168798 ["benign"
"likely benign"
"uncertain significance"
"likely pathogenic"
"pathogenic"]
}