@quickpipeaiab/domain 0.0.0-stage → 0.10.0

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.
package/vocab/crm.ttl ADDED
@@ -0,0 +1,320 @@
1
+ @prefix core: <https://id.quickpipe.ai/domain/core#> .
2
+ @prefix core-vocab: <https://id.quickpipe.ai/domain/vocab/core#> .
3
+ @prefix crm-vocab: <https://id.quickpipe.ai/domain/vocab/crm#> .
4
+ @prefix owl: <http://www.w3.org/2002/07/owl#> .
5
+
6
+ <https://id.quickpipe.ai/domain/vocab/crm>
7
+ a owl:Ontology ;
8
+ owl:versionIRI <https://id.quickpipe.ai/domain/0.10.0/vocab/crm> ;
9
+ owl:versionInfo "0.10.0" ;
10
+ core:title "QuickPipe domain model: concept schemes of crm"@en ;
11
+ core:preferred-prefix "crm-vocab" ;
12
+ core:preferred-namespace "https://id.quickpipe.ai/domain/vocab/crm#" .
13
+
14
+ crm-vocab:follow-up-status a owl:NamedIndividual , core:concept-scheme ;
15
+ core:label "follow-up status"@en ;
16
+ core:definition "The state of a follow-up"@en ;
17
+ core:division core-vocab:division-disjoint-closed ;
18
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Records" ;
19
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> ;
20
+ core:owner core:crm .
21
+
22
+ crm-vocab:follow-up-status-todo a owl:NamedIndividual , core:concept ;
23
+ core:in-scheme crm-vocab:follow-up-status ;
24
+ core:notation "todo" ;
25
+ core:label "todo"@en ;
26
+ core:definition "The teammate did not start the follow-up."@en ;
27
+ core:hint "The teammate did not start this follow-up."@en ;
28
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Records" ;
29
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
30
+
31
+ crm-vocab:follow-up-status-in-progress a owl:NamedIndividual , core:concept ;
32
+ core:in-scheme crm-vocab:follow-up-status ;
33
+ core:notation "in-progress" ;
34
+ core:label "in-progress"@en ;
35
+ core:definition "The teammate started the follow-up."@en ;
36
+ core:hint "The teammate started this follow-up."@en ;
37
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Records" ;
38
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
39
+
40
+ crm-vocab:follow-up-status-done a owl:NamedIndividual , core:concept ;
41
+ core:in-scheme crm-vocab:follow-up-status ;
42
+ core:notation "done" ;
43
+ core:label "done"@en ;
44
+ core:definition "The teammate did the follow-up."@en ;
45
+ core:hint "The teammate did this follow-up."@en ;
46
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Records" ;
47
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
48
+
49
+ [] a owl:AllDifferent ;
50
+ owl:distinctMembers ( crm-vocab:follow-up-status-todo crm-vocab:follow-up-status-in-progress crm-vocab:follow-up-status-done ) .
51
+
52
+ crm-vocab:teammate-row-state a owl:NamedIndividual , core:concept-scheme ;
53
+ core:label "teammate row state"@en ;
54
+ core:definition "The state of a teammate row"@en ;
55
+ core:division core-vocab:division-disjoint-closed ;
56
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Teammates and ownership" ;
57
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> ;
58
+ core:owner core:crm .
59
+
60
+ crm-vocab:teammate-row-state-invited a owl:NamedIndividual , core:concept ;
61
+ core:in-scheme crm-vocab:teammate-row-state ;
62
+ core:notation "invited" ;
63
+ core:label "invited"@en ;
64
+ core:definition "The teammate got an invitation and did not sign in yet."@en ;
65
+ core:hint "The teammate has an invitation and did not sign in yet."@en ;
66
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Teammates and ownership" ;
67
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
68
+
69
+ crm-vocab:teammate-row-state-active a owl:NamedIndividual , core:concept ;
70
+ core:in-scheme crm-vocab:teammate-row-state ;
71
+ core:notation "active" ;
72
+ core:label "active"@en ;
73
+ core:definition "The teammate signed in and can work in `crm`."@en ;
74
+ core:hint "The teammate signed in and can work with the records."@en ;
75
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Teammates and ownership" ;
76
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
77
+
78
+ crm-vocab:teammate-row-state-deactivated a owl:NamedIndividual , core:concept ;
79
+ core:in-scheme crm-vocab:teammate-row-state ;
80
+ core:notation "deactivated" ;
81
+ core:label "deactivated"@en ;
82
+ core:definition "The teammate left the workspace. The teammate row stays for the history of the records."@en ;
83
+ core:hint "The teammate no longer has access to the workspace, and the history of the records stays."@en ;
84
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Teammates and ownership" ;
85
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
86
+
87
+ [] a owl:AllDifferent ;
88
+ owl:distinctMembers ( crm-vocab:teammate-row-state-invited crm-vocab:teammate-row-state-active crm-vocab:teammate-row-state-deactivated ) .
89
+
90
+ crm-vocab:handover-status a owl:NamedIndividual , core:concept-scheme ;
91
+ core:label "handover status"@en ;
92
+ core:definition "The state of a handover"@en ;
93
+ core:division core-vocab:division-disjoint-closed ;
94
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Teammates and ownership" ;
95
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> ;
96
+ core:owner core:crm .
97
+
98
+ crm-vocab:handover-status-requested a owl:NamedIndividual , core:concept ;
99
+ core:in-scheme crm-vocab:handover-status ;
100
+ core:notation "requested" ;
101
+ core:label "requested"@en ;
102
+ core:definition "The handover waits for the answer of the owner seller."@en ;
103
+ core:hint "The request waits for the answer of the owner."@en ;
104
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Teammates and ownership" ;
105
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
106
+
107
+ crm-vocab:handover-status-accepted a owl:NamedIndividual , core:concept ;
108
+ core:in-scheme crm-vocab:handover-status ;
109
+ core:notation "accepted" ;
110
+ core:label "accepted"@en ;
111
+ core:definition "The owner seller accepted, and the requester is the new owner seller."@en ;
112
+ core:hint "The owner said yes, and the requester is the new owner."@en ;
113
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Teammates and ownership" ;
114
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
115
+
116
+ crm-vocab:handover-status-refused a owl:NamedIndividual , core:concept ;
117
+ core:in-scheme crm-vocab:handover-status ;
118
+ core:notation "refused" ;
119
+ core:label "refused"@en ;
120
+ core:definition "The owner seller refused, and the owner seller does not change."@en ;
121
+ core:hint "The owner said no, and the owner stays the same."@en ;
122
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Teammates and ownership" ;
123
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
124
+
125
+ crm-vocab:handover-status-cancelled a owl:NamedIndividual , core:concept ;
126
+ core:in-scheme crm-vocab:handover-status ;
127
+ core:notation "cancelled" ;
128
+ core:label "cancelled"@en ;
129
+ core:definition "The requester withdrew the handover before an answer."@en ;
130
+ core:hint "The requester took back the request before an answer."@en ;
131
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Teammates and ownership" ;
132
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
133
+
134
+ [] a owl:AllDifferent ;
135
+ owl:distinctMembers ( crm-vocab:handover-status-requested crm-vocab:handover-status-accepted crm-vocab:handover-status-refused crm-vocab:handover-status-cancelled ) .
136
+
137
+ crm-vocab:handover-action a owl:NamedIndividual , core:concept-scheme ;
138
+ core:label "handover action"@en ;
139
+ core:definition "The action that answers a handover with the status requested."@en ;
140
+ core:division core-vocab:division-disjoint-closed ;
141
+ core:source "docs/specs/crm/docs/internal/decisions/0011-ownership-and-handover.md#Decision" ;
142
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> ;
143
+ core:owner core:crm .
144
+
145
+ crm-vocab:handover-action-accept a owl:NamedIndividual , core:concept ;
146
+ core:in-scheme crm-vocab:handover-action ;
147
+ core:notation "accept" ;
148
+ core:label "accept"@en ;
149
+ core:definition "The owner seller or a teammate with `enrollments:write-any` accepts the handover. The requester becomes the owner seller."@en ;
150
+ core:hint "The owner says yes, and the requester becomes the new owner."@en ;
151
+ core:source "docs/specs/crm/docs/internal/decisions/0011-ownership-and-handover.md#Decision" ;
152
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
153
+
154
+ crm-vocab:handover-action-refuse a owl:NamedIndividual , core:concept ;
155
+ core:in-scheme crm-vocab:handover-action ;
156
+ core:notation "refuse" ;
157
+ core:label "refuse"@en ;
158
+ core:definition "The owner seller or a teammate with `enrollments:write-any` refuses the handover. The owner seller does not change."@en ;
159
+ core:hint "The owner says no, and the owner stays the same."@en ;
160
+ core:source "docs/specs/crm/docs/internal/decisions/0011-ownership-and-handover.md#Decision" ;
161
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
162
+
163
+ crm-vocab:handover-action-cancel a owl:NamedIndividual , core:concept ;
164
+ core:in-scheme crm-vocab:handover-action ;
165
+ core:notation "cancel" ;
166
+ core:label "cancel"@en ;
167
+ core:definition "The requester cancels a handover with the status `requested`."@en ;
168
+ core:hint "The requester takes back the request before an answer."@en ;
169
+ core:source "docs/specs/crm/docs/internal/decisions/0011-ownership-and-handover.md#Decision" ;
170
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
171
+
172
+ [] a owl:AllDifferent ;
173
+ owl:distinctMembers ( crm-vocab:handover-action-accept crm-vocab:handover-action-refuse crm-vocab:handover-action-cancel ) .
174
+
175
+ crm-vocab:item-kind a owl:NamedIndividual , core:concept-scheme ;
176
+ core:label "item kind"@en ;
177
+ core:definition "The type of a timeline item"@en ;
178
+ core:division core-vocab:division-disjoint-open ;
179
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Timeline" ;
180
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> ;
181
+ core:owner core:crm .
182
+
183
+ crm-vocab:item-kind-change a owl:NamedIndividual , core:concept ;
184
+ core:in-scheme crm-vocab:item-kind ;
185
+ core:notation "change" ;
186
+ core:label "change"@en ;
187
+ core:definition "A change of a field of the record"@en ;
188
+ core:hint "A change of a field of the record."@en ;
189
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Timeline" ;
190
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
191
+
192
+ crm-vocab:item-kind-note a owl:NamedIndividual , core:concept ;
193
+ core:in-scheme crm-vocab:item-kind ;
194
+ core:notation "note" ;
195
+ core:label "note"@en ;
196
+ core:definition "A note about the record"@en ;
197
+ core:hint "A note about the record."@en ;
198
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Timeline" ;
199
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
200
+
201
+ crm-vocab:item-kind-follow-up a owl:NamedIndividual , core:concept ;
202
+ core:in-scheme crm-vocab:item-kind ;
203
+ core:notation "follow-up" ;
204
+ core:label "follow-up"@en ;
205
+ core:definition "A follow-up about the record"@en ;
206
+ core:hint "A follow-up about the record."@en ;
207
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Timeline" ;
208
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
209
+
210
+ crm-vocab:item-kind-message a owl:NamedIndividual , core:concept ;
211
+ core:in-scheme crm-vocab:item-kind ;
212
+ core:notation "message" ;
213
+ core:label "message"@en ;
214
+ core:definition "A copy of one message that a channel service sent to a lead record"@en ;
215
+ core:hint "A copy of a message that was sent to the person."@en ;
216
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Timeline" ;
217
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
218
+
219
+ crm-vocab:item-kind-reply a owl:NamedIndividual , core:concept ;
220
+ core:in-scheme crm-vocab:item-kind ;
221
+ core:notation "reply" ;
222
+ core:label "reply"@en ;
223
+ core:definition "A copy of one reply of a lead record, with its channel and its reply label"@en ;
224
+ core:hint "A copy of a reply of the person."@en ;
225
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Timeline" ;
226
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
227
+
228
+ crm-vocab:item-kind-meeting a owl:NamedIndividual , core:concept ;
229
+ core:in-scheme crm-vocab:item-kind ;
230
+ core:notation "meeting" ;
231
+ core:label "meeting"@en ;
232
+ core:definition "A `meeting` with the lead record"@en ;
233
+ core:hint "A meeting with the person."@en ;
234
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Timeline" ;
235
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
236
+
237
+ crm-vocab:item-kind-buying-trigger a owl:NamedIndividual , core:concept ;
238
+ core:in-scheme crm-vocab:item-kind ;
239
+ core:notation "buying-trigger" ;
240
+ core:label "buying-trigger"@en ;
241
+ core:definition "A copy of one buying-trigger of `leads` about the record"@en ;
242
+ core:hint "A copy of a sign of interest in buying that was found about the record."@en ;
243
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Timeline" ;
244
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
245
+
246
+ crm-vocab:item-kind-enrollment a owl:NamedIndividual , core:concept ;
247
+ core:in-scheme crm-vocab:item-kind ;
248
+ core:notation "enrollment" ;
249
+ core:label "enrollment"@en ;
250
+ core:definition "A change of an enrollment of the lead record in a campaign"@en ;
251
+ core:hint "A change of the campaign that the person is in."@en ;
252
+ core:source "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Timeline" ;
253
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
254
+
255
+ [] a owl:AllDifferent ;
256
+ owl:distinctMembers ( crm-vocab:item-kind-change crm-vocab:item-kind-note crm-vocab:item-kind-follow-up crm-vocab:item-kind-message crm-vocab:item-kind-reply crm-vocab:item-kind-meeting crm-vocab:item-kind-buying-trigger crm-vocab:item-kind-enrollment ) .
257
+
258
+ crm-vocab:score-write-result a owl:NamedIndividual , core:concept-scheme ;
259
+ core:label "score write result"@en ;
260
+ core:definition "The answer of crm for one score of a write of scores."@en ;
261
+ core:division core-vocab:division-disjoint-closed ;
262
+ core:source "docs/specs/crm/docs/internal/decisions/0018-score-fields.md#Decision" , "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Scores and events" ;
263
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> ;
264
+ core:owner core:crm .
265
+
266
+ crm-vocab:score-write-result-written a owl:NamedIndividual , core:concept ;
267
+ core:in-scheme crm-vocab:score-write-result ;
268
+ core:notation "written" ;
269
+ core:label "written"@en ;
270
+ core:definition "crm changed the score fields of the lead record."@en ;
271
+ core:source "docs/specs/crm/docs/internal/decisions/0018-score-fields.md#Decision" , "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Scores and events" ;
272
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
273
+
274
+ crm-vocab:score-write-result-older a owl:NamedIndividual , core:concept ;
275
+ core:in-scheme crm-vocab:score-write-result ;
276
+ core:notation "older" ;
277
+ core:label "older"@en ;
278
+ core:definition "The record has a score with the same or a later time, so crm changed nothing."@en ;
279
+ core:source "docs/specs/crm/docs/internal/decisions/0018-score-fields.md#Decision" , "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Scores and events" ;
280
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
281
+
282
+ crm-vocab:score-write-result-unknown a owl:NamedIndividual , core:concept ;
283
+ core:in-scheme crm-vocab:score-write-result ;
284
+ core:notation "unknown" ;
285
+ core:label "unknown"@en ;
286
+ core:definition "crm has no lead record with this id, so crm changed nothing."@en ;
287
+ core:source "docs/specs/crm/docs/internal/decisions/0018-score-fields.md#Decision" , "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Scores and events" ;
288
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
289
+
290
+ [] a owl:AllDifferent ;
291
+ owl:distinctMembers ( crm-vocab:score-write-result-written crm-vocab:score-write-result-older crm-vocab:score-write-result-unknown ) .
292
+
293
+ crm-vocab:field-source-kind a owl:NamedIndividual , core:concept-scheme ;
294
+ core:label "field source kind"@en ;
295
+ core:definition "The kind of the run that filled one field of a record."@en ;
296
+ core:division core-vocab:division-disjoint-closed ;
297
+ core:source "docs/specs/crm/docs/internal/decisions/0024-enrich-fields-and-read-by-id.md#Decision" , "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Records" ;
298
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> ;
299
+ core:owner core:crm .
300
+
301
+ crm-vocab:field-source-kind-found a owl:NamedIndividual , core:concept ;
302
+ core:in-scheme crm-vocab:field-source-kind ;
303
+ core:notation "found" ;
304
+ core:label "found"@en ;
305
+ core:definition "The value of the field comes from the run of leads that found the record."@en ;
306
+ core:hint "A search found this value."@en ;
307
+ core:source "docs/specs/crm/docs/internal/decisions/0024-enrich-fields-and-read-by-id.md#Decision" , "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Records" ;
308
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
309
+
310
+ crm-vocab:field-source-kind-enriched a owl:NamedIndividual , core:concept ;
311
+ core:in-scheme crm-vocab:field-source-kind ;
312
+ core:notation "enriched" ;
313
+ core:label "enriched"@en ;
314
+ core:definition "The value of the field comes from the last enrich run that changed the field."@en ;
315
+ core:hint "A data search added this value."@en ;
316
+ core:source "docs/specs/crm/docs/internal/decisions/0024-enrich-fields-and-read-by-id.md#Decision" , "docs/specs/crm/docs/internal/decisions/0003-concepts.md#Records" ;
317
+ core:defined-by <https://id.quickpipe.ai/domain/vocab/crm> .
318
+
319
+ [] a owl:AllDifferent ;
320
+ owl:distinctMembers ( crm-vocab:field-source-kind-found crm-vocab:field-source-kind-enriched ) .