Debian Codegraph @

t/data/test2.chadoxml

raw
1 <?xml version="1.0"?>
2 <chado>
3 <!--XORT macros - we can refer to these later-->
4 <cv op="force" id="relationship">
5 <name>relationship</name>
6 </cv>
7 <cv op="force" id="synonym_type">
8 <name>synonym_type</name>
9 </cv>
10 <cv op="force" id="cvterm_property_type">
11 <name>cvterm_property_type</name>
12 </cv>
13 <cv op="force" id="anonymous_cv">
14 <name>anonymous</name>
15 </cv>
16 <db op="force" id="OBO_REL">
17 <name>OBO_REL</name>
18 </db>
19 <db op="force" id="internal">
20 <name>internal</name>
21 </db>
22 <cvterm op="force" id="comment_type">
23 <dbxref_id>
24 <dbxref>
25 <db_id>internal</db_id>
26 <accession>cvterm_property_type</accession>
27 </dbxref>
28 </dbxref_id>
29 <cv_id>cvterm_property_type</cv_id>
30 <name>comment</name>
31 </cvterm>
32 <cvterm op="force" id="is_anonymous">
33 <dbxref_id>
34 <dbxref>
35 <db_id>internal</db_id>
36 <accession>is_anonymous</accession>
37 </dbxref>
38 </dbxref_id>
39 <cv_id>cvterm_property_type</cv_id>
40 <name>is_anonymous</name>
41 </cvterm>
42 <cvterm op="force" id="is_a">
43 <dbxref_id>
44 <dbxref>
45 <db_id>OBO_REL</db_id>
46 <accession>is_a</accession>
47 </dbxref>
48 </dbxref_id>
49 <cv_id>relationship</cv_id>
50 <name>is_a</name>
51 <is_relationshiptype>1</is_relationshiptype>
52 </cvterm>
53 <cvterm op="force" id="intersection_of">
54 <dbxref_id>
55 <dbxref>
56 <db_id>internal</db_id>
57 <accession>intersection_of</accession>
58 </dbxref>
59 </dbxref_id>
60 <cv_id>cvterm_property_type</cv_id>
61 <name>intersection_of</name>
62 <is_relationshiptype>1</is_relationshiptype>
63 </cvterm>
64 <!--
65 external cvterms that are referred to in this document
66 -->
67 <dbxref id="dbxref__OBO_REL:part_of">
68 <db_id>
69 <db>
70 <name>OBO_REL</name>
71 </db>
72 </db_id>
73 <accession>part_of</accession>
74 </dbxref>
75 <cvterm op="lookup" id="OBO_REL:part_of">
76 <dbxref_id>dbxref__OBO_REL:part_of</dbxref_id>
77 </cvterm>
78 <!--
79 relationship types
80 -->
81 <cvterm op="force" id="wibble">
82 <dbxref_id>
83 <dbxref id="dbxref__wibble">
84 <db_id>OBO_REL</db_id>
85 <accession>wibble</accession>
86 </dbxref>
87 </dbxref_id>
88 <name>wibble</name>
89 <cv_id>
90 <cv>
91 <name>test</name>
92 </cv>
93 </cv_id>
94 <is_relationshiptype>1</is_relationshiptype>
95 </cvterm>
96 <!--
97 terms
98 -->
99 <cvterm id="TEST:a">
100 <dbxref_id>
101 <dbxref id="dbxref__TEST:a">
102 <db_id>
103 <db>
104 <name>TEST</name>
105 </db>
106 </db_id>
107 <accession>a</accession>
108 </dbxref>
109 </dbxref_id>
110 <name>a</name>
111 <cv_id>
112 <cv>
113 <name>test</name>
114 </cv>
115 </cv_id>
116 </cvterm>
117 <cvterm id="TEST:b">
118 <dbxref_id>
119 <dbxref id="dbxref__TEST:b">
120 <db_id>
121 <db>
122 <name>TEST</name>
123 </db>
124 </db_id>
125 <accession>b</accession>
126 </dbxref>
127 </dbxref_id>
128 <name>b</name>
129 <cv_id>
130 <cv>
131 <name>test</name>
132 </cv>
133 </cv_id>
134 </cvterm>
135 <cvterm id="TEST:c">
136 <dbxref_id>
137 <dbxref id="dbxref__TEST:c">
138 <db_id>
139 <db>
140 <name>TEST</name>
141 </db>
142 </db_id>
143 <accession>c</accession>
144 </dbxref>
145 </dbxref_id>
146 <name>c</name>
147 <cv_id>
148 <cv>
149 <name>test</name>
150 </cv>
151 </cv_id>
152 </cvterm>
153 <cvterm id="TEST:ab">
154 <dbxref_id>
155 <dbxref id="dbxref__TEST:ab">
156 <db_id>
157 <db>
158 <name>TEST</name>
159 </db>
160 </db_id>
161 <accession>ab</accession>
162 </dbxref>
163 </dbxref_id>
164 <name>ab</name>
165 <cv_id>
166 <cv>
167 <name>test</name>
168 </cv>
169 </cv_id>
170 </cvterm>
171 <!--
172 is_a relationship types
173 -->
174 <cvterm_relationship>
175 <type_id>is_a</type_id>
176 <subject_id>TEST:c</subject_id>
177 <object_id>TEST:a</object_id>
178 </cvterm_relationship>
179 <cvterm_relationship>
180 <type_id>is_a</type_id>
181 <subject_id>TEST:ab</subject_id>
182 <object_id>TEST:a</object_id>
183 </cvterm_relationship>
184 <!--
185 other relationship types
186 -->
187 <cvterm_relationship>
188 <type_id>wibble</type_id>
189 <subject_id>TEST:b</subject_id>
190 <object_id>TEST:c</object_id>
191 </cvterm_relationship>
192 <cvterm_relationship>
193 <type_id>OBO_REL:part_of</type_id>
194 <subject_id>TEST:ab</subject_id>
195 <object_id>TEST:b</object_id>
196 </cvterm_relationship>
197 <!--
198 intersection_of; logical definition DAG links.
199 you should only expect to find cvterm_relationships
200 under here for advanced obo1.2 and owl sourced ontologies
201 -->
202 <cvterm_relationship>
203 <type_id>intersection_of</type_id>
204 <subject_id>TEST:ab</subject_id>
205 <object_id>TEST:a</object_id>
206 </cvterm_relationship>
207 <cvterm_relationship>
208 <type_id>intersection_of</type_id>
209 <subject_id>TEST:ab</subject_id>
210 <object_id>
211 <cvterm>
212 <dbxref_id>
213 <dbxref>
214 <db_id>internal</db_id>
215 <accession>restriction--OBO_REL:part_of--TEST:ab</accession>
216 </dbxref>
217 </dbxref_id>
218 <name>restriction--OBO_REL:part_of--TEST:ab</name>
219 <cv_id>anonymous_cv</cv_id>
220 <cvtermprop>
221 <type_id>is_anonymous</type_id>
222 <value>1</value>
223 <rank>0</rank>
224 </cvtermprop>
225 <cvterm_relationship>
226 <type_id>OBO_REL:part_of</type_id>
227 <object_id>TEST:b</object_id>
228 </cvterm_relationship>
229 </cvterm>
230 </object_id>
231 </cvterm_relationship>
232 <!--
233 is_a relationship types between typedefs
234 -->
235 </chado>