Skip to content

Commit

Permalink
Update RDF*/SPARQL* => RDF-star/SPARQL-star.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Feb 19, 2021
1 parent 959cffa commit 46cdd74
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This is a [Ruby][] implementation of [SPARQL][] for [RDF.rb][].
* Compatible with Ruby >= 2.2.2.
* Compatible with older Ruby versions with the help of the [Backports][] gem.
* Supports Unicode query strings both on all versions of Ruby.
* Provisional support for [SPARQL*][].
* Provisional support for [SPARQL-star][].

## Description

Expand Down Expand Up @@ -96,9 +96,9 @@ Then, use the function in a query:

See {SPARQL::Algebra::Expression.register_extension} for details.

### SPARQLStar (SPARQL*)
### SPARQLStar (SPARQL-star)

The gem supports [SPARQL*][] where patterns may include sub-patterns recursively, for a kind of Reification.
The gem supports [SPARQL-star][] where patterns may include sub-patterns recursively, for a kind of Reification.

For example, the following Turtle* file uses a statement as the subject of another statement:

Expand Down Expand Up @@ -159,7 +159,7 @@ As well as a `CONSTRUCT`:
<<?bob foaf:age ?age>> ?b ?c .
}

Note that results can be serialized only when the format supports [RDF*][].
Note that results can be serialized only when the format supports [RDF-star][].

#### SPARQL results

Expand Down Expand Up @@ -448,8 +448,8 @@ A copy of the [SPARQL 1.0 tests][] and [SPARQL 1.1 tests][] are also included in
[grammar]: https://www.w3.org/TR/sparql11-query/#grammar
[RDF 1.1]: https://www.w3.org/TR/rdf11-concepts
[RDF.rb]: https://rubydoc.info/github/ruby-rdf/rdf
[RDF*]: https://w3c.github.io/rdf-star/rdf-star-cg-spec.html
[SPARQL*]: https://w3c.github.io/rdf-star/rdf-star-cg-spec.html#sparql-query-language
[RDF-star]: https://w3c.github.io/rdf-star/rdf-star-cg-spec.html
[SPARQL-star]: https://w3c.github.io/rdf-star/rdf-star-cg-spec.html#sparql-query-language
[Backports]: https://rubygems.org/gems/backports
[Linked Data]: https://rubygems.org/gems/linkeddata
[SPARQL doc]: https://rubydoc.info/github/ruby-rdf/sparql/frames
Expand Down
2 changes: 1 addition & 1 deletion lib/sparql/algebra/operator/extend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Extend < Operator::Binary
#
# Extend(Ω, var, expr) = { Extend(μ, var, expr) | μ in Ω }
#
# For SPARQL*, expr may be an embedded tiple pattern
# For SPARQL-star, expr may be an embedded tiple pattern
#
# (extend
# ((?t (triple ?bob foaf:age ?age)))
Expand Down
2 changes: 1 addition & 1 deletion spec/rdfstar_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'nokogiri'
require 'equivalent-xml'

describe "SPARQL*" do
describe "SPARQL-star" do
let(:data) do
RDF::Graph.new do |g|
g << RDF::NTriples::Reader.new(%(
Expand Down
2 changes: 1 addition & 1 deletion spec/suite_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
end
end

describe "SPARQL* tests" do
describe "SPARQL-star tests" do
SPARQL::Spec.sparql_star_tests.each do |path|
SPARQL::Spec::Manifest.open(path) do |man|
it_behaves_like "SUITE", man.attributes['id'], man.label, man.comment, man.entries
Expand Down

0 comments on commit 46cdd74

Please sign in to comment.