# /research/software/rdf_topicmaps/documentation/databaseload.htm

originally: http://www.oclc.org/research/software/rdf_topicmaps/documentation/databaseload.htm

# Loading data into the database

The RDF Topicmap file created by bin/makeTopicmap.sh and the metadata file created by the harvester can be loaded into the database without further processing. A Perl script, bin/load.pl, that will load the data is included with the distribution. This script can also be used to do XML validation on the files. It is recommended that this be done to reduce the likelihood of problems during the load step. When XML validation is done, the script will print to standard out all the triples in the file.

[ bin/load.pl ]

Parameter | Required | Description
--- | --- | ---
-r | YES | The file with data to be loaded into the database.
-c | NO | A configuration file to use. Default = ../conf/rdftm.conf
-v | NO | Validate the data without loading it into the database. Note: Only does XML validation.