Skip to content

Commit

Permalink
Earl report (Turtle and formatted HTML).
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed May 12, 2015
1 parent 56909c7 commit 37ca08e
Show file tree
Hide file tree
Showing 16 changed files with 42,173 additions and 1,752 deletions.
2 changes: 2 additions & 0 deletions .yardopts
Expand Up @@ -11,3 +11,5 @@ CREDITS
UNLICENSE
VERSION
etc/sparql11.bnf
etc/sparql11.html
etc/earl.html
10 changes: 4 additions & 6 deletions README.md
Expand Up @@ -9,7 +9,7 @@ This is a [Ruby][] implementation of [SPARQL][] for [RDF.rb][].
## Features

* 100% free and unencumbered [public domain](http://unlicense.org/) software.
* [SPARQL 1.1 Query][] parsing and execution (excluding [Property Paths][])
* Complete [SPARQL 1.1 Query][] parsing and execution
* SPARQL results as [XML][SPARQL XML], [JSON][SPARQL JSON],
[CSV][SPARQL 1.1 Query Results CSV and TSV Formats],
[TSV][SPARQL 1.1 Query Results CSV and TSV Formats]
Expand All @@ -21,6 +21,7 @@ This is a [Ruby][] implementation of [SPARQL][] for [RDF.rb][].
* [Rack][] and [Sinatra][] middleware to perform [HTTP content negotiation][conneg] for result formats
* Compatible with any [Rack][] or [Sinatra][] application and any Rack-based framework.
* Helper method for describing [SPARQL Service Description][SSD]
* Implementation Report: {file:etc/earl.html EARL}
* Compatible with Ruby >= 1.9.3.
* Compatible with older Ruby versions with the help of the [Backports][] gem.
* Supports Unicode query strings both on all versions of Ruby.
Expand All @@ -30,8 +31,6 @@ This is a [Ruby][] implementation of [SPARQL][] for [RDF.rb][].
The {SPARQL} gem implements [SPARQL 1.1 Query][], and [SPARQL 1.1 Update][], and provides [Rack][] and [Sinatra][] middleware to provide results using [HTTP Content Negotiation][conneg].

* {SPARQL::Grammar} implements a [SPARQL 1.1 Query][] and [SPARQL 1.1 Update][] parser generating [SPARQL S-Expressions (SSE)][SSE].
* Support for [Property Paths][] is excluded.
See the section on [SPARQL 1.1 Query][] extensions and limitations for further detail.
* {SPARQL::Algebra} executes SSE against Any `RDF::Graph` or `RDF::Repository`, including compliant [RDF.rb][] repository adaptors such as [RDF::DO][] and [RDF::Mongo][].
* {Rack::SPARQL} and {Sinatra::SPARQL} provide middleware components to format results using an appropriate format based on [HTTP content negotiation][conneg].

Expand All @@ -53,13 +52,13 @@ The SPARQL gem now implements the following [SPARQL 1.1 Query][] operations:
* [Inline Data](http://www.w3.org/TR/2013/REC-sparql11-query-20130321/#inline-data)
* [Exists](http://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-filter-exists)
* [Negation](http://www.w3.org/TR/2013/REC-sparql11-query-20130321/#negation)
* [Property Paths](http://www.w3.org/TR/2013/REC-sparql11-query-20130321/#propertypaths)

The gem also includes the following [SPARQL 1.1 Update][] operations:
* [Graph Update](http://www.w3.org/TR/sparql11-update/#graphUpdate)
* [Graph Management](http://www.w3.org/TR/sparql11-update/#graphManagement)

The only major area of [SPARQL 1.1 Query][] missing is
[Property Paths][], which will be in later release along with:
Not supported:

* [Federated Query][SPARQL 1.1 Federated Query],
* [Entailment Regimes][SPARQL 1.1 Entailment Regimes],
Expand Down Expand Up @@ -337,7 +336,6 @@ A copy of the [SPARQL 1.0 tests][] and [SPARQL 1.1 tests][] are also included in
[SPARQL XML]: http://www.w3.org/TR/rdf-sparql-XMLres/
[SPARQL JSON]: http://www.w3.org/TR/rdf-sparql-json-res/
[SPARQL EBNF]: http://www.w3.org/TR/sparql11-query/#sparqlGrammar
[Property Paths]: http://www.w3.org/TR/2013/REC-sparql11-query-20130321/#propertypaths

[SSD]: http://www.w3.org/TR/sparql11-service-description/
[Rack]: http://rack.rubyforge.org/
Expand Down
66 changes: 66 additions & 0 deletions etc/.earl
@@ -0,0 +1,66 @@
---
:format: :json
:manifest:
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/basic/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/triple-match/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/open-world/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/algebra/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/bnode-coreference/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/optional-filter/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/graph/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/type-promotion/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/cast/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/boolean-effective-value/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/bound/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-builtin/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-ops/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/expr-equals/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/regex/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/i18n/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/construct/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/ask/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/distinct/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/sort/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/solution-seq/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/reduced/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql2/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql3/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql4/manifest.ttl
- http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql5/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/add/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/aggregates/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/basic-update/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/bind/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/bindings/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/clear/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/construct/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/copy/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/csv-tsv-res/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/delete-data/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/delete-insert/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/delete-where/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/delete/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/drop/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/entailment/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/exists/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/functions/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/grouping/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/json-res/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/move/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/negation/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/project-expression/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/property-path/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/service/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/subquery/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/syntax-query/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/syntax-update-1/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/syntax-update-2/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/update-silent/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/syntax-fed/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/service-description/manifest.ttl
- http://www.w3.org/2009/sparql/docs/tests/data-sparql11/protocol/manifest.ttl
:bibRef: ! '[[SPARQL11-QUERY]]'
:name: SPARQL 1.1 Query and Update
1 change: 1 addition & 0 deletions etc/doap.ttl
Expand Up @@ -5,6 +5,7 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix earl: <http://www.w3.org/ns/earl#> .

<> a doap:Project;
doap:name "SPARQL";
Expand Down

0 comments on commit 37ca08e

Please sign in to comment.