generated from Knowledge-Graph-Hub/kg-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample-merge-config.yml
104 lines (104 loc) · 2.96 KB
/
sample-merge-config.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
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
configuration:
output_directory: output_data
checkpoint: false
curie_map:
# define non-canonical CURIE to IRI mappings (for RDF)
node_properties:
# define predicates that are to be treated as direct node properties (for RDF)
predicate_mappings:
# map non-canonical predicates to a property name (for RDF)
property_types:
# define the type for non-canonical properties for RDF export
merged_graph:
name: Merged Graph
source:
sequence-ontology:
input:
name: "Sequence Ontology"
format: owl
filename:
- data/so.owl
hgnc-dataset:
curie_map:
# define non-canonical CURIE to IRI mappings (for RDF), specifically for this source
node_properties:
# define predicates that are to be treated as direct node properties (for RDF), specifically for this source
predicate_mappings:
# map non-canonical predicates to a property name (for RDF), specifically for this source
property_types:
# define the type for non-canonical properties for RDF export, specifically for this source
input:
name: "HGNC"
format: nt
filename:
- data/hgnc.nt
test-dataset:
input:
format: tsv
compression: tar.gz
filename:
- data/test_dataset.tar.gz
filters:
node_filters:
category:
- biolink:Gene
- biolink:Disease
edge_filters:
edge_label:
- biolink:contributes_to
neo-kg:
input:
format: neo4j
uri: http://localhost:7474
username: neo4j
password: neo4j
page_size: 10000
filters:
node_filters:
category:
- biolink:Gene
- biolink:Disease
- biolink:PhenotypicFeature
edge_filters:
subject_category:
- biolink:Gene
- biolink:Disease
object_category:
- biolink:PhenotypicFeature
edge_label:
- biolink:interacts_with
- biolink:has_phenotype
sparql-kg:
input:
format: sparql
uri: http://localhost/sparql
filters:
edge_filters:
subject_category:
- biolink:Gene
- biolink:PhenotypicFeature
object_category:
- biolink:Disease
edge_label:
- biolink:is_marker_for
- biolink:has_phenotype
local-kg:
input:
format: json
filename:
- local-kg-dump.json
operations:
- name: kgx.operations.summarize_graph.generate_graph_stats
args:
graph_name: Merged Graph
filename: merged-kg_stats.yaml
node_facet_properties:
- provided_by
edge_facet_properties:
- provided_by
destination:
merged-kg-tsv:
format: tsv
compression: tar.gz
filename:
- merged-kg