Author: wikier
Date: Thu Aug 25 07:08:54 2016
New Revision: 1757614
URL: http://svn.apache.org/viewvc?rev=1757614&view=rev
Log:
updated loaders documentation
Added:
marmotta/site/trunk/content/markdown/platform/loaders.md
Modified:
marmotta/site/trunk/content/markdown/kiwi/loader.md
marmotta/site/trunk/content/site.xml
Modified: marmotta/site/trunk/content/markdown/kiwi/loader.md
URL:
http://svn.apache.org/viewvc/marmotta/site/trunk/content/markdown/kiwi/loader.md?rev=1757614&r1=1757613&r2=1757614&view=diff
==============================================================================
--- marmotta/site/trunk/content/markdown/kiwi/loader.md (original)
+++ marmotta/site/trunk/content/markdown/kiwi/loader.md Thu Aug 25 07:08:54 2016
@@ -5,37 +5,5 @@
Standalone module to load RDF files into a KiWi Database.
Using the KiWiLoader, you can bypass the the Marmotta platform and directly
connect to the KiWi backend.
-**NOTE:** pre-3.2 versions require **exclusive** access to the database!
+This documentation is **deprecated**, check-out [Marmotta
Loaders](../platform/loaders.html) for the new documentation.
-Easiest usage is to provide KiWiLoader with a `system-config.properties` from
an existing Marmotta instance.
-DB-Connection and Base-URI will be loaded from the config file and can be
overwritten using cli-parameters.
-
-### Selected parameters in detail
-
-* **context**: the context to import into, defaults to `${baseURI}/context`
-* **format**: is guessed based on the file name but can be overruled by the
cli-parameter.
-* **compression**: is guessed based on the file name but can be overruled by
the cli-parameter.
-* **d, D, P, U**: DB-Connection config.
-* **reasoning**: *not implemented*
-* **versioning**: *not implemented*
-
-## Usage
-
- usage: KiWiLoader [-b <baseUri>] [-c <config>] [-C <context>] [-D
- <dialect>] [-d <jdbc-url>] [-f <mime-type>] [-h] [-i <rdf-file>]
[<rdf-file> ...]
- [-P <passwd>] [--reasoning] [-U <dbUser>] [--versioning] [-z]
- -b,--baseUri <baseUri> baseUri during the import (fallback:
- kiwi.context from the config file)
- -c,--config <config> Marmotta system-config.properties file
- -C,--context <context> context to import into
- -D,--dbDialect <dialect> database dialect (h2, mysql, postgres)
- -d,--database <jdbc-url> jdbc connection string
- -f,--format <mime-type> format of rdf file (if guessing based on the
- extension does not work)
- -h,--help print this help
- -i,--file <rdf-file> input file(s) to load
- -P,--dbPasswd <passwd> database password
- --reasoning enable reasoning
- -U,--user <dbUser> database user
- --versioning enable versioning
- -z Input file is gzip compressed
Added: marmotta/site/trunk/content/markdown/platform/loaders.md
URL:
http://svn.apache.org/viewvc/marmotta/site/trunk/content/markdown/platform/loaders.md?rev=1757614&view=auto
==============================================================================
--- marmotta/site/trunk/content/markdown/platform/loaders.md (added)
+++ marmotta/site/trunk/content/markdown/platform/loaders.md Thu Aug 25
07:08:54 2016
@@ -0,0 +1,81 @@
+<head><title>Marmotta Loaders</title></head> <!-- awaiting for
https://jira.codehaus.org/browse/DOXIA-472 -->
+
+# Apache Marmotta Platform: Loaders
+
+Marmotta provides standalone module to bulk load RDF files into the supported
[backend](backends.html).
+Using a Marmotta Loader, you can bypass the the Marmotta platform and directly
connect to the backend.
+
+
+## KiWi Loader
+
+Bulk RDF loader for [KiWi triplestore](../kiwi/index.html)
([`marmotta-loader-kiwi`](https://github.com/apache/marmotta/tree/develop/loader/marmotta-loader-kiwi)).
+
+https://github.com/apache/marmotta/tree/develop/loader/marmotta-loader-kiwi
+
+**NOTE:** pre-3.2 versions require **exclusive** access to the database!
+
+Easiest usage is to provide Marmotta Loader with a `system-config.properties`
from an existing Marmotta instance.
+DB-Connection and Base-URI will be loaded from the config file and can be
overwritten using cli-parameters.
+
+Usage:
+
+ usage: MarmottaLoader -a <archive> | -d <dir> | -f <file> [-B <backend>]
+ [-b <base>] [-c <context>] -C <connect> [-D <property=value>]
+ [-h] [-I] [-j | -z] [-s <statistics>] [-t <type>] [-U <user>] [-W
+ <password>] [-w]
+ -a,--archive <archive> input archives(s) to load (zip, tar.gz)
+ -B,--backend <backend> backend to use (kiwi)
+ -b,--base <base> base URI to use for resolving relative
+ URIs
+ -c,--context <context> URI of a context to add the statement to
+ -C,--connect <connect> JDBC database URL used by KiWi to connect
+ to the database
+ -d,--dir <dir> input directories(s) to load
+ -D <property=value> set configuration property to value
+ -f,--file <file> input file(s) to load
+ -h,--help print this help
+ -I,--drop-indexes drop KiWi database indexes before
+ importing
+ -j,--bzip2 input is bzip2 compressed
+ -s,--statistics <statistics> collect statistics and write a graph into
+ the file given
+ -t,--type <type> input format to use for parsing (MIME
+ type) in case auto-guessing does not work
+ -U,--user <user> database user used by KiWi to connect to
+ the database
+ -W,--password <password> database password used by KiWi to connect
+ to the database
+ -w,--write-csv write to disk the latest csv batch
+ -z,--gzip input is gzip compressed
+
+
+
+## Ostrich Loader
+
+Bulk RDF loader for Ostrich, experimental triple store backend implemented in
C++ based on LevelDB
+([`marmotta-loader-ostrich`](https://github.com/apache/marmotta/tree/develop/loader/marmotta-loader-ostrich)).
+See [MARMOTTA-621](https://issues.apache.org/jira/browse/MARMOTTA-621) for
further details.
+
+@@TODO@@
+
+
+## TitanDB Loader
+
+Bulk RDF loader for TitanDB
([`marmotta-loader-titan`](https://github.com/apache/marmotta/tree/develop/loader/marmotta-loader-titan)).
+
+@@TODO@@
+
+
+## HBase Loader
+
+Bulk RDF loader for HBase
([`marmotta-loader-hbase`](https://github.com/apache/marmotta/tree/develop/loader/marmotta-loader-hbase)).
+
+@@TODO@@
+
+
+## BerkleyDB Loader
+
+Bulk RDF loader for BerkleyDB
([`marmotta-loader-berkeley`](https://github.com/apache/marmotta/tree/develop/loader/marmotta-loader-berkeley)).
+
+@@TODO@@
+
Modified: marmotta/site/trunk/content/site.xml
URL:
http://svn.apache.org/viewvc/marmotta/site/trunk/content/site.xml?rev=1757614&r1=1757613&r2=1757614&view=diff
==============================================================================
--- marmotta/site/trunk/content/site.xml (original)
+++ marmotta/site/trunk/content/site.xml Thu Aug 25 07:08:54 2016
@@ -89,6 +89,7 @@
<item name="SPARQL Module" href="platform/sparql-module.html" />
<item name="LDP Module" href="platform/ldp-module.html" />
<item name="Backends" href="platform/backends.html" />
+ <item name="Loaders" href="platform/loaders.html" />
<item name="LDCache Module" href="platform/ldcache-module.html" />
<item name="LDPath Module" href="platform/ldpath-module.html" />
<item name="Reasoner Module" href="platform/reasoner-module.html"
/>
@@ -113,7 +114,7 @@
<item name="Triple Table" href="kiwi/tripletable.html" />
<item name="Reasoner" href="kiwi/reasoner.html" />
<item name="Versioning" href="kiwi/versioning.html" />
- <item name="KiWi Loader" href="kiwi/loader.html" />
+ <item name="Loader" href="kiwi/loader.html" />
<item name="Context Aware" href="kiwi/contextaware.html" />
</item>
<item name="LDClient" href="ldclient" collapse="true">