DescriptionCommand line to bulk load images to VIVO
Typeingest
Status
OwnerMuhammad Javed
LanguageJava
Team
Locationhttps://github.com/mjaved495/VIVOPhotoDataGenerator
Licensee.g. BSD, MIT, LGPL


Goals

Description

The gitHub repository consists of source code files (that uses Jena libraries - https://jena.apache.org/) as well as a self-contained runnable jar file that can be used separately.

How to run jar file:

Run the jar file as below:

java -jar VIVOPhotoLinksGenerator.jar <InputFolderPath> <OutputFolderPath> <PrsonURINamesapce>

For example

java -jar VIVOPhotoLinksGenerator.jar /document/photos/input/ /document/photos/output/ http://vivo.cornell.edu/individual/

Input Folder

Input Folder should contain the person photos in jpg format. The jpg file name must match with the localname of a person's URI. For example if a person's URI is http://scholars.cornell.edu/individual/mj495 , then jpg filename must be mj495.jpg. This is how we generate person URIs and link them to the photos.

Output Folder

At the end of jar file execution, output folder should contain the 1) .nt triple file (that should go in triplestore) and 2) a folder named as "file". The subdirectories of the "file" folder should be copied in VIVO (/file_storage_root/a~n/).

** Do not copy the complete "file" folder, but only the subdirectories.

Default Person URI

If no URI is given as Java runtime parameter, the default person URI is set to http://scholars.cornell.edu/individual/

Documentation

Include any mockups, diagrams or visual designs relating to these requirements.

Notes