File tree 1 file changed +13
-9
lines changed
1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -108,23 +108,27 @@ annotation set in rdf comes from elastico parsing program.
108
108
Load LinkedPLs RDF graphs into VIRTUOSO (tested with OpenLink Virtuoso in Ubuntu)
109
109
################################################################################
110
110
111
- Initial load:
112
- $ isql-vt
113
- SQL> ld_dir ('/path/to/files', '*.n3', 'http://dbpedia.org');
114
- SQL> rdf_loader_run();
115
- SQL> select * from DB.DBA.load_list;
116
-
117
111
Reloading (DELETE THE OLD GRAPH FIRST from Virtuoso composer!):
118
112
$ isql-vt
119
113
SQL> log_enable(3,1); # see http://www.openlinksw.com/dataspace/dav/wiki/Main/VirtTipsAndTricksGuideDeleteLargeGraphs
114
+
115
+ Delete graph from RDF store
120
116
SQL> SPARQL CLEAR GRAPH <http://dbmi-icode-01.dbmi.pitt.edu/linkedSPLs/>;
117
+
118
+ Delete from load list
119
+ SQL> delete from DB.DBA.load_list where ll_graph='graph name';
120
+
121
+ Change status in load list
121
122
SQL> update DB.DBA.load_list set ll_state = 0 where ll_file = '<name of RDF file>';
123
+
124
+ Initial load:
125
+ $ isql-vt
126
+ SQL> ld_dir ('/path/to/files', '*.n3', 'http://dbpedia.org');
122
127
SQL> rdf_loader_run();
123
- SQL> select * from DB.DBA.load_list;
128
+ SQL> select * from DB.DBA.load_list;
129
+
124
130
125
131
Graph list:
126
132
http://purl.org/net/nlprepository/spl-core
127
133
http://purl.org/net/nlprepository/spl-active-moiety
128
134
http://purl.org/net/nlprepository/spl-clinical-drug
129
-
130
- - The D2R file has the mapping from RDB tables to RDF: ../LinkedSPLs-core/linkedSPLs_dump_rdf_config.n3
You can’t perform that action at this time.
0 commit comments