You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by Apache Wiki <wi...@apache.org> on 2016/04/07 09:08:25 UTC
[Marmotta Wiki] Update of "ImportData" by SergioFernandez
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Marmotta Wiki" for change notification.
The "ImportData" page has been changed by SergioFernandez:
https://wiki.apache.org/marmotta/ImportData?action=diff&rev1=13&rev2=14
Comment:
reordered import rules to making easier to understand for users
This import method supports context names:
- * If the (sub-)folder containing the file to import contains a file called `config` containing a property `context` the value of this property is used as (full qualified) context. Otherwise,
* The files copied in the root on that directory would be imported into the default context.
* Sub-folders would be taken into account to select the target context name. For instance, if you copy a RDF file into `${MARMOTTA_HOME}/import/foo/bar`, the data would be imported into a context named `${BASE_URI}/context/foo/bar`.
* For fully qualified context names (i.e., non-local), a URL-encoded directory can be used. For example, if you copy a file into `${MARMOTTA_HOME}/import/http%3A%2F%2Fexample.org`, the triples will be imported in the `http://example.org` context in Marmotta.
+ * In case more flexibility is required, if the (sub-)folder containing the file to import contains a file called `config` containing a property `context` the value of this property is used as (full qualified) context.
== Import data directly to the KiWi triple store ==