Skip to content
This repository was archived by the owner on Feb 5, 2020. It is now read-only.

Commit 1eafe48

Browse files
committed
Use latest DBpedia version.
1 parent f7a6757 commit 1eafe48

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Each Triple Pattern Fragment offers:
2626

2727
You can execute SPARQL queries against Triple Pattern Fragments like this:
2828
```bash
29-
$ ldf-client http://fragments.dbpedia.org/2014/en query.sparql
29+
$ ldf-client http://fragments.dbpedia.org/2015/en query.sparql
3030
```
3131
The arguments to the `ldf-client` command are:
3232

@@ -43,7 +43,7 @@ Then create a `SparqlIterator` to evaluate SPARQL queries on that dataset.
4343

4444
```JavaScript
4545
var ldf = require('ldf-client');
46-
var fragmentsClient = new ldf.FragmentsClient('http://fragments.dbpedia.org/2014/en');
46+
var fragmentsClient = new ldf.FragmentsClient('http://fragments.dbpedia.org/2015/en');
4747

4848
var query = 'SELECT * { ?s ?p <http://dbpedia.org/resource/Belgium>. ?s ?p ?o } LIMIT 100',
4949
results = new ldf.SparqlIterator(query, { fragmentsClient: fragmentsClient });
@@ -85,7 +85,7 @@ $ npm install .
8585

8686
Then run the application with:
8787
```bash
88-
$ ./bin/ldf-client http://fragments.dbpedia.org/2014/en queries/artists-york.sparql
88+
$ bin/ldf-client http://fragments.dbpedia.org/2015/en queries/artists-york.sparql
8989
```
9090
The `queries` folder contains several example queries for DBpedia.
9191

@@ -99,11 +99,11 @@ $ docker build -t ldf-client .
9999
```
100100
After that, you can run your newly created container:
101101
```bash
102-
$ docker run -it --rm ldf-client http://fragments.dbpedia.org/2014/en 'SELECT * WHERE { ?s ?p ?o } LIMIT 100'
102+
$ docker run -it --rm ldf-client http://fragments.dbpedia.org/2015/en 'SELECT * WHERE { ?s ?p ?o } LIMIT 100'
103103
```
104104
Mounting custom config and query files can be done like this:
105105
```bash
106-
$ docker run -it --rm $(pwd)/config.json:/tmp/config.json $(pwd)/query.sparql:/tmp/query.sparql ldf-client http://fragments.dbpedia.org/2014/en -f /tmp/query.sparql -c /tmp/config.json
106+
$ docker run -it --rm $(pwd)/config.json:/tmp/config.json $(pwd)/query.sparql:/tmp/query.sparql ldf-client http://fragments.dbpedia.org/2015/en -f /tmp/query.sparql -c /tmp/config.json
107107
```
108108

109109
## License

0 commit comments

Comments
 (0)