Skip to content

Commit 17d0d07

Browse files
authored
Update index.md
1 parent b99a89e commit 17d0d07

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

docs/integrate/index.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,16 @@ This command starts a SPARQL server, by default on `port 8642`. Use e.g. `--port
4444
* Snorql frontend: http://localhost:8642/snorql
4545
* Resource Viewer: <a href="http://localhost:8642/view/?*?http://www.wikidata.org/entity/Q1000094">http://localhost:8642/view/?*?http://www.wikidata.org/entity/Q1000094</a>
4646

47+
### Example 3: Loading Triples into Named Graphs
4748

49+
The option `graph=` (no whitespace before the `=`) sets the graph for all subsequent files. To use the default graph again, use `graph=` followed by a whitespace or simply `graph`.
4850

49-
### Example 3: Using a different RDF Database Engine
51+
```bash
52+
rpt integrate graph=urn:foo file1.nt file2.ttl 'graph=http://www.example.org/' file3.nt.bz2 graph file4.ttl.gz
53+
```
54+
55+
56+
### Example 4: Using a different RDF Database Engine
5057

5158
RPT can run the RDF loading and SPARQL query execution on different (embedded) engines.
5259

@@ -58,7 +65,7 @@ By default, `rpt integrate` uses the in-memory engine. The `--engine` (short `-e
5865

5966

6067

61-
### Example 4: SPARQL Proxy
68+
### Example 5: SPARQL Proxy
6269

6370
You can quickly launch a SPARQL proxy with the combination of `-e` and `--server`:
6471

@@ -73,7 +80,7 @@ Endpoints protected by basic authentication can be proxied by supplying the cred
7380
Note, that this is **unsafe** and should be avoided in production, but it can be useful during development.
7481

7582

76-
### Example 5: Indexing Spatial Data
83+
### Example 6: Indexing Spatial Data
7784

7885
Data that follows the GeoSPARQL standard can be indexed by providing the `--geoindex` option. The index will be automatically updated on the first query or update request that needs to access the data after any data modification.
7986
Statements that intrinsically do not rely on the spatial index, namely `LOAD`, `INSERT DATA` and `DELETE DATA` mark the spatial index as potentially dirty but do not trigger immediate index recreation.

0 commit comments

Comments
 (0)