Skip to content
Permalink
Browse files
Fix links to not include have the http(s) and host for Jena
  • Loading branch information
afs committed Apr 29, 2020
1 parent 12ce614 commit 6da92339d3c597f270c101e68ca1b076eb6cb726
Show file tree
Hide file tree
Showing 22 changed files with 67 additions and 72 deletions.
@@ -4,7 +4,7 @@ title: CSV PropertyTable - Get Started

## Using CSV PropertyTable with Apache Maven

See ["Using Jena with Apache Maven"](http://jena.apache.org/download/maven.html) for full details.
See ["Using Jena with Apache Maven"](/download/maven.html) for full details.

<dependency>
<groupId>org.apache.jena</groupId>
@@ -14,7 +14,7 @@ See ["Using Jena with Apache Maven"](http://jena.apache.org/download/maven.html)

## Using CSV PropertyTable from Java through the API

In order to switch on CSV PropertyTable, it's required to register `LangCSV` into [Jena RIOT](http://jena.apache.org/documentation/io/), through a simple method call:
In order to switch on CSV PropertyTable, it's required to register `LangCSV` into [Jena RIOT](/documentation/io/), through a simple method call:

import org.apache.jena.propertytable.lang.CSV2RDF;
...
@@ -58,7 +58,7 @@ You can read ".csv" files into Model following the standard RIOT usages:
// Usage 2: Reading using RDFDataMgr
Model model_2 = RDFDataMgr.loadModel("test.csv") ;

For more information, see [Reading RDF in Apache Jena](http://jena.apache.org/documentation/io/rdf-input.html).
For more information, see [Reading RDF in Apache Jena](/documentation/io/rdf-input.html).

Note that, the requirements for the CSV files are listed in the documentation of [Design](design.html). CSV PropertyTable only supports **single-Value**, **regular-Shaped**, **table-headed** and **UTF-8-encoded** CSV files (**NOT** Microsoft Excel files).

@@ -76,7 +76,7 @@ It transforms the CSV `inputFile` into N-Triples. For example,
The script reuses [Common framework for running RIOT parsers](../io/index.html),
so that it also accepts the same arguments
(type `"riot --help"` to get command line reminders) from
[RIOT Command line tools](https://jena.apache.org/documentation/io/#command-line-tools):
[RIOT Command line tools](/documentation/io/#command-line-tools):

- `--validate`: Checking mode: same as `--strict --sink --check=true`
- `--check=true/false`: Run with checking of literals and IRIs either on or off.
@@ -6,7 +6,7 @@ Fuseki can provide access control at the level on the server, on datasets,
on endpoints and also on specific graphs within a dataset. It also
provides native https to protect data in-flight.

[Fuseki Main](http://jena.apache.org/documentation/fuseki2/fuseki-main.html)
[Fuseki Main](/documentation/fuseki2/fuseki-main.html)
provides some common patterns of authentication.

[Graph level Data Access Control](#graph-acl) provides control over the visibility of
@@ -15,7 +15,7 @@ the default graph. Currently, Graph level access control only applies to
read-only datasets.

Fuseki Full (Fuseki with the UI) can be used when
[run in a web application server such as Tomcat](http://jena.apache.org/documentation/fuseki2/fuseki-run.html#fuseki-web-application)
[run in a web application server such as Tomcat](/documentation/fuseki2/fuseki-run.html#fuseki-web-application)
to provide authentication of the user. See "[Fuseki Security](fuseki-security)" for configuring security over the whole of the Fuseki UI.

## Contents
@@ -33,8 +33,7 @@ persistent work area on-disk.
java -jar jena-fuseki-server-$VER.jar --help

The arguments are the same as the
[full UI server command line
program](http://jena.apache.org/documentation/fuseki2/fuseki-run.html#fuseki-standalone-server).
[full UI server command line program](/documentation/fuseki2/fuseki-run.html#fuseki-standalone-server).
There are no special environment variables.


@@ -98,7 +97,7 @@ is quite large and difficult to set manually.
This dependency does not include a logging setting. Fuseki uses [slf4j](http://slf4j.org/).
See section "[Logging](#logging)" for details.

If the application wishes to use a dataset with a [text-index](http://jena.apache.org/documentation/query/text-query.html)
If the application wishes to use a dataset with a [text-index](/documentation/query/text-query.html)
then the application will also need to include jena-text in its dependencies.

## Logging {#logging}
@@ -136,7 +135,7 @@ and dependencies:
<version>1.x.y</version>
</dependency>

See [Fuseki Logging](http://jena.apache.org/documentation/fuseki2/fuseki-logging.html).
See [Fuseki Logging](/documentation/fuseki2/fuseki-logging.html).

To silence logging from Java, try:

@@ -113,7 +113,6 @@ To query a Model with GeoSPARQL or standard SPARQL:
ResultSetFormatter.outputAsTSV(rs);
}

More information on SPARQL querying using Jena can be found on their website (https://jena.apache.org/tutorials/sparql.html).
If your dataset needs to be separate from your application and accessed over HTTP then you probably need
the [GeoSPARQL Fuseki project](geosparql-fuseki).
The GeoSPARQL functionality needs to be setup in the application or Fuseki server where the dataset is located.
@@ -183,7 +182,7 @@ The following are implementation points that may be useful during usage.

### GeoSPARQL Schema
An RDF/XML schema has been published for the GeoSPARQL v1.0 standard (v1.0.1 - http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf).
This can be applied to Jena Models (https://jena.apache.org/documentation/inference/) to provide RDFS and OWL inferencing on a GeoSPARQL conforming dataset.
This can be applied to Jena Models (see [the inference documentation](/documentation/inference/)) to provide RDFS and OWL inferencing on a GeoSPARQL conforming dataset.
However, the published schema does not conform with the standard.

The property `hasDefaultGeometry` is missing from the schema and instead the `defaultGeometry` property is stated.
@@ -117,7 +117,7 @@ add data into an existing model or dataset.
Detail control over the setup of the parsing process is provided by
`RDFParser` which provides a builder pattern. It has many options - see
[the javadoc for all details](http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/riot/RDFParser.html).
[the javadoc for all details](/documentation/javadoc/arq/org/apache/jena/riot/RDFParser.html).
For example, to read Trig data, and set the error handler specially,
@@ -156,7 +156,7 @@ All of these may be specified multiple times to specify multiple graph URIs for

Then you have the `select-results-type` and `model-results-type` which are used to set the MIME
type you'd prefer to have the driver retrieve SPARQL results from the remote endpoints in. If used
you must set them to formats that ARQ supports, the ARQ [WebContent](http://jena.staging.apache.org/documentation/javadoc/arq/org/apache/jena/riot/WebContent.html)
you must set them to formats that ARQ supports, the ARQ [WebContent](/documentation/javadoc/arq/org/apache/jena/riot/WebContent.html)
class has constants for the various supported formats.

#### Authentication
@@ -3,7 +3,7 @@ title: ARQ - A SPARQL Processor for Jena
slug: index
---

ARQ is a query engine for [Jena](http://jena.apache.org) that
ARQ is a query engine for [Jena](https://jena.apache.org/) that
supports the
[SPARQL RDF Query language](http://www.w3.org/TR/sparql11-query/).
SPARQL is the query language developed by the W3C
@@ -73,7 +73,7 @@ TriplesTemplate | ::= | TriplesSameSubject ( '.' TriplesTemplate? )?

## Programming API

ARQ provides 2 additional methods in [QueryExecution](http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/query/QueryExecution.html) for Construct Quad.
ARQ provides 2 additional methods in [QueryExecution](/documentation/javadoc/arq/org/apache/jena/query/QueryExecution.html) for Construct Quad.

Iterator<Quad> QueryExecution.execConstructQuads() // allow duplication
Dataset QueryExecution.execConstructDataset() // no duplication
@@ -109,10 +109,10 @@ More examples can be found at `ExampleConstructQuads.java` under `jena-arq/src-e

## Fuseki Support

Jena [Fuseki](http://jena.apache.org/documentation/fuseki2/index.html) is also empowered with Construct Quad query as a built-in
Jena [Fuseki](/documentation/fuseki2/index.html) is also empowered with Construct Quad query as a built-in
function. No more additional configuration is required to switch it on.
Because
[QueryEngineHTTP](http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/sparql/engine/http/QueryEngineHTTP.html)
[QueryEngineHTTP](/documentation/javadoc/arq/org/apache/jena/sparql/engine/http/QueryEngineHTTP.html)
is just an implementation of QueryExecution, there's no much difference
for the client users to manipulate the programming API described in the
previous sections, e.g.
@@ -100,7 +100,7 @@ JsonObjectMember | ::= | String ':' ( Var &#x7C; RDFLiteral &#x7C; Nume

## Programming API

ARQ provides 2 additional methods in [QueryExecution](http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/query/QueryExecution.html) for JSON.
ARQ provides 2 additional methods in [QueryExecution](/documentation/javadoc/arq/org/apache/jena/query/QueryExecution.html) for JSON.

Iterator<JsonObject> QueryExecution.execJsonItems()
JsonArray QueryExecution.execJson()
@@ -210,21 +210,21 @@ HTTP traces i.e. allow you to see the exact HTTP requests and responses which ca

ARQ allows the user to configure HTTP behavior to use on a per-`SERVICE` basis, including authentication behavior such as is described above. This works via the ARQ context. See [Basic Federated Query][5] for more information on configuring this functionality.

[1]: http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/atlas/web/auth/HttpAuthenticator.html
[2]: http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/atlas/web/auth/SimpleAuthenticator.html
[3]: http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/atlas/web/auth/ScopedAuthenticator.html
[4]: http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/atlas/web/auth/ServiceAuthenticator.html
[1]: /documentation/javadoc/arq/org/apache/jena/atlas/web/auth/HttpAuthenticator.html
[2]: /documentation/javadoc/arq/org/apache/jena/atlas/web/auth/SimpleAuthenticator.html
[3]: /documentation/javadoc/arq/org/apache/jena/atlas/web/auth/ScopedAuthenticator.html
[4]: /documentation/javadoc/arq/org/apache/jena/atlas/web/auth/ServiceAuthenticator.html
[5]: service.html
[6]: http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/atlas/web/auth/FormsAuthenticator.html
[6]: /documentation/javadoc/arq/org/apache/jena/atlas/web/auth/FormsAuthenticator.html
[7]: https://httpd.apache.org/docs/2.4/mod/mod_auth_form.html
[8]: http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/atlas/web/auth/PreemptiveBasicAuthenticator.html
[9]: http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/sparql/engine/http/QueryEngineHTTP.html
[10]: http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/sparql/modify/UpdateProcessRemoteBase.html
[11]: http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/web/DatasetGraphAccessorHTTP.html
[12]: http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/atlas/web/auth/DelegatingAuthenticator.html
[13]: http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/riot/web/HttpOp.html
[8]: /documentation/javadoc/arq/org/apache/jena/atlas/web/auth/PreemptiveBasicAuthenticator.html
[9]: /documentation/javadoc/arq/org/apache/jena/sparql/engine/http/QueryEngineHTTP.html
[10]: /documentation/javadoc/arq/org/apache/jena/sparql/modify/UpdateProcessRemoteBase.html
[11]: /documentation/javadoc/arq/org/apache/jena/web/DatasetGraphAccessorHTTP.html
[12]: /documentation/javadoc/arq/org/apache/jena/atlas/web/auth/DelegatingAuthenticator.html
[13]: /documentation/javadoc/arq/org/apache/jena/riot/web/HttpOp.html
[14]: http://hc.apache.org
[15]: https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/HttpClient.html
[16]: https://hc.apache.org/httpcomponents-client-ga/examples.html
[17]: https://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/client/protocol/HttpClientContext.html
[18]: https://jena.apache.org/documentation/javadoc/arq/org/apache/jena/query/QueryExecutionFactory.html
[18]: /documentation/javadoc/arq/org/apache/jena/query/QueryExecutionFactory.html
@@ -70,7 +70,7 @@ Note that the state of the instance returned by `toString()` will include any in
does is check that your command is not subject to SPARQL injection attacks so in some cases where a possible
injection is detected an `ARQException` will be thrown.

[1]: http://jena.apache.org/documentation/javadoc/arq/org/apache/jena/query/ParameterizedSparqlString.html
[1]: /documentation/javadoc/arq/org/apache/jena/query/ParameterizedSparqlString.html

### Injecting Values

@@ -160,7 +160,7 @@ See [ESRIs docs on spatial relations](http://edndoc.esri.com/arcsde/9.1/general_

## Spatial Dataset Assembler

The usual way to describe an index is with a [Jena assembler description](http://jena.apache.org/documentation/assembler/index.html). Configurations can also be built with [code](#how-to-use-it-by-code). The assembler describes a "spatial dataset" which has an underlying RDF dataset and a spatial index. The spatial index describes the spatial index technology (Lucene or Solr) and the details needed for each.
The usual way to describe an index is with a [Jena assembler description](/documentation/assembler/index.html). Configurations can also be built with [code](#how-to-use-it-by-code). The assembler describes a "spatial dataset" which has an underlying RDF dataset and a spatial index. The spatial index describes the spatial index technology (Lucene or Solr) and the details needed for each.

A spatial index has an
[EntityDefinition](https://github.com/apache/jena/tree/master/jena-spatial/src/main/java/org/apache/jena/query/spatial/EntityDefinition.java)
@@ -44,7 +44,7 @@ structure of string literals rather than treating such literals as
opaque items. Unlike `FILTER`, an index can set the values of variables.
Assuming appropriate [configuration](#configuration), the
above query can use full text search via the
[ARQ property function extension](https://jena.apache.org/documentation/query/extension.html#property-functions), `text:query`:
[ARQ property function extension](/documentation/query/extension.html#property-functions), `text:query`:

PREFIX ex: <http://www.example.org/resources#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

0 comments on commit 6da9233

Please sign in to comment.