diff --git a/README.md b/README.md index f019d17a..cd7d6e76 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -#rdfstore-js [![Build Status](https://travis-ci.org/antoniogarrote/rdfstore-js.svg?branch=master)](https://travis-ci.org/antoniogarrote/rdfstore-js) [![Join the chat at https://gitter.im/antoniogarrote/rdfstore-js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/antoniogarrote/rdfstore-js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +# rdfstore-js [![Build Status](https://travis-ci.org/antoniogarrote/rdfstore-js.svg?branch=master)](https://travis-ci.org/antoniogarrote/rdfstore-js) [![Join the chat at https://gitter.im/antoniogarrote/rdfstore-js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/antoniogarrote/rdfstore-js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) ## Important Note @@ -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,8 @@ 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 +231,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 +251,7 @@ store.execute('LOAD