Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • To generate the RDF triples and the file directories required for a person photo to be displayed on VIVO profile page.

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 /mj495/document/photos/input/ /mj495/document/photos/output/ http://vivo.cornell.edu/individual/

...

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

...

Documentation

Notes

  • How to run jar file periodically:

    There may be the cases when new persons are added in a VIVO instance and one wants to add their photos. All one needs to do is to add their photos (with correct image names) in input folder. The program will automatically check which photos has already been processed (by looking into output/file folder. At the end of the jar file execution, a new triple file will be added in the output folder. Currently the file directories will be added in existing output/file folder. This part of code can be updated in furture.