-
Notifications
You must be signed in to change notification settings - Fork 3
/
schema_info.yaml
175 lines (175 loc) · 3.34 KB
/
schema_info.yaml
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
crime:
input_label: :Crime
is_a: event
is_relationship: false
preferred_id: id
present_in_knowledge_graph: true
properties:
date: str
hash: str
last_outcome: str
type: str
represented_as: node
investigated by:
input_label: INVESTIGATED_BY
is_a:
- fact
- core
is_relationship: true
label_as_edge: INVESTIGATED_BY
preferred_id: id
present_in_knowledge_graph: true
represented_as: edge
source: crime
target: officer
involved in:
input_label: INVOLVED_IN
is_a:
- fact
- core
is_relationship: true
label_as_edge: INVOLVED_IN
preferred_id: id
present_in_knowledge_graph: true
represented_as: edge
source: object
target: crime
is related to:
input_label: FAMILY_REL
is_a:
- fact
- core
is_relationship: true
label_as_edge: IS_RELATED_TO
preferred_id: id
present_in_knowledge_graph: true
represented_as: edge
source: person
target: person
is_schema_info: true
knows:
input_label: KNOWS
is_a:
- fact
- core
is_relationship: true
label_as_edge: KNOWS
preferred_id: id
present_in_knowledge_graph: true
represented_as: edge
source: person
target: person
lives at:
input_label: CURRENT_ADDRESS
is_a:
- fact
- core
is_relationship: true
label_as_edge: LIVES_AT
preferred_id: id
present_in_knowledge_graph: true
represented_as: edge
source: person
target: location
location:
input_label: :Location
is_a: place
is_relationship: false
preferred_id: id
present_in_knowledge_graph: true
properties:
address: str
latitude: float
longitude: float
postcode: str
represented_as: node
made call:
input_label: MADE_CALL
is_a: event
is_relationship: true
label_as_edge: MADE_CALL
preferred_id: id
present_in_knowledge_graph: true
represented_as: edge
source: person
target: phone call
object:
input_label: :Object
is_relationship: false
preferred_id: id
present_in_knowledge_graph: true
properties:
description: str
type: str
represented_as: node
occurred at:
input_label: OCCURRED_AT
is_a:
- fact
- core
is_relationship: true
label_as_edge: OCCURRED_AT
preferred_id: id
present_in_knowledge_graph: true
represented_as: edge
source: crime
target: location
officer:
input_label: :Officer
is_a: person
is_relationship: false
preferred_id: id
present_in_knowledge_graph: true
properties:
badge_no: str
name: str
rank: str
surname: str
represented_as: node
party to:
input_label: PARTY_TO
is_a:
- fact
- core
is_relationship: true
label_as_edge: PARTY_TO
preferred_id: id
present_in_knowledge_graph: true
represented_as: edge
source: person
target: crime
person:
input_label: :Person
is_a: actor
is_relationship: false
preferred_id: id
present_in_knowledge_graph: true
properties:
email: str
name: str
nhs_no: str
phone: str
surname: str
represented_as: node
phone call:
input_label: :PhoneCall
is_a: event
is_relationship: false
preferred_id: id
present_in_knowledge_graph: true
properties:
call_date: str
call_duration: int
call_time: str
call_type: str
represented_as: node
received call:
input_label: RECEIVED_CALL
is_a: event
is_relationship: true
label_as_edge: RECEIVED_CALL
preferred_id: id
present_in_knowledge_graph: true
represented_as: edge
source: person
target: phone call