The File (meta)Data to RDF (FDRDF) tool builds a catalogue of descriptions of the files specified.
The descriptions currently include:
file status (as reported by thesystem call);
hash over the file contents;
file(as guessed by the );
geospatial metadata (as reported by);
file composition (as reported by .)
The current status of this package is: “bare bones”.
… There're a plenty of packages that aim at cataloguing digital data archives — such as the archives of digital audio and video records. Unfortunately, what we've encountered were the tasks which lie outside of the scope of such programs. Namely, it was observed that a typical cataloguing software:
is oriented towards one or more data representations in a single problem domain; (say, only works with audio records informat);
uses an ad-hoc database schema and (or) data format, that no other software can understand;
provides no suitable interface for the other software to control it and access its data; most of the time, only a graphical user interface is provided.
This software tries a different approach:
the “base” tool is problem domain- and format-agnostic; instead, it relies on a set of “modules” (which could either be implemented wholly in Perl, or be Perl wrappers around non-Perl tools and libraries) for gathering specific metadata;
the metadata gathered are recorded as an RDF model and are output in one of thelibrary-supported representations (at the time of writing: or );
it's designed to be run from Shell, so it's possible to use it from any software capable of doing a fork(2) + exec(2) system calls combination.
Please note, however, that the modules themselves do currently use ad-hoc, and the particular keys ( 's) are still subject to change!
It's expected that as the experience working with particular file formats' metadata will built up, and the requirements will be defined, the RDF schemata will be standardized.
The latest released version is currently 0.2. It's available from the following:
The latest development sources are available from therepository at:
http://gray.am-1.org/~ivan/archives/git/fdrdf.git/ — the Git repository itself;
http://gray.am-1.org/~ivan/archives/git/gitweb.cgi?p=fdrdf.git — browseable version (via );
One may clone the repository with the usual
$ git clone
$ git clone \ http://gray.am-1.org/~ivan/archives/git/fdrdf.git/ \ fdrdf
The installation is described in INSTALL.
For usage, check fdrdf.man (
doc/fdrdf.1 in the
distribution tarball.) For quick reference, look at the
$ fdrdf --help output.
The most part of the 0.1 version of this package was written by
Ivan Shmakov, August through September, 2010. The
gdalinfo modules were written by Svetlana Zelenina
(with Ivan Shmakov occasionally looking over the shoulder.)
The 0.2 version followed shortly (slightly more than a week later), bringing some incompatible changes, new features, vast clean-ups, and improvements both to the code and documentation.
Ivan Shmakov, ivan (at) main (dot) uusia (dot) org.
Local variables: fill-column: 64 indent-tabs-mode: nil End: