Old Release

This documentation relates to an old version of VIVO, version 1.10.x. Looking for another version? See all documentation.

jena2tools is a command line Java utility which uses the Jena libraries to export data from a Jena 2 VIVO system (versions 1.9.3 and earlier).  Jena2tools exports both the data store and the configuration store.  The exports are stored in vivo-home/dumps.

jena2tools is used during an upgrade process from VIVO versions running Jena 2 (version 1.9.3 and earlier).  See Upgrading VIVO

jena2tools can also be used to export your VIVO configuration and content for sharing, and/ or use in other tools. See Exporting Data from VIVO

Running Jena2tools

  1. Shutdown Tomcat
  2. Use java -jar jena2tools.jar <options>
  3. Your dumps will be in vivo-home/dumps

Help

java -jar jena2tools [arguments] -d home_directory
    
Arguments
-d, --dir      REQUIRED. Specify the VIVO/Vitro home directory
-i, --import   Import TriG format data to triple stores
-e, --export   Export data from triple stores. Default format is TriG
-h, --help     Display help text
-f, --force    Force overwrite of previous exports
-o, --output   Output format followed by one of nt, nq, jsonld, trig, rdf, or ttl

Repository

Source code for Jena2tools can be found in GitHub here:  https://github.com/vivo-project/jenatools 


  • No labels