Skip to content

Commit 2c90a28

Browse files
committed
linkedSPLs README trivial
1 parent fe9cd30 commit 2c90a28

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

linkedSPLs/README

+13-9
Original file line numberDiff line numberDiff line change
@@ -108,23 +108,27 @@ annotation set in rdf comes from elastico parsing program.
108108
Load LinkedPLs RDF graphs into VIRTUOSO (tested with OpenLink Virtuoso in Ubuntu)
109109
################################################################################
110110

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-
117111
Reloading (DELETE THE OLD GRAPH FIRST from Virtuoso composer!):
118112
$ isql-vt
119113
SQL> log_enable(3,1); # see http://www.openlinksw.com/dataspace/dav/wiki/Main/VirtTipsAndTricksGuideDeleteLargeGraphs
114+
115+
Delete graph from RDF store
120116
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
121122
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');
122127
SQL> rdf_loader_run();
123-
SQL> select * from DB.DBA.load_list;
128+
SQL> select * from DB.DBA.load_list;
129+
124130

125131
Graph list:
126132
http://purl.org/net/nlprepository/spl-core
127133
http://purl.org/net/nlprepository/spl-active-moiety
128134
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

0 commit comments

Comments
 (0)