From b7041819a63f0cdac74eb601b6754d18908475cd Mon Sep 17 00:00:00 2001 From: Tpt Date: Sat, 15 Aug 2020 23:10:26 +0200 Subject: [PATCH] Improves documentation by stating that SPARQL Update is currently supported --- CHANGELOG.md | 8 ++++++++ README.md | 5 ++--- js/README.md | 3 ++- lib/src/lib.rs | 2 +- python/README.md | 2 +- python/docs/index.rst | 2 +- 6 files changed, 15 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e18ef5db..715f9f9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## Master + +### Added +- [SPARQL 1.1 Update](https://www.w3.org/TR/sparql11-update/) support for Rust, Python and JavaScript. + + ## [0.1.1] - 2020-08-14 ### Added @@ -10,6 +16,7 @@ - `pyoxigraph` `query` methods now takes two new parameters, `default_graph` and `named_graphs`. `default_graph_uris` and `named_graph_uris` parameters are deprecated. - Fixes a bug in `xsd:gYear` parsing. + ## [0.1.0] - 2020-08-09 ### Added @@ -18,6 +25,7 @@ - "default graph as union option" now works with FROM NAMED. - `pyoxigraph` now exposes and documents `Variable`, `QuerySolution`, `QuerySolutions` and `QueryTriples` + ## [0.1.0-rc.1] - 2020-08-08 ### Added diff --git a/README.md b/README.md index 4c0a8416..a56e4f28 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,8 @@ It is split into multiple parts: [![Docker Image Version (latest semver)](https://img.shields.io/docker/v/oxigraph/oxigraph-wikibase?sort=semver)](https://hub.docker.com/repository/docker/oxigraph/oxigraph-wikibase) Oxigraph implements the following specifications: -* [SPARQL 1.1 Query](https://www.w3.org/TR/sparql11-query/). -* [SPARQL 1.1 Federated Query](https://www.w3.org/TR/sparql11-federated-query/). -* [Turtle](https://www.w3.org/TR/turtle/), [TriG](https://www.w3.org/TR/trig/), [N-Triples](https://www.w3.org/TR/n-triples/), [N-Quads](https://www.w3.org/TR/n-quads/) and [RDF XML](https://www.w3.org/TR/rdf-syntax-grammar/) RDF serialization formats for both data ingestion and retrieval using the [Rio library](https://github.com/oxigraph/rio). +* [SPARQL 1.1 Query](https://www.w3.org/TR/sparql11-query/), [SPARQL 1.1 Update](https://www.w3.org/TR/sparql11-update/), and [SPARQL 1.1 Federated Query](https://www.w3.org/TR/sparql11-federated-query/). +* [Turtle](https://www.w3.org/TR/turtle/), [TriG](https://www.w3.org/TR/trig/), [N-Triples](https://www.w3.org/TR/n-triples/), [N-Quads](https://www.w3.org/TR/n-quads/), and [RDF XML](https://www.w3.org/TR/rdf-syntax-grammar/) RDF serialization formats for both data ingestion and retrieval using the [Rio library](https://github.com/oxigraph/rio). * [SPARQL Query Results XML Format](http://www.w3.org/TR/rdf-sparql-XMLres/) and [SPARQL Query Results JSON Format](https://www.w3.org/TR/sparql11-results-json/). A preliminary benchmark [is provided](bench/README.md). diff --git a/js/README.md b/js/README.md index 641982a2..62a8ee7e 100644 --- a/js/README.md +++ b/js/README.md @@ -9,7 +9,7 @@ This package provides a JavaScript API on top of Oxigraph compiled with WebAssem Oxigraph is a graph database written in Rust implementing the [SPARQL](https://www.w3.org/TR/sparql11-overview/) standard. -Oxigraph for JavaScript is a work in progress and currently offers a simple in-memory store with [SPARQL 1.1 Query](https://www.w3.org/TR/sparql11-query/) capabilities. +Oxigraph for JavaScript is a work in progress and currently offers a simple in-memory store with [SPARQL 1.1 Query](https://www.w3.org/TR/sparql11-query/) and [SPARQL 1.1 Update](https://www.w3.org/TR/sparql11-update/) capabilities. The store is also able to load RDF serialized in [Turtle](https://www.w3.org/TR/turtle/), [TriG](https://www.w3.org/TR/trig/), [N-Triples](https://www.w3.org/TR/n-triples/), [N-Quads](https://www.w3.org/TR/n-quads/) and [RDF/XML](https://www.w3.org/TR/rdf-syntax-grammar/). @@ -137,6 +137,7 @@ if (store.query("ASK { ?s ?s ?s }")) { #### `MemoryStore.prototype.update(String query)` Executes a [SPARQL 1.1 Update](https://www.w3.org/TR/sparql11-update/). +The [`LOAD` operation](https://www.w3.org/TR/sparql11-update/#load) is not supported yet. Example of update: ```js diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 82ab424f..52c73c01 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -2,7 +2,7 @@ //! //! Its goal is to provide a compliant, safe and fast graph database. //! -//! It currently provides three store implementations providing [SPARQL 1.1 query](https://www.w3.org/TR/sparql11-query/) capability: +//! It currently provides three store implementations providing [SPARQL](https://www.w3.org/TR/sparql11-overview/) capability: //! * [`MemoryStore`](store/memory/struct.MemoryStore.html): a simple in memory implementation. //! * [`RocksDbStore`](store/rocksdb/struct.RocksDbStore.html): a file system implementation based on the [RocksDB](https://rocksdb.org/) key-value store. //! It requires the `"rocksdb"` feature to be activated. diff --git a/python/README.md b/python/README.md index 61249c7c..005f264e 100644 --- a/python/README.md +++ b/python/README.md @@ -10,7 +10,7 @@ Pyoxigraph (Oxigraph for Python) Pyoxigraph is a graph database library implementing the [SPARQL](https://www.w3.org/TR/sparql11-overview/) standard. It is a Python library written on top of [Oxigraph](https://github.com/oxigraph/oxigraph). -Pyoxigraph offers two stores with [SPARQL 1.1 Query](https://www.w3.org/TR/sparql11-query/) capabilities. +Pyoxigraph offers two stores with [SPARQL 1.1](https://www.w3.org/TR/sparql11-overview/) capabilities. One of the store is in-memory, and the other one is disk based. It also provides a set of utility functions for reading, writing and processing RDF files in diff --git a/python/docs/index.rst b/python/docs/index.rst index d7484145..2ab66625 100644 --- a/python/docs/index.rst +++ b/python/docs/index.rst @@ -16,7 +16,7 @@ Pyoxigraph is a Python graph database library implementing the `SPARQL `_ using `PyO3 `_. -It offers two stores with `SPARQL 1.1 Query `_ capabilities. +It offers two stores with `SPARQL 1.1 `_ capabilities. One of the store is in-memory, and the other one is disk based. It also provides a set of utility functions for reading, writing and processing RDF files in