https://github.com/nasa-pds/product_relationships
R&D development effort with RDF databases attempting to better enable management and searching of PDS4 product relationships
https://github.com/nasa-pds/product_relationships
pds
Last synced: about 2 months ago
JSON representation
R&D development effort with RDF databases attempting to better enable management and searching of PDS4 product relationships
- Host: GitHub
- URL: https://github.com/nasa-pds/product_relationships
- Owner: NASA-PDS
- License: apache-2.0
- Created: 2020-10-21T20:05:45.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-10-13T23:51:18.000Z (10 months ago)
- Last Synced: 2025-11-16T04:30:04.576Z (9 months ago)
- Topics: pds
- Language: Java
- Homepage:
- Size: 101 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Security: SECURITY.md
- Notice: NOTICE.txt
Awesome Lists containing this project
README
# Overview
A command line tool to extract basic metadata and product relationships information from PDS4 label files.
Extracted information is stored in RDF Turtle files.
# Installation
This is a Java Maven project. Run "mvn package" to create binary zip file (target/harvest-rdf-1.0-bin.zip)
Extract generated zip file to any folder (which we will call HARVEST_HOME).
# Basic Operation
Create a configuration file, for example, /tmp/harvest-rdf.xml.
In this example /ws/data/context/pds4/ folder contains PDS4 labels of context products.
```
/ws/data/context/pds4/
```
Run harvest-rdf.bat on Windows or harvest-rdf on Unix, located in HARVEST_HOME/bin folder.
```
harvest-rdf -c /tmp/harvest-rdf.xml
```
The tool will process all PDS4 labels located in /ws/data/context/pds4/ folder and its sub-folders.
By default, generated RDF Turtle file is located in /tmp/harvest-rdf/data.ttl.
You can change default output folder by providing "-o" parameter.
```
harvest-rdf.bat -c /tmp/harvest-rdf.xml -o /tmp/rdf1
```
To see basic usage information, run harvest-rdf.bat or harvest-rdf without any parameters.
```
Usage: harvest-rdf
Required parameters:
-c Configuration file
Optional parameters:
-o Output directory. Default is /tmp/harvest-rdf/out
-l Log file. Default is /tmp/harvest-rdf/harvest.log
-v Logger verbosity: Debug, Info (default), Warn, Error
```