Skip to content
Permalink
Browse files
Fixes to address review comments
  • Loading branch information
afs committed Dec 9, 2021
1 parent 7cc3701 commit ffc86074dc78a9a192747020415db4b5d92091bc
Showing 3 changed files with 8 additions and 8 deletions.
@@ -91,7 +91,7 @@ objects have been removed.

* Substitution of variables for concrete values in query and update execution.
This is a form of paramterization that works in both local and remnote usage
(unlike "intial bindings" which are only available for lcoal query execution).
(unlike "initial bindings" which are only available for local query execution).
See the [substitution section](#substitution) section below.

* `HttpOp`, using `java.net.http.HttpClient`, is split into `HttpRDF` for
@@ -116,7 +116,7 @@ Unlike "initial bindings" substitution is provided in query and update builders
for both local and remote cases.

Substitution is always "replace variable with RDF term" in a query or update
that is correct syntax. This means is does not apply to `INSERT DATA` or `DELETE
that is correct syntax. This means it does not apply to `INSERT DATA` or `DELETE
DATA` but can be used with `INSERT { ?s ?p ?o } WHERE {}` and
`DELETE { ?s ?p ?o } WHERE {}`.

@@ -140,7 +140,7 @@ See also
* [Parameterized Queries](documentation/query/parameterized-sparql-strings.html)
* [Jena Query Builder](https://jena.apache.org/documentation/extras/querybuilder/index.html)

which provide a different ways to build a query.
which provide different ways to build a query.

## <tt>RDFConnection</tt>

@@ -25,7 +25,7 @@ title: TDB FAQs
TDB2 is a later generation of database for Jena. It is more robust and can
handle large update transactions.

These are different databases systems - the have different on-disk file formats
These are different databases systems - they have different on-disk file formats
and databases for one are not compatible with other database engine.

<a name="transactions"></a>
@@ -4,7 +4,7 @@ title: TDB xloader

TDB xloader ("x" for external) is a bulkloader for very large datasets. The goal
is stability and reliability for long running loading, running on modest
hardware and can load to storage of rotating disk or SSD.
hardware and can be use to load a database on rotating disk or SSD.

xloader is not a replacement for regular TDB1 and TDB2 loaders.

@@ -37,16 +37,16 @@ or
Additionally, there is an argument `--tmpdir` to use a different directory for
temporary files.

`FILE` is any RDF syntax supported by Jena. Syntax is detemined by file
extension and can include an addtional ".gz" or ".bz2" for compresses files.
`FILE` is any RDF syntax supported by Jena. Syntax is determined by the file
extension and can include an addtional ".gz" or ".bz2" for compressed files.

### Advice

To avoid a load failing due to a syntax or other data error, it is advisable to
run `riot --check` on the data first. Parsing is faster than loading.

The TDB databases will take up a lot of disk space and in addition during
loading `xloader` uses a significant amout of temporary disk space.
loading `xloader` uses a significant amount of temporary disk space.

If desired, the data can be converted to [RDF Thrift](../io/rdf-binary.html) at
this stage by adding `--stream rdf-thrift` to the riot checking run. Parsing

0 comments on commit ffc8607

Please sign in to comment.