]> git.somenet.org - pub/jan/aic18.git/blob - sentiment_analysis.bpmn
add basic bpmn model
[pub/jan/aic18.git] / sentiment_analysis.bpmn
1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_0co5an7" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="2.0.3">
3   <bpmn:process id="Process_1" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_1t6nxib">
5       <bpmn:dataOutputAssociation id="DataOutputAssociation_1u87f7i">
6         <bpmn:targetRef>DataObjectReference_1paeomp</bpmn:targetRef>
7       </bpmn:dataOutputAssociation>
8     </bpmn:startEvent>
9     <bpmn:dataObjectReference id="DataObjectReference_1paeomp" name="&#60;input&#62;&#10;terms" dataObjectRef="DataObject_0mtrivu" />
10     <bpmn:dataObject id="DataObject_0mtrivu" />
11     <bpmn:task id="Task_1kanz3j" name="Load Twitter Data">
12       <bpmn:incoming>SequenceFlow_10cbug8</bpmn:incoming>
13       <bpmn:outgoing>SequenceFlow_1mox1nd</bpmn:outgoing>
14       <bpmn:outgoing>SequenceFlow_1a5mps5</bpmn:outgoing>
15       <bpmn:property id="Property_1hi768f" name="__targetRef_placeholder" />
16       <bpmn:dataInputAssociation id="DataInputAssociation_0qg613d">
17         <bpmn:sourceRef>DataObjectReference_1paeomp</bpmn:sourceRef>
18         <bpmn:targetRef>Property_1hi768f</bpmn:targetRef>
19       </bpmn:dataInputAssociation>
20     </bpmn:task>
21     <bpmn:task id="Task_0fs65yp" name="Analyze">
22       <bpmn:incoming>SequenceFlow_1mox1nd</bpmn:incoming>
23       <bpmn:outgoing>SequenceFlow_1qc3fa8</bpmn:outgoing>
24       <bpmn:outgoing>SequenceFlow_169jjtr</bpmn:outgoing>
25     </bpmn:task>
26     <bpmn:serviceTask id="Task_1rt5mbt" name="Twitter Service">
27       <bpmn:incoming>SequenceFlow_0utq8ut</bpmn:incoming>
28       <bpmn:incoming>SequenceFlow_1a5mps5</bpmn:incoming>
29     </bpmn:serviceTask>
30     <bpmn:serviceTask id="Task_1cfglzc" name="Analysis Service">
31       <bpmn:incoming>SequenceFlow_1xc6g12</bpmn:incoming>
32       <bpmn:incoming>SequenceFlow_169jjtr</bpmn:incoming>
33     </bpmn:serviceTask>
34     <bpmn:task id="Task_1tosag4" name="Generate Report">
35       <bpmn:incoming>SequenceFlow_0okj60f</bpmn:incoming>
36       <bpmn:outgoing>SequenceFlow_03ohp0o</bpmn:outgoing>
37       <bpmn:dataOutputAssociation id="DataOutputAssociation_1ustd8r">
38         <bpmn:targetRef>DataObjectReference_10ouwro</bpmn:targetRef>
39       </bpmn:dataOutputAssociation>
40       <bpmn:dataOutputAssociation id="DataOutputAssociation_0iwh0gi">
41         <bpmn:targetRef>DataObjectReference_10ouwro</bpmn:targetRef>
42       </bpmn:dataOutputAssociation>
43     </bpmn:task>
44     <bpmn:dataObjectReference id="DataObjectReference_10ouwro" name="&#60;output&#62;&#10;report" dataObjectRef="DataObject_1aetk4r" />
45     <bpmn:dataObject id="DataObject_1aetk4r" />
46     <bpmn:serviceTask id="Task_1n6iu8h" name="Report Service">
47       <bpmn:incoming>SequenceFlow_0azrswq</bpmn:incoming>
48       <bpmn:incoming>SequenceFlow_03ohp0o</bpmn:incoming>
49     </bpmn:serviceTask>
50     <bpmn:serviceTask id="Task_05u1qwp" name="Fallback Service">
51       <bpmn:outgoing>SequenceFlow_0utq8ut</bpmn:outgoing>
52       <bpmn:outgoing>SequenceFlow_1xc6g12</bpmn:outgoing>
53       <bpmn:outgoing>SequenceFlow_0azrswq</bpmn:outgoing>
54     </bpmn:serviceTask>
55     <bpmn:endEvent id="EndEvent_0bmuv13">
56       <bpmn:property id="Property_15ubano" name="__targetRef_placeholder" />
57       <bpmn:dataInputAssociation id="DataInputAssociation_1mm9v77">
58         <bpmn:sourceRef>DataObjectReference_10ouwro</bpmn:sourceRef>
59         <bpmn:targetRef>Property_15ubano</bpmn:targetRef>
60       </bpmn:dataInputAssociation>
61     </bpmn:endEvent>
62     <bpmn:exclusiveGateway id="ExclusiveGateway_0onybdl">
63       <bpmn:incoming>SequenceFlow_1qc3fa8</bpmn:incoming>
64       <bpmn:outgoing>SequenceFlow_0okj60f</bpmn:outgoing>
65       <bpmn:outgoing>SequenceFlow_10cbug8</bpmn:outgoing>
66     </bpmn:exclusiveGateway>
67     <bpmn:sequenceFlow id="SequenceFlow_0utq8ut" sourceRef="Task_05u1qwp" targetRef="Task_1rt5mbt" />
68     <bpmn:sequenceFlow id="SequenceFlow_1xc6g12" sourceRef="Task_05u1qwp" targetRef="Task_1cfglzc" />
69     <bpmn:sequenceFlow id="SequenceFlow_0azrswq" sourceRef="Task_05u1qwp" targetRef="Task_1n6iu8h" />
70     <bpmn:sequenceFlow id="SequenceFlow_03ohp0o" sourceRef="Task_1tosag4" targetRef="Task_1n6iu8h" />
71     <bpmn:sequenceFlow id="SequenceFlow_1qc3fa8" sourceRef="Task_0fs65yp" targetRef="ExclusiveGateway_0onybdl" />
72     <bpmn:sequenceFlow id="SequenceFlow_0okj60f" sourceRef="ExclusiveGateway_0onybdl" targetRef="Task_1tosag4" />
73     <bpmn:sequenceFlow id="SequenceFlow_1mox1nd" sourceRef="Task_1kanz3j" targetRef="Task_0fs65yp" />
74     <bpmn:sequenceFlow id="SequenceFlow_1a5mps5" sourceRef="Task_1kanz3j" targetRef="Task_1rt5mbt" />
75     <bpmn:sequenceFlow id="SequenceFlow_169jjtr" sourceRef="Task_0fs65yp" targetRef="Task_1cfglzc" />
76     <bpmn:sequenceFlow id="SequenceFlow_10cbug8" sourceRef="ExclusiveGateway_0onybdl" targetRef="Task_1kanz3j" />
77     <bpmn:textAnnotation id="TextAnnotation_1qbyziq">
78       <bpmn:text>All terms are analyzed</bpmn:text>
79     </bpmn:textAnnotation>
80     <bpmn:association id="Association_1ukj08x" sourceRef="Task_1tosag4" targetRef="TextAnnotation_1qbyziq" />
81   </bpmn:process>
82   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
83     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
84       <bpmndi:BPMNEdge id="SequenceFlow_0utq8ut_di" bpmnElement="SequenceFlow_0utq8ut">
85         <di:waypoint x="552" y="-194" />
86         <di:waypoint x="331" y="-194" />
87         <di:waypoint x="331" y="-46" />
88       </bpmndi:BPMNEdge>
89       <bpmndi:BPMNEdge id="SequenceFlow_1xc6g12_di" bpmnElement="SequenceFlow_1xc6g12">
90         <di:waypoint x="552" y="-194" />
91         <di:waypoint x="519" y="-194" />
92         <di:waypoint x="519" y="-46" />
93       </bpmndi:BPMNEdge>
94       <bpmndi:BPMNEdge id="SequenceFlow_0azrswq_di" bpmnElement="SequenceFlow_0azrswq">
95         <di:waypoint x="652" y="-194" />
96         <di:waypoint x="822" y="-194" />
97         <di:waypoint x="822" y="-46" />
98       </bpmndi:BPMNEdge>
99       <bpmndi:BPMNEdge id="SequenceFlow_03ohp0o_di" bpmnElement="SequenceFlow_03ohp0o">
100         <di:waypoint x="822" y="104" />
101         <di:waypoint x="822" y="34" />
102       </bpmndi:BPMNEdge>
103       <bpmndi:BPMNEdge id="SequenceFlow_1qc3fa8_di" bpmnElement="SequenceFlow_1qc3fa8">
104         <di:waypoint x="569" y="144" />
105         <di:waypoint x="646" y="144" />
106       </bpmndi:BPMNEdge>
107       <bpmndi:BPMNEdge id="SequenceFlow_0okj60f_di" bpmnElement="SequenceFlow_0okj60f">
108         <di:waypoint x="696" y="144" />
109         <di:waypoint x="772" y="144" />
110       </bpmndi:BPMNEdge>
111       <bpmndi:BPMNEdge id="SequenceFlow_1mox1nd_di" bpmnElement="SequenceFlow_1mox1nd">
112         <di:waypoint x="381" y="144" />
113         <di:waypoint x="469" y="144" />
114       </bpmndi:BPMNEdge>
115       <bpmndi:BPMNEdge id="SequenceFlow_1a5mps5_di" bpmnElement="SequenceFlow_1a5mps5">
116         <di:waypoint x="331" y="104" />
117         <di:waypoint x="331" y="34" />
118       </bpmndi:BPMNEdge>
119       <bpmndi:BPMNEdge id="SequenceFlow_169jjtr_di" bpmnElement="SequenceFlow_169jjtr">
120         <di:waypoint x="519" y="104" />
121         <di:waypoint x="519" y="34" />
122       </bpmndi:BPMNEdge>
123       <bpmndi:BPMNEdge id="SequenceFlow_10cbug8_di" bpmnElement="SequenceFlow_10cbug8">
124         <di:waypoint x="671" y="169" />
125         <di:waypoint x="671" y="206" />
126         <di:waypoint x="331" y="206" />
127         <di:waypoint x="331" y="184" />
128       </bpmndi:BPMNEdge>
129       <bpmndi:BPMNShape id="StartEvent_1t6nxib_di" bpmnElement="StartEvent_1t6nxib">
130         <dc:Bounds x="47" y="126" width="36" height="36" />
131       </bpmndi:BPMNShape>
132       <bpmndi:BPMNShape id="DataObjectReference_1paeomp_di" bpmnElement="DataObjectReference_1paeomp">
133         <dc:Bounds x="169" y="119" width="36" height="50" />
134         <bpmndi:BPMNLabel>
135           <dc:Bounds x="169" y="176" width="37" height="27" />
136         </bpmndi:BPMNLabel>
137       </bpmndi:BPMNShape>
138       <bpmndi:BPMNShape id="Task_1kanz3j_di" bpmnElement="Task_1kanz3j">
139         <dc:Bounds x="281" y="104" width="100" height="80" />
140       </bpmndi:BPMNShape>
141       <bpmndi:BPMNShape id="Task_0fs65yp_di" bpmnElement="Task_0fs65yp">
142         <dc:Bounds x="469" y="104" width="100" height="80" />
143       </bpmndi:BPMNShape>
144       <bpmndi:BPMNShape id="ServiceTask_0p6qwu9_di" bpmnElement="Task_1rt5mbt">
145         <dc:Bounds x="281" y="-46" width="100" height="80" />
146       </bpmndi:BPMNShape>
147       <bpmndi:BPMNShape id="ServiceTask_0yhg88q_di" bpmnElement="Task_1cfglzc">
148         <dc:Bounds x="469" y="-46" width="100" height="80" />
149       </bpmndi:BPMNShape>
150       <bpmndi:BPMNShape id="Task_1tosag4_di" bpmnElement="Task_1tosag4">
151         <dc:Bounds x="772" y="104" width="100" height="80" />
152       </bpmndi:BPMNShape>
153       <bpmndi:BPMNShape id="DataObjectReference_10ouwro_di" bpmnElement="DataObjectReference_10ouwro">
154         <dc:Bounds x="961" y="119" width="36" height="50" />
155         <bpmndi:BPMNLabel>
156           <dc:Bounds x="958" y="176" width="44" height="27" />
157         </bpmndi:BPMNLabel>
158       </bpmndi:BPMNShape>
159       <bpmndi:BPMNShape id="ServiceTask_12p5iql_di" bpmnElement="Task_1n6iu8h">
160         <dc:Bounds x="772" y="-46" width="100" height="80" />
161       </bpmndi:BPMNShape>
162       <bpmndi:BPMNShape id="ServiceTask_0085m8u_di" bpmnElement="Task_05u1qwp">
163         <dc:Bounds x="552" y="-234" width="100" height="80" />
164       </bpmndi:BPMNShape>
165       <bpmndi:BPMNShape id="EndEvent_0bmuv13_di" bpmnElement="EndEvent_0bmuv13">
166         <dc:Bounds x="1088" y="126" width="36" height="36" />
167       </bpmndi:BPMNShape>
168       <bpmndi:BPMNShape id="ExclusiveGateway_0onybdl_di" bpmnElement="ExclusiveGateway_0onybdl" isMarkerVisible="true">
169         <dc:Bounds x="646" y="119" width="50" height="50" />
170       </bpmndi:BPMNShape>
171       <bpmndi:BPMNEdge id="DataOutputAssociation_1ustd8r_di" bpmnElement="DataOutputAssociation_1ustd8r">
172         <di:waypoint x="872" y="144" />
173         <di:waypoint x="961" y="144" />
174       </bpmndi:BPMNEdge>
175       <bpmndi:BPMNEdge id="DataOutputAssociation_0iwh0gi_di" bpmnElement="DataOutputAssociation_0iwh0gi">
176         <di:waypoint x="872" y="144" />
177         <di:waypoint x="961" y="144" />
178       </bpmndi:BPMNEdge>
179       <bpmndi:BPMNEdge id="DataOutputAssociation_1u87f7i_di" bpmnElement="DataOutputAssociation_1u87f7i">
180         <di:waypoint x="83" y="144" />
181         <di:waypoint x="169" y="144" />
182       </bpmndi:BPMNEdge>
183       <bpmndi:BPMNEdge id="DataInputAssociation_0qg613d_di" bpmnElement="DataInputAssociation_0qg613d">
184         <di:waypoint x="205" y="144" />
185         <di:waypoint x="281" y="144" />
186       </bpmndi:BPMNEdge>
187       <bpmndi:BPMNEdge id="DataInputAssociation_1mm9v77_di" bpmnElement="DataInputAssociation_1mm9v77">
188         <di:waypoint x="997" y="144" />
189         <di:waypoint x="1088" y="144" />
190       </bpmndi:BPMNEdge>
191       <bpmndi:BPMNShape id="TextAnnotation_1qbyziq_di" bpmnElement="TextAnnotation_1qbyziq">
192         <dc:Bounds x="699" y="230" width="94.99289772727272" height="39.18495297805642" />
193       </bpmndi:BPMNShape>
194       <bpmndi:BPMNEdge id="Association_1ukj08x_di" bpmnElement="Association_1ukj08x">
195         <di:waypoint x="797" y="184" />
196         <di:waypoint x="762" y="230" />
197       </bpmndi:BPMNEdge>
198     </bpmndi:BPMNPlane>
199   </bpmndi:BPMNDiagram>
200 </bpmn:definitions>