Skip to content

Commit de902b1

Browse files
committed
Update IRI for ShEx spec.
1 parent 8e1f387 commit de902b1

File tree

12 files changed

+16
-16
lines changed

12 files changed

+16
-16
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The ShEx gem implements a [ShEx][ShExSpec] Shape Expression engine.
3838
(doap:name;doap:description|dc:title;dc:description)+;
3939
doap:category*;
4040
doap:developer IRI;
41-
doap:implements [<https://shexspec.github.io/spec/>]
41+
doap:implements [<http://shex.io/shex-semantics/>]
4242
}
4343
)
4444
graph = RDF::Graph.load("etc/doap.ttl")
@@ -128,7 +128,7 @@ The ShEx gem implements a [ShEx][ShExSpec] Shape Expression engine.
128128
"predicate": "http://usefulinc.com/ns/doap#implements",
129129
"valueExpr": {
130130
"type": "NodeConstraint",
131-
"values": ["https://shexspec.github.io/spec/"]
131+
"values": ["http://shex.io/shex-semantics/"]
132132
}
133133
}
134134
]
@@ -143,7 +143,7 @@ The ShEx gem implements a [ShEx][ShExSpec] Shape Expression engine.
143143
# => true
144144

145145
## Extensions
146-
ShEx has an extension mechanism using [Semantic Actions](https://shexspec.github.io/spec/#semantic-actions). Extensions may be implemented in Ruby ShEx by sub-classing {ShEx::Extension} and implementing {ShEx::Extension#visit} and possibly {ShEx::Extension#initialize}, {ShEx::Extension#enter}, {ShEx::Extension#exit}, and {ShEx::Extension#close}. The `#visit` method will be called as part of the `#satisfies?` operation.
146+
ShEx has an extension mechanism using [Semantic Actions](http://shex.io/shex-semantics/#semantic-actions). Extensions may be implemented in Ruby ShEx by sub-classing {ShEx::Extension} and implementing {ShEx::Extension#visit} and possibly {ShEx::Extension#initialize}, {ShEx::Extension#enter}, {ShEx::Extension#exit}, and {ShEx::Extension#close}. The `#visit` method will be called as part of the `#satisfies?` operation.
147147

148148
require 'shex'
149149
class ShEx::Test < ShEx::Extension("http://shex.io/extensions/Test/")
@@ -237,7 +237,7 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
237237
This is free and unencumbered public domain software. For more information,
238238
see <http://unlicense.org/> or the accompanying {file:LICENSE} file.
239239

240-
[ShExSpec]: https://shexspec.github.io/spec/
240+
[ShExSpec]: http://shex.io/shex-semantics/
241241
[RDF]: http://www.w3.org/RDF/
242242
[RDF.rb]: http://rubydoc.info/github/ruby-rdf/rdf
243243
[EBNF]: http://rubygems.org/gems/ebnf

etc/doap.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"type": "NodeConstraint",
100100
"values": [
101101
{
102-
"uri": "https://shexspec.github.io/spec/"
102+
"uri": "http://shex.io/shex-semantics/"
103103
}
104104
]
105105
}

etc/doap.shex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ PREFIX dc: <http://purl.org/dc/terms/>
1616
doap:developer IRI+;
1717

1818
# For our purposes, it MUST implement the ShEx specification.
19-
doap:implements [<https://shexspec.github.io/spec/>]
19+
doap:implements [<http://shex.io/shex-semantics/>]
2020
}

etc/doap.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
doap:description "ShEx is an Shape Expression engine for the RDF.rb library suite."@en ;
1616
doap:created "2016-12-09"^^xsd:date ;
1717
doap:programming-language "Ruby" ;
18-
doap:implements <https://shexspec.github.io/spec/> ;
18+
doap:implements <http://shex.io/shex-semantics/> ;
1919
doap:category <http://dbpedia.org/resource/Resource_Description_Framework>,
2020
<http://dbpedia.org/resource/Ruby_(programming_language)> ;
2121
doap:download-page <http://rubygems.org/gems/shex> ;

etc/earl.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h2>
6565
</h2>
6666
<p>
6767
This document reports conformance for for
68-
<a href='https://shexspec.github.io/spec/' property='doap:name'>Shape Expressions Language</a>
68+
<a href='http://shex.io/shex-semantics/' property='doap:name'>Shape Expressions Language</a>
6969
</p>
7070
<dl>
7171
<dt id='subj_0'>

etc/earl.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
doap:description "ShEx is an Shape Expression engine for the RDF.rb library suite."@en ;
1616
doap:created "2016-12-09"^^xsd:date ;
1717
doap:programming-language "Ruby" ;
18-
doap:implements <https://shexspec.github.io/spec/> ;
18+
doap:implements <http://shex.io/shex-semantics/> ;
1919
doap:category <http://dbpedia.org/resource/Resource_Description_Framework>,
2020
<http://dbpedia.org/resource/Ruby_(programming_language)> ;
2121
doap:download-page <http://rubygems.org/gems/shex> ;

etc/template.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
Ruby ShEx gem test results
6868
%p
6969
This document reports conformance for for
70-
%a{property: "doap:name", href: "https://shexspec.github.io/spec/"}="Shape Expressions Language"
70+
%a{property: "doap:name", href: "http://shex.io/shex-semantics/"}="Shape Expressions Language"
7171
%dl
7272
- subjects.each_with_index do |subject, index|
7373
- subject_refs[subject['@id']] = "subj_#{index}"

lib/shex.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##
22
# A ShEx runtime for RDF.rb.
33
#
4-
# @see https://shexspec.github.io/spec/#shexc
4+
# @see http://shex.io/shex-semantics/#shexc
55
module ShEx
66
autoload :Algebra, 'shex/algebra'
77
autoload :Meta, 'shex/meta'

lib/shex/algebra/not.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def self.from_shexj(operator, options = {})
1919
# @param (see ShapeExpression#satisfies?)
2020
# @return (see ShapeExpression#satisfies?)
2121
# @raise (see ShapeExpression#satisfies?)
22-
# @see [https://shexspec.github.io/spec/#shape-expression-semantics]
22+
# @see [http://shex.io/shex-semantics/#shape-expression-semantics]
2323
def satisfies?(focus, depth: 0)
2424
status ""
2525
op = expressions.last

lib/shex/algebra/shape_expression.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module ShapeExpression
1111
# Other, operand-specific options
1212
# @return [ShapeExpression] with `matched` and `satisfied` accessors for matched triples and sub-expressions
1313
# @raise [ShEx::NotMatched] with `expression` accessor to access `matched` and `unmatched` statements along with `satisfied` and `unsatisfied` operations.
14-
# @see [https://shexspec.github.io/spec/#shape-expression-semantics]
14+
# @see [http://shex.io/shex-semantics/#shape-expression-semantics]
1515
def satisfies?(focus, depth: 0, **options)
1616
raise NotImplementedError, "#satisfies? Not implemented in #{self.class}"
1717
end

0 commit comments

Comments
 (0)