-
Notifications
You must be signed in to change notification settings - Fork 5
/
fill.yml
45 lines (45 loc) · 1.5 KB
/
fill.yml
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
id: fill
name: fill
description: This operation adds knodes and kedges. Any constraints attached to QNodes and QEdges specified in the TRAPI must be respected.
unique: true
examples:
- input: fill_and_bind/messages/01_qgraph.json
output: fill_and_bind/messages/02_kgraph.json
input_requirements: []
output_guarantees: []
allowed_changes:
- add knodes
- add kedges
parameters:
type: object
oneOf:
- properties:
allowlist:
type: array
items:
type: string
description: List of knowledge providers/sources that may be used to provide knowledge.
example: ['icees']
minLength: 1
qedge_keys:
type: array
items:
type: string
description: A list of qedge keys. If included only edges corresponding to the given qedge keys, as well as their connected nodes, will be filled. If not included all edges will be filled.
example: ['e00']
additionalProperties: false
- properties:
denylist:
type: array
items:
type: string
description: List of knowledge providers/sources that may NOT be used to provide knowledge.
example: ['ctd']
minLength: 1
qedge_keys:
type: array
items:
type: string
description: A list of qedge keys. If included only edges corresponding to the given qedge keys, as well as their connected nodes, will be filled. If not included all edges will be filled.
example: ['e00']
additionalProperties: false