From e99e1bbdf8cad9b6b318093ff601850269ff36e7 Mon Sep 17 00:00:00 2001 From: AnBo Date: Sat, 2 Nov 2019 01:16:56 +0100 Subject: [PATCH] Update README.md Fixed the sections. --- README.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index f019d17a..65c0b64f 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ This is a list of the different kind of queries currently implemented: - FILTER IN / NOT IN operators -##Installation +## Installation The library can be installed using NPM: @@ -128,7 +128,7 @@ The library can also be installed via bower using a global module: $ bower install rdfstore ``` -##Building +## Building Before running the build script, you must install JavaScript dependencies with [npm](https://npmjs.org/doc/install.html) (`npm` is shipped with [node](http://nodejs.org/download/)): @@ -164,7 +164,7 @@ Additionally, there are some smoke tests for both browser versions that can be f This is a small overview of the rdfstore-js API. -###Store creation +### Store creation ```javascript //nodejs only @@ -185,7 +185,7 @@ new rdfstore.Store(function(err, store) { }); ``` -###Query execution +### Query execution ```javascript // simple query execution @@ -211,7 +211,7 @@ store.executeWithEnvironment("SELECT * { ?s ?p ?o }",defaultGraph, }); ``` -###Construct queries RDF Interfaces API +### Construct queries RDF Interfaces API ```javascript var query = "CONSTRUCT { ?p ?o } \ @@ -230,7 +230,7 @@ store.execute(query, function(err, graph){ }); ``` -###Loading remote graphs +### Loading remote graphs rdfstore-js will try to retrieve remote RDF resources across the network when a 'LOAD' SPARQL query is executed. The node.js build of the library will use regular TCP sockets and perform proper content negotiation. It will also follow a limited number of redirections. @@ -250,7 +250,7 @@ store.execute('LOAD