An open API service indexing awesome lists of open source software.

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

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
```