Difference between revisions of "Virtuoso"
From phenoscape
Jim Balhoff (talk | contribs) |
Jim Balhoff (talk | contribs) |
||
Line 3: | Line 3: | ||
** Within isql: <code>ld_dir_all('/usr/local/virtuoso/6.1.4/share/virtuoso/vad/kb', '*.owl', 'http://kb.phenoscape.org/');</code> | ** Within isql: <code>ld_dir_all('/usr/local/virtuoso/6.1.4/share/virtuoso/vad/kb', '*.owl', 'http://kb.phenoscape.org/');</code> | ||
** then, <code>rdf_loader_run();</code> | ** then, <code>rdf_loader_run();</code> | ||
+ | ** Before doing the above you may need to <code>delete from db.dba.load_list;</code> to make it reload files that have previously been loaded. | ||
* [http://www.openlinksw.com/dataspace/dav/wiki/Main/VirtRemoveTriples Removing all triples] | * [http://www.openlinksw.com/dataspace/dav/wiki/Main/VirtRemoveTriples Removing all triples] | ||
** Within isql: <code>sparql clear graph <http://kb.phenoscape.org/> ;</code> | ** Within isql: <code>sparql clear graph <http://kb.phenoscape.org/> ;</code> |
Revision as of 00:46, 14 April 2012
Helpful Virtuoso documentation links
- Bulk loading RDF source files
- Within isql:
ld_dir_all('/usr/local/virtuoso/6.1.4/share/virtuoso/vad/kb', '*.owl', 'http://kb.phenoscape.org/');
- then,
rdf_loader_run();
- Before doing the above you may need to
delete from db.dba.load_list;
to make it reload files that have previously been loaded.
- Within isql:
- Removing all triples
- Within isql:
sparql clear graph <http://kb.phenoscape.org/> ;
- Within isql:
- Setting default passwords
- Inference rules and reasoning
- Within isql:
rdfs_rule_set('http://kb.phenoscape.org/', 'http://kb.phenoscape.org/');
- First arg is name of rule set, second is RDF graph to include
- Within isql:
- Performance tuning