forked from casework/CASE-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsms_and_contacts.json
194 lines (194 loc) · 7.25 KB
/
sms_and_contacts.json
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"@context": {
"@vocab": "http://example.org/local#",
"kb": "http://example.org/kb/",
"draft": "http://example.org/draft#",
"olo": "http://purl.org/ontology/olo/core#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"uco-core": "https://unifiedcyberontology.org/ontology/uco/core#",
"uco-observable": "https://unifiedcyberontology.org/ontology/uco/observable#",
"xsd": "http://www.w3.org/2001/XMLSchema#"
},
"@graph": [
{
"@id": "kb:sms_message1",
"@type": "uco-observable:ObservableObject",
"uco-core:hasFacet": [
{
"@type": "uco-observable:MessageFacet",
"uco-observable:application": {
"@id": "kb:sms_application1"
},
"uco-observable:messageText": "Yo dude! This is my new number.",
"uco-observable:from": {
"@id": "kb:phone_account3"
},
"uco-observable:to": [
{
"@id": "kb:phone_account1"
}
],
"uco-observable:sentTime": {
"@type": "xsd:dateTime",
"@value": "2010-01-15T17:59:43.25Z"
}
}
]
},
{
"@id": "kb:contact1",
"@type": "uco-observable:ObservableObject",
"uco-core:hasFacet": [
{
"@type": "uco-observable:ContactFacet",
"rdfs:comment": [
"TODO: Should the contactName property be renamed to 'displayName'?",
"TODO: How do we distingish 'Home', 'Work', 'Mobile', etc?",
"NOTE: phone_account3 is missing from this because it's a new account found in the SMS logs that was not in the phonebook.",
"TODO: How do we represent location information? (example: Home and Work)",
"TODO: I assume the screenName property is supposed to point to Digital/Application accounts?"
],
"uco-observable:firstName": "John",
"uco-observable:lastName": "Doe",
"uco-observable:contactName": "BFF Joe",
"uco-observable:application": {
"@id": "kb:android_phonebook1"
},
"uco-observable:emailAddress": [
{
"@id": "kb:email_account1"
}
],
"phoneNumber": [
{
"@id": "kb:phone_account1"
},
{
"@id": "kb:phone_account2"
}
],
"screenName": []
}
]
},
{
"@id": "kb:associated-account1",
"@type": "uco-observable:ObservableRelationship",
"uco-core:source": {
"@id": "kb:contact1"
},
"uco-core:target": [
{
"@id": "kb:phone_account1"
}
],
"uco-core:kindOfRelationship": "has-account",
"uco-core:isDirectional": true
},
{
"@id": "kb:associated-account2",
"@type": "uco-observable:ObservableRelationship",
"uco-core:source": {
"@id": "kb:contact1"
},
"uco-core:target": [
{
"@id": "kb:phone_account2"
}
],
"uco-core:kindOfRelationship": "has-account",
"uco-core:isDirectional": true
},
{
"@id": "kb:associated-account3",
"@type": "uco-observable:ObservableRelationship",
"uco-core:source": {
"@id": "kb:contact1"
},
"uco-core:target": [
{
"@id": "kb:email_account1"
}
],
"uco-core:kindOfRelationship": "has-account",
"uco-core:isDirectional": true
},
{
"@id": "kb:phone_account1",
"@type": "uco-observable:ObservableObject",
"uco-core:hasFacet": [
{
"@type": "uco-observable:AccountFacet",
"rdfs:comment": "TODO: Is the accountType necessary? We know its phone account due to the existence of 'PhoneAccount' (duck type model and all that)",
"uco-observable:accountType": "Phone",
"uco-observable:isActive": true
},
{
"@type": "uco-observable:PhoneAccountFacet",
"uco-observable:phoneNumber": "1237771337"
}
]
},
{
"@id": "kb:phone_account2",
"@type": "uco-observable:ObservableObject",
"uco-core:hasFacet": [
{
"@type": "uco-observable:AccountFacet",
"uco-observable:accountType": "Phone",
"uco-observable:isActive": true
},
{
"@type": "uco-observable:PhoneAccountFacet",
"uco-observable:phoneNumber": "1234560000"
}
]
},
{
"@id": "kb:email_account1",
"@type": "uco-observable:ObservableObject",
"uco-core:hasFacet": [
{
"@type": "uco-observable:AccountFacet",
"uco-observable:accountType": "Email",
"uco-observable:isActive": true
},
{
"@type": "uco-observable:EmailAccountFacet",
"uco-observable:value": "jdoe@example.com"
}
]
},
{
"@id": "kb:phone_account3",
"@type": "uco-observable:ObservableObject",
"uco-core:hasFacet": [
{
"@type": "uco-observable:AccountFacet",
"uco-observable:accountType": "Phone",
"uco-observable:isActive": true
},
{
"@type": "uco-observable:PhoneAccountFacet",
"uco-observable:phoneNumber": "11235557890"
}
]
},
{
"@id": "kb:android_phonebook1",
"@type": "uco-observable:ObservableObject",
"uco-core:hasFacet": [
{
"@type": "uco-observable:ApplicationFacet",
"uco-core:name": "Android Phonebook",
"uco-observable:applicationIdentifier": "com.android.providers.telephony",
"uco-observable:operatingSystem": {
"@id": "kb:os1"
},
"uco-observable:version": "2.3.4",
"uco-observable:numberOfLaunches": 323
}
]
}
]
}