Hi,

On Wed, Aug 24, 2016 at 10:27 PM, Blake Regalia <blake.rega...@gmail.com>
wrote:

> The KiWi Loader[1] documentation seems to be missing how to actually run
> the program. It appears to be alluding to a "KiWiLoader" binary - but I
> have found no such executable.
>
> I did find this archived message[2] which includes this detail about
> running the loader:
>
>> All code is located in libraries/kiwi/kiwi-loader.
>
> A typical call of KiWiLoader would be: java -jar target/kiwi-loader-
>
> 3.2.0-SNAPSHOT.one-jar.jar
>> -S /tmp/loader.png -D postgresql -d
>> jdbc:postgresql://localhost:5432/freebase?prepareThreshold=3 -U marmotta
>> -P marmotta -z -f text/turtle -i freebase-rdf-2013-11-10-00-00_fixed.gz
>
>
> However, when I try running this jar file from the built
> /libraries/kiwi/kiwi-loader directory on 3.3.0 (or any other version for
> that matter); I get:
>
>> no main manifest attribute, in target/kiwi-loader-3.3.0.jar
>
>
> What is the proper way to use KiWiLoader ?
>
> [1] - http://marmotta.apache.org/kiwi/loader.html
> [2] - https://mail-archives.apache.org/mod_mbox/marmotta-dev/
> 201311.mbox/%3C1385131107.1485.23.camel@finn%3E
>

I guess the documentation could be a bit out-of-date since we refactored
all the loader infrastructure.

Now kiwi-loader is the KiWi infrastructure, the loaders
are marmotta-loader-* under loader; e.g., for loading in KiWi you need to
use the marmotta-loader-kiwi:

java -jar loader/marmotta-loader-kiwi-3.4.0-SNAPSHOT.jar -s -j -C
jdbc:postgresql://localhost:5432/foo?prepareThreshold=3 -I -U marmotta -W
zahnoti5aiPe -d /data/foo*

I'll take care of updating the documentation. Sorry.

Cheers,


-- 
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925
e: sergio.fernan...@redlink.co
w: http://redlink.co

Reply via email to