activefacts-examples 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +10 -0
  3. data/.rspec +1 -0
  4. data/.travis.yml +4 -0
  5. data/Gemfile +10 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +22 -0
  8. data/Rakefile +6 -0
  9. data/activefacts-examples.gemspec +26 -0
  10. data/cql/Address.cql +44 -0
  11. data/cql/Astronomy.cql +35 -0
  12. data/cql/Blog.cql +54 -0
  13. data/cql/CinemaBookings.cql +64 -0
  14. data/cql/CinemaTickets.cql +127 -0
  15. data/cql/CompanyDirectorEmployee.cql +56 -0
  16. data/cql/Death.cql +17 -0
  17. data/cql/Diplomacy.cql +48 -0
  18. data/cql/Genealogy.cql +98 -0
  19. data/cql/Health.cql +78 -0
  20. data/cql/Insurance.cql +320 -0
  21. data/cql/Marriage.cql +18 -0
  22. data/cql/Metamodel.cql +567 -0
  23. data/cql/Monogamy.cql +24 -0
  24. data/cql/MultiInheritance.cql +22 -0
  25. data/cql/MultipleSubtyping.cql +30 -0
  26. data/cql/NonRoleId.cql +14 -0
  27. data/cql/OddIdentifier.cql +18 -0
  28. data/cql/OilSupply.cql +53 -0
  29. data/cql/OneRoleNesting.cql +38 -0
  30. data/cql/OneToOnes.cql +17 -0
  31. data/cql/Orienteering.cql +111 -0
  32. data/cql/PartyModel.cql +38 -0
  33. data/cql/PersonPlaysGame.cql +18 -0
  34. data/cql/RedundantDependency.cql +34 -0
  35. data/cql/SchoolActivities.cql +33 -0
  36. data/cql/SeparateSubtype.cql +30 -0
  37. data/cql/ServiceDirector.cql +276 -0
  38. data/cql/SimplestUnary.cql +12 -0
  39. data/cql/Supervision.cql +34 -0
  40. data/cql/VenueSeating.cql +45 -0
  41. data/cql/WaiterTips.cql +33 -0
  42. data/cql/Warehousing.cql +101 -0
  43. data/cql/WindowInRoomInBldg.cql +28 -0
  44. data/cql/unit.cql +474 -0
  45. data/diagrams/json/Address.json +41 -0
  46. data/diagrams/json/Astronomy.json +31 -0
  47. data/diagrams/json/Blog.json +46 -0
  48. data/diagrams/json/CinemaBookings.json +53 -0
  49. data/diagrams/json/CinemaTickets.json +101 -0
  50. data/diagrams/json/CompanyDirectorEmployee.json +44 -0
  51. data/diagrams/json/Death.json +20 -0
  52. data/diagrams/json/Diplomacy.json +34 -0
  53. data/diagrams/json/Genealogy.json +78 -0
  54. data/diagrams/json/Insurance.json +259 -0
  55. data/diagrams/json/Marriage.json +21 -0
  56. data/diagrams/json/Metamodel.json +318 -0
  57. data/diagrams/json/Monogamy.json +22 -0
  58. data/diagrams/json/MultiInheritance.json +25 -0
  59. data/diagrams/json/MultipleSubtyping.json +22 -0
  60. data/diagrams/json/OilSupply.json +49 -0
  61. data/diagrams/json/OneRoleNesting.json +37 -0
  62. data/diagrams/json/Orienteering.json +94 -0
  63. data/diagrams/json/PersonPlaysGame.json +22 -0
  64. data/diagrams/json/RedundantDependency.json +33 -0
  65. data/diagrams/json/SchoolActivities.json +28 -0
  66. data/diagrams/json/SeparateSubtype.json +29 -0
  67. data/diagrams/json/SimplestUnary.json +15 -0
  68. data/diagrams/json/Supervision.json +27 -0
  69. data/diagrams/json/VenueSeating.json +40 -0
  70. data/diagrams/json/WaiterTips.json +29 -0
  71. data/diagrams/json/Warehousing.json +86 -0
  72. data/diagrams/json/WindowInRoomInBldg.json +31 -0
  73. data/images/Address.SQL.png +0 -0
  74. data/images/Address.png +0 -0
  75. data/images/Blog.png +0 -0
  76. data/images/CinemaBookings.png +0 -0
  77. data/images/CinemaTickets.png +0 -0
  78. data/images/CompanyDirectorEmployee.png +0 -0
  79. data/images/Death.png +0 -0
  80. data/images/Diplomacy.png +0 -0
  81. data/images/DumpMetamodel.bat +2 -0
  82. data/images/Genealogy.png +0 -0
  83. data/images/Insurance/Claim.png +0 -0
  84. data/images/Insurance/Insurance.png +0 -0
  85. data/images/Insurance/Person.png +0 -0
  86. data/images/Insurance/Policy.png +0 -0
  87. data/images/Insurance/Related.png +0 -0
  88. data/images/Insurance/VehicleIncident.png +0 -0
  89. data/images/Marriage.png +0 -0
  90. data/images/Metamodel/Concepts.png +0 -0
  91. data/images/Metamodel/Constraints.png +0 -0
  92. data/images/Metamodel/ContextNote.png +0 -0
  93. data/images/Metamodel/Diagrams.png +0 -0
  94. data/images/Metamodel/Language.png +0 -0
  95. data/images/Metamodel/Legacy.png +0 -0
  96. data/images/Metamodel/Objects.png +0 -0
  97. data/images/Metamodel/Populations.png +0 -0
  98. data/images/Metamodel/Query.png +0 -0
  99. data/images/Metamodel/Units.png +0 -0
  100. data/images/Metamodel/ValueConstraints.png +0 -0
  101. data/images/Metamodel/ValueTypes.png +0 -0
  102. data/images/MetamodelER.bcp +1 -0
  103. data/images/MetamodelER.pdf +0 -0
  104. data/images/MultiInheritance.png +0 -0
  105. data/images/NorthwindER.png +0 -0
  106. data/images/OilSupply.png +0 -0
  107. data/images/Orienteering/Administration.png +0 -0
  108. data/images/Orienteering/Registration.png +0 -0
  109. data/images/Orienteering/Scoring.png +0 -0
  110. data/images/PersonPlaysGame.png +0 -0
  111. data/images/RedundantDependency.png +0 -0
  112. data/images/SchoolActivities.png +0 -0
  113. data/images/SeparateSubtype.png +0 -0
  114. data/images/SimplestUnary.png +0 -0
  115. data/images/Supervision.png +0 -0
  116. data/images/VenueSeating.png +0 -0
  117. data/images/WaiterTips.png +0 -0
  118. data/images/Warehousing.png +0 -0
  119. data/images/WindowInRoomInBldg.png +0 -0
  120. data/metadata/json/Astronomy.json +175 -0
  121. data/metadata/json/CinemaBookings.json +354 -0
  122. data/metadata/json/CinemaTickets.json +768 -0
  123. data/metadata/json/CompanyDirectorEmployee.json +270 -0
  124. data/metadata/json/Diplomacy.json +186 -0
  125. data/metadata/json/Metamodel.json +3214 -0
  126. data/metadata/json/OilSupply.json +411 -0
  127. data/metadata/json/SeparateSubtype.json +157 -0
  128. data/metadata/json/Supervision.json +128 -0
  129. data/metadata/json/VenueSeating.json +209 -0
  130. data/orm/.gitignore +11 -0
  131. data/orm/Address.orm +1268 -0
  132. data/orm/Astronomy.orm +925 -0
  133. data/orm/Blog.orm +1711 -0
  134. data/orm/CinemaBookings.orm +1998 -0
  135. data/orm/CinemaTickets.orm +5060 -0
  136. data/orm/CompanyDirectorEmployee.orm +2094 -0
  137. data/orm/Death.orm +386 -0
  138. data/orm/Diplomacy.orm +1478 -0
  139. data/orm/ExampleModels2010.csproj +764 -0
  140. data/orm/ExampleModels2010.sln +16 -0
  141. data/orm/Genealogy.orm +3209 -0
  142. data/orm/Health.orm +2407 -0
  143. data/orm/Insurance.orm +12727 -0
  144. data/orm/Marriage.orm +493 -0
  145. data/orm/Metamodel.orm +20998 -0
  146. data/orm/Monogamy.orm +328 -0
  147. data/orm/MultiInheritance.orm +537 -0
  148. data/orm/MultipleSubtyping.orm +347 -0
  149. data/orm/OilSupply.orm +2533 -0
  150. data/orm/OneRoleNesting.orm +1237 -0
  151. data/orm/Orienteering.orm +3976 -0
  152. data/orm/PersonPlaysGame.orm +426 -0
  153. data/orm/RedundantDependency.orm +844 -0
  154. data/orm/SchoolActivities.orm +961 -0
  155. data/orm/SeparateSubtype.orm +821 -0
  156. data/orm/SimplestUnary.orm +172 -0
  157. data/orm/Supervision.orm +734 -0
  158. data/orm/VenueSeating.orm +1289 -0
  159. data/orm/WaiterTips.orm +789 -0
  160. data/orm/Warehousing.orm +3792 -0
  161. data/orm/WindowInRoomInBldg.orm +772 -0
  162. data/rails/models/Astronomy.models +17 -0
  163. data/rails/models/CinemaBookings.models +123 -0
  164. data/rails/models/CinemaTickets.models +192 -0
  165. data/rails/models/Diplomacy.models +126 -0
  166. data/rails/models/Metamodel.models +894 -0
  167. data/rails/models/OneRoleNesting.models +18 -0
  168. data/rails/models/SeparateSubtype.models +49 -0
  169. data/rails/models/VenueSeating.models +70 -0
  170. data/rails/schema/Astronomy.schema.rb +25 -0
  171. data/rails/schema/CinemaBookings.schema.rb +78 -0
  172. data/rails/schema/CinemaTickets.schema.rb +132 -0
  173. data/rails/schema/Diplomacy.schema.rb +74 -0
  174. data/rails/schema/Metamodel.schema.rb +538 -0
  175. data/rails/schema/OneRoleNesting.rb +20 -0
  176. data/rails/schema/SeparateSubtype.schema.rb +35 -0
  177. data/rails/schema/VenueSeating.schema.rb +46 -0
  178. data/rails/schema/Warehousing.schema.rb +145 -0
  179. data/ruby/Address.rb +68 -0
  180. data/ruby/Astronomy.rb +55 -0
  181. data/ruby/Blog.rb +84 -0
  182. data/ruby/CinemaBookings.rb +109 -0
  183. data/ruby/CinemaTickets.rb +218 -0
  184. data/ruby/CompanyDirectorEmployee.rb +73 -0
  185. data/ruby/Death.rb +26 -0
  186. data/ruby/Diplomacy.rb +59 -0
  187. data/ruby/Genealogy.rb +173 -0
  188. data/ruby/Insurance.rb +562 -0
  189. data/ruby/Marriage.rb +21 -0
  190. data/ruby/Metamodel.rb +621 -0
  191. data/ruby/Monogamy.rb +27 -0
  192. data/ruby/MultiInheritance.rb +38 -0
  193. data/ruby/OilSupply.rb +112 -0
  194. data/ruby/OneRoleNesting.rb +66 -0
  195. data/ruby/Orienteering.rb +216 -0
  196. data/ruby/PersonPlaysGame.rb +31 -0
  197. data/ruby/RedundantDependency.rb +53 -0
  198. data/ruby/SchoolActivities.rb +49 -0
  199. data/ruby/SeparateSubtype.rb +46 -0
  200. data/ruby/SimplestUnary.rb +10 -0
  201. data/ruby/Supervision.rb +33 -0
  202. data/ruby/TwoValues.rb +14 -0
  203. data/ruby/VenueSeating.rb +64 -0
  204. data/ruby/WaiterTips.rb +49 -0
  205. data/ruby/Warehousing.rb +167 -0
  206. data/ruby/WindowInRoomInBldg.rb +45 -0
  207. data/sql/server/Address.sql +40 -0
  208. data/sql/server/Astronomy.sql +36 -0
  209. data/sql/server/Blog.sql +78 -0
  210. data/sql/server/CinemaBookings.sql +95 -0
  211. data/sql/server/CinemaTickets.sql +191 -0
  212. data/sql/server/CompanyDirectorEmployee.sql +104 -0
  213. data/sql/server/Death.sql +11 -0
  214. data/sql/server/Diplomacy.sql +66 -0
  215. data/sql/server/Genealogy.sql +138 -0
  216. data/sql/server/Health.sql +169 -0
  217. data/sql/server/Insurance.sql +484 -0
  218. data/sql/server/Marriage.sql +30 -0
  219. data/sql/server/Metamodel.sql +1000 -0
  220. data/sql/server/Monogamy.sql +20 -0
  221. data/sql/server/MultiInheritance.sql +27 -0
  222. data/sql/server/OilSupply.sql +105 -0
  223. data/sql/server/OneRoleNesting.sql +29 -0
  224. data/sql/server/Orienteering.sql +186 -0
  225. data/sql/server/PersonPlaysGame.sql +9 -0
  226. data/sql/server/RedundantDependency.sql +54 -0
  227. data/sql/server/SchoolActivities.sql +30 -0
  228. data/sql/server/SeparateSubtype.sql +33 -0
  229. data/sql/server/SimplestUnary.sql +9 -0
  230. data/sql/server/Supervision.sql +30 -0
  231. data/sql/server/VenueSeating.sql +54 -0
  232. data/sql/server/WaiterTips.sql +31 -0
  233. data/sql/server/Warehousing.sql +203 -0
  234. data/sql/server/WindowInRoomInBldg.sql +13 -0
  235. data/transform/surrogate/Address.absorption +2 -0
  236. data/transform/surrogate/Blog.absorption +5 -0
  237. data/transform/surrogate/CinemaBookings.absorption +7 -0
  238. data/transform/surrogate/CompanyDirectorEmployee.absorption +7 -0
  239. data/transform/surrogate/Death.absorption +1 -0
  240. data/transform/surrogate/Diplomacy-revised.absorption +6 -0
  241. data/transform/surrogate/Diplomacy.absorption +6 -0
  242. data/transform/surrogate/Genealogy.absorption +8 -0
  243. data/transform/surrogate/Insurance.absorption +18 -0
  244. data/transform/surrogate/Marriage.absorption +2 -0
  245. data/transform/surrogate/Metamodel.absorption +25 -0
  246. data/transform/surrogate/Monogamy.absorption +1 -0
  247. data/transform/surrogate/MultiInheritance.absorption +1 -0
  248. data/transform/surrogate/MultipleSubtyping.absorption +1 -0
  249. data/transform/surrogate/OilSupply.absorption +8 -0
  250. data/transform/surrogate/OneRoleNesting.absorption +1 -0
  251. data/transform/surrogate/Orienteering.absorption +11 -0
  252. data/transform/surrogate/PersonPlaysGame.absorption +1 -0
  253. data/transform/surrogate/RedundantDependency.absorption +3 -0
  254. data/transform/surrogate/SchoolActivities.absorption +3 -0
  255. data/transform/surrogate/SeparateSubtype.absorption +3 -0
  256. data/transform/surrogate/SimplestUnary.absorption +1 -0
  257. data/transform/surrogate/Supervision.absorption +2 -0
  258. data/transform/surrogate/WaiterTips.absorption +3 -0
  259. data/transform/surrogate/Warehousing.absorption +12 -0
  260. data/transform/surrogate/WindowInRoomInBldg.absorption +1 -0
  261. data/transform/surrogate/unit.absorption +0 -0
  262. metadata +374 -0
@@ -0,0 +1,270 @@
1
+ {
2
+ "types": {
3
+ "Company": {
4
+ "is_main": true,
5
+ "id": "a382e9e8-7cfa-4a9c-9462-9626da3cfe17",
6
+ "functions": [
7
+ {
8
+ "title": "Company Name",
9
+ "type": "Company Name",
10
+ "where": "this Company is called one Company Name",
11
+ "role_id": "c6bb9b82-e5e1-441e-90fa-acb3ab74d502"
12
+ },
13
+ {
14
+ "title": "Company is listed",
15
+ "type": "boolean",
16
+ "where": "this Company is listed",
17
+ "role_id": "957651c7-9d22-40c3-9a7c-d1b5d0124139"
18
+ },
19
+ {
20
+ "title": "all Employee",
21
+ "type": "Employee",
22
+ "where": "this Company employs some Employee",
23
+ "role_id": "18a9e3db-8c43-47fd-a7d5-e1ceb8fe7120",
24
+ "is_list": true
25
+ },
26
+ {
27
+ "title": "all Meeting",
28
+ "type": "Meeting",
29
+ "where": "this Company held some Meeting",
30
+ "role_id": "da1d408a-a6af-4f43-bc59-a777db50be83",
31
+ "is_list": true
32
+ },
33
+ {
34
+ "title": "all Directorship",
35
+ "type": "Directorship",
36
+ "where": "this Company is directed by some Director",
37
+ "role_id": "4e04b4da-48b5-47e6-9b9f-5ce93bb59353",
38
+ "is_list": true
39
+ }
40
+ ]
41
+ },
42
+ "Company Name": {
43
+ "is_main": false,
44
+ "id": "abc0f5e1-5b0c-4973-815c-c0ae850506d5",
45
+ "functions": [
46
+ {
47
+ "title": "Company",
48
+ "type": "Company",
49
+ "where": "this Company Name is of one Company",
50
+ "role_id": "dc4ca1df-df74-4ac8-8a85-3044603f5111"
51
+ }
52
+ ]
53
+ },
54
+ "Date": {
55
+ "is_main": false,
56
+ "id": "053eb485-5bdf-41e5-8733-ab3c8d235536",
57
+ "functions": [
58
+ {
59
+ "title": "all Directorship",
60
+ "type": "Directorship",
61
+ "where": "some Directorship began on this appointment-Date",
62
+ "role_id": "96e5e6d3-dd64-4a2f-b680-feb2e15ab72e",
63
+ "is_list": true
64
+ },
65
+ {
66
+ "title": "all Meeting",
67
+ "type": "Meeting",
68
+ "where": "some Meeting is held on this Date",
69
+ "role_id": "d4aa0586-add8-4ee8-ab58-404df086c33f",
70
+ "is_list": true
71
+ },
72
+ {
73
+ "title": "all Person",
74
+ "type": "Person",
75
+ "where": "some Person was born on this birth-Date",
76
+ "role_id": "7b78603f-8457-40d1-a163-079ee5960d5d",
77
+ "is_list": true
78
+ }
79
+ ]
80
+ },
81
+ "Directorship": {
82
+ "is_main": true,
83
+ "id": "18dd9164-0469-4961-8bee-06f463cf1eeb",
84
+ "functions": [
85
+ {
86
+ "title": "involving Director",
87
+ "type": "Person",
88
+ "where": "this Director directs some Company"
89
+ },
90
+ {
91
+ "title": "involving Company",
92
+ "type": "Company",
93
+ "where": "this Company is directed by some Director"
94
+ },
95
+ {
96
+ "title": "Appointment Date",
97
+ "type": "Date",
98
+ "where": "this Directorship began on one appointment-Date",
99
+ "role_id": "33491d4e-6ef1-45c7-b5a7-985e54f44949"
100
+ }
101
+ ]
102
+ },
103
+ "Employee": {
104
+ "is_main": true,
105
+ "id": "82078326-e98d-4a7c-ae4c-203b12e227aa",
106
+ "functions": [
107
+ {
108
+ "title": "as Manager",
109
+ "type": "Manager"
110
+ },
111
+ {
112
+ "title": "Employee Nr",
113
+ "type": "Employee Nr",
114
+ "where": "this Employee has one Employee Nr",
115
+ "role_id": "5366c12d-ae1e-4500-841a-844493dddeb4"
116
+ },
117
+ {
118
+ "title": "Manager",
119
+ "type": "Manager",
120
+ "where": "this Employee is supervised by one Manager",
121
+ "role_id": "ecec1fe5-f4da-44a9-aa26-3866987aee64"
122
+ },
123
+ {
124
+ "title": "Company",
125
+ "type": "Company",
126
+ "where": "this Employee works at one Company",
127
+ "role_id": "e49db440-9be0-4955-9f1b-e08a8230bc79"
128
+ },
129
+ {
130
+ "title": "all Person",
131
+ "type": "Person",
132
+ "where": "this Employee role is assigned to some Person",
133
+ "role_id": "fb9fbb81-cb2b-4327-ba05-7a7b12ccbba8",
134
+ "is_list": true
135
+ }
136
+ ]
137
+ },
138
+ "Employee Nr": {
139
+ "is_main": false,
140
+ "id": "9c2d5a18-9489-45e0-a176-5bcc72df0ecc",
141
+ "functions": [
142
+ {
143
+ "title": "Employee",
144
+ "type": "Employee",
145
+ "where": "this Employee Nr is of one Employee",
146
+ "role_id": "1d686c47-89ca-4ff5-a651-fecf30ba3439"
147
+ }
148
+ ]
149
+ },
150
+ "Manager": {
151
+ "is_main": false,
152
+ "id": "08d797de-da9a-4154-b086-1fdf35b7b9ca",
153
+ "functions": [
154
+ {
155
+ "title": "as Employee",
156
+ "type": "Employee"
157
+ },
158
+ {
159
+ "title": "all Employee",
160
+ "type": "Employee",
161
+ "where": "this Manager supervises some Employee",
162
+ "role_id": "115dd538-8286-45af-9599-a3f44c11af23",
163
+ "is_list": true
164
+ },
165
+ {
166
+ "title": "Manager is ceo",
167
+ "type": "boolean",
168
+ "where": "this Manager is ceo",
169
+ "role_id": "e1d7dad6-e5d7-4b63-a60d-05fb1794af5a"
170
+ }
171
+ ]
172
+ },
173
+ "Meeting": {
174
+ "is_main": true,
175
+ "id": "21df0c28-6bd3-4b77-8191-2526e6632cef",
176
+ "functions": [
177
+ {
178
+ "title": "Meeting is board meeting",
179
+ "type": "boolean",
180
+ "where": "this Meeting is board meeting",
181
+ "role_id": "89505502-91dd-4dd6-a597-330cd34f1d0e"
182
+ },
183
+ {
184
+ "title": "Company",
185
+ "type": "Company",
186
+ "where": "this Meeting is held by one Company",
187
+ "role_id": "c2cac81a-a622-46ba-bac4-1debffc4a711"
188
+ },
189
+ {
190
+ "title": "Date",
191
+ "type": "Date",
192
+ "where": "this Meeting is held on one Date",
193
+ "role_id": "bb7412a8-15e5-438b-a09c-027bf20baebb"
194
+ },
195
+ {
196
+ "title": "all Attendee",
197
+ "type": "Person",
198
+ "where": "this Meeting was attended by some Attendee",
199
+ "role_id": "7159f678-c021-4a8b-abb1-833ee36dd4fc",
200
+ "is_list": true
201
+ }
202
+ ]
203
+ },
204
+ "Name": {
205
+ "is_main": false,
206
+ "id": "7736c915-2885-47d2-b185-5ab9cf7d76e9",
207
+ "functions": [
208
+ {
209
+ "title": "all Person as Given Name",
210
+ "type": "Person",
211
+ "where": "this given-Name is of some Person",
212
+ "role_id": "a213aa6e-66b9-4b68-85bd-055c47b661a3",
213
+ "is_list": true
214
+ },
215
+ {
216
+ "title": "all Person as Family Name",
217
+ "type": "Person",
218
+ "where": "this family-Name is of some Person",
219
+ "role_id": "fbf39712-5abf-4260-a7a6-b09bce72e361",
220
+ "is_list": true
221
+ }
222
+ ]
223
+ },
224
+ "Person": {
225
+ "is_main": true,
226
+ "id": "16ba509a-3ecc-4820-bbcc-59b4833432a1",
227
+ "functions": [
228
+ {
229
+ "title": "all Meeting",
230
+ "type": "Meeting",
231
+ "where": "this Attendee attended some Meeting",
232
+ "role_id": "c6f5e3be-70d1-452e-929b-4ebcba78be89",
233
+ "is_list": true
234
+ },
235
+ {
236
+ "title": "all Directorship",
237
+ "type": "Directorship",
238
+ "where": "this Director directs some Company",
239
+ "role_id": "b12cfdb0-2be7-436d-8849-739284fbfa28",
240
+ "is_list": true
241
+ },
242
+ {
243
+ "title": "Given Name",
244
+ "type": "Name",
245
+ "where": "this Person has one given-Name",
246
+ "role_id": "2c0e2962-dacb-4c94-8927-ee25e5629866"
247
+ },
248
+ {
249
+ "title": "Birth Date",
250
+ "type": "Date",
251
+ "where": "this Person was born on one birth-Date",
252
+ "role_id": "49cc2124-3a3d-479b-9b65-a92b92135960"
253
+ },
254
+ {
255
+ "title": "all Employee",
256
+ "type": "Employee",
257
+ "where": "this Person works as some Employee",
258
+ "role_id": "e9a4ec53-1c97-401e-9810-aecf04aea9dc",
259
+ "is_list": true
260
+ },
261
+ {
262
+ "title": "Family Name",
263
+ "type": "Name",
264
+ "where": "this Person is called one family-Name",
265
+ "role_id": "6aa4a568-161e-411c-b712-ce4be7c64d0c"
266
+ }
267
+ ]
268
+ }
269
+ }
270
+ }
@@ -0,0 +1,186 @@
1
+ {
2
+ "types": {
3
+ "Ambassador": {
4
+ "is_main": false,
5
+ "id": "e3739561-2c67-4dc6-a16d-52385e4b0893",
6
+ "functions": [
7
+ {
8
+ "title": "as Diplomat",
9
+ "type": "Diplomat"
10
+ },
11
+ {
12
+ "title": "all Representation",
13
+ "type": "Representation",
14
+ "where": "this Ambassador is from some Represented Country to some Country",
15
+ "role_id": "13956e3a-c9db-4b34-b8c7-3b71d2b2cd14",
16
+ "is_list": true
17
+ }
18
+ ]
19
+ },
20
+ "Country": {
21
+ "is_main": true,
22
+ "id": "5d040e22-dca7-452b-a97c-768603ad46c6",
23
+ "functions": [
24
+ {
25
+ "title": "all Representation",
26
+ "type": "Representation",
27
+ "where": "this Represented Country is represented in some Country by some Ambassador",
28
+ "role_id": "d7179af7-f2d4-4292-a684-d5e35f98e259",
29
+ "is_list": true
30
+ },
31
+ {
32
+ "title": "all Representation",
33
+ "type": "Representation",
34
+ "where": "some Ambassador is from some Represented Country to this Country",
35
+ "role_id": "ef1abb10-cba8-47e3-9bc9-b725da6ba266",
36
+ "is_list": true
37
+ },
38
+ {
39
+ "title": "CountryName",
40
+ "type": "CountryName",
41
+ "where": "this Country has one CountryName",
42
+ "role_id": "017a0ae6-cc98-4243-ba91-8c9893012e6d"
43
+ },
44
+ {
45
+ "title": "all Diplomat as Represented Country",
46
+ "type": "Diplomat",
47
+ "where": "some Diplomat represents this Represented Country",
48
+ "role_id": "7774d904-358c-4ec7-88c9-a0992bbd310d",
49
+ "is_list": true
50
+ },
51
+ {
52
+ "title": "all Diplomat as Served Country",
53
+ "type": "Diplomat",
54
+ "where": "some Diplomat serves in this Served Country",
55
+ "role_id": "530ee23c-1343-40d9-8d69-a14c16166771",
56
+ "is_list": true
57
+ },
58
+ {
59
+ "title": "all Language",
60
+ "type": "Language",
61
+ "where": "this Country uses some Language",
62
+ "role_id": "fd280c6f-f71c-4d45-b02c-30abda6523a9",
63
+ "is_list": true
64
+ }
65
+ ]
66
+ },
67
+ "CountryName": {
68
+ "is_main": false,
69
+ "id": "4b90afcd-5ad9-4484-8225-c914cebe5f61",
70
+ "functions": [
71
+ {
72
+ "title": "Country",
73
+ "type": "Country",
74
+ "where": "this CountryName is of one Country",
75
+ "role_id": "9eaf6756-1537-4cf9-bc66-cf39964a72d8"
76
+ }
77
+ ]
78
+ },
79
+ "Diplomat": {
80
+ "is_main": true,
81
+ "id": "3d5e1881-1c87-42e0-9341-055fa5ee94ee",
82
+ "functions": [
83
+ {
84
+ "title": "as Ambassador",
85
+ "type": "Ambassador"
86
+ },
87
+ {
88
+ "title": "DiplomatName",
89
+ "type": "DiplomatName",
90
+ "where": "this Diplomat has one DiplomatName",
91
+ "role_id": "9bca632a-ece4-4cee-a18a-b6a56608d0aa"
92
+ },
93
+ {
94
+ "title": "Represented Country",
95
+ "type": "Country",
96
+ "where": "this Diplomat represents one Represented Country",
97
+ "role_id": "69f6e7fb-2cdf-4c92-835f-07e4eb2c9ea2"
98
+ },
99
+ {
100
+ "title": "Served Country",
101
+ "type": "Country",
102
+ "where": "this Diplomat serves in one Served Country",
103
+ "role_id": "0f905672-4827-4c21-b1c1-50851d9fb51b"
104
+ },
105
+ {
106
+ "title": "all Language",
107
+ "type": "Language",
108
+ "where": "this Diplomat speaks some Language",
109
+ "role_id": "f3bb205f-4b31-49f5-8412-a86d5527ec29",
110
+ "is_list": true
111
+ }
112
+ ]
113
+ },
114
+ "DiplomatName": {
115
+ "is_main": false,
116
+ "id": "2493221b-56c7-450f-a38f-ac7a229c930b",
117
+ "functions": [
118
+ {
119
+ "title": "Diplomat",
120
+ "type": "Diplomat",
121
+ "where": "this DiplomatName is of one Diplomat",
122
+ "role_id": "33831596-1441-4dd9-92a9-dee2809bb9b8"
123
+ }
124
+ ]
125
+ },
126
+ "Language": {
127
+ "is_main": true,
128
+ "id": "1ebb916b-5bd4-43a9-a399-404c41cde15c",
129
+ "functions": [
130
+ {
131
+ "title": "all Diplomat",
132
+ "type": "Diplomat",
133
+ "where": "this Language is spoken by some Diplomat",
134
+ "role_id": "d403771c-5d4d-4bfe-8953-60715ca312c3",
135
+ "is_list": true
136
+ },
137
+ {
138
+ "title": "LanguageName",
139
+ "type": "LanguageName",
140
+ "where": "this Language has one LanguageName",
141
+ "role_id": "58ed9ecc-30a4-4f24-b097-9f09c8aead1e"
142
+ },
143
+ {
144
+ "title": "all Country",
145
+ "type": "Country",
146
+ "where": "this Language is spoken in some Country",
147
+ "role_id": "aa1150c8-bba6-4ce3-a04a-592e94a098b8",
148
+ "is_list": true
149
+ }
150
+ ]
151
+ },
152
+ "LanguageName": {
153
+ "is_main": false,
154
+ "id": "051bafb8-ec70-47d3-920a-12ade2b7ed61",
155
+ "functions": [
156
+ {
157
+ "title": "Language",
158
+ "type": "Language",
159
+ "where": "this LanguageName is of one Language",
160
+ "role_id": "11f5d17d-22fb-4459-b4d6-75ac0eed5515"
161
+ }
162
+ ]
163
+ },
164
+ "Representation": {
165
+ "is_main": true,
166
+ "id": "2c359377-c3e3-4250-834b-f729e001b001",
167
+ "functions": [
168
+ {
169
+ "title": "involving Ambassador",
170
+ "type": "Ambassador",
171
+ "where": "this Ambassador is from some Represented Country to some Country"
172
+ },
173
+ {
174
+ "title": "involving Represented Country",
175
+ "type": "Country",
176
+ "where": "this Represented Country is represented in some Country by some Ambassador"
177
+ },
178
+ {
179
+ "title": "involving Country",
180
+ "type": "Country",
181
+ "where": "some Ambassador is from some Represented Country to this Country"
182
+ }
183
+ ]
184
+ }
185
+ }
186
+ }