Skip to content

Commit

Permalink
Finish 3.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Jul 23, 2023
2 parents 301da71 + 0f3c2d6 commit ebaae8b
Show file tree
Hide file tree
Showing 8 changed files with 271 additions and 242 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ group :development, :test do
gem 'sxp', git: 'https://github.com/dryruby/sxp.rb.git', branch: 'develop'
#gem 'linkeddata', git: 'https://github.com/ruby-rdf/linkeddata.git', branch: 'develop'

gem 'simplecov', '~> 0.21', platforms: :mri
gem 'simplecov', '~> 0.22', platforms: :mri
gem 'simplecov-lcov', '~> 0.8', platforms: :mri
end

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.6
3.2.7
19 changes: 5 additions & 14 deletions lib/rdf/vocab.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,7 @@ module Vocab

# @!visibility private
VOCABS = {
acl: {
uri: "http://www.w3.org/ns/auth/acl#",
patch: %{
@prefix acl: <http://www.w3.org/ns/auth/acl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
DeleteExisting {
acl:Access acl:label "access"@en .
} .
AddNew {
acl:Access rdfs:label "access"@en .
} .
}
},
acl: {uri: "http://www.w3.org/ns/auth/acl#"},
as: {uri: "https://www.w3.org/ns/activitystreams#", source: 'etc/as.ttl'},
bf2: {uri: 'http://id.loc.gov/ontologies/bibframe/'},
bibframe: {
Expand Down Expand Up @@ -69,7 +57,10 @@ module Vocab
class_name: "DataCite",
skip: true
},
dbo: {uri: "http://dbpedia.org/ontology/", source: "http://dbpedia.org/data3/.ttl"},
dbo: {
uri: "http://dbpedia.org/ontology/",
skip: true # as of 2023-07-23, not available for download at previous location
},
dc: {uri: "http://purl.org/dc/terms/"},
dc11: {uri: "http://purl.org/dc/elements/1.1/"},
dcat: {
Expand Down
9 changes: 5 additions & 4 deletions lib/rdf/vocab/acl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module RDF::Vocab
# Ontology definition
ontology :"http://www.w3.org/ns/auth/acl#",
comment: "Defines the class Authorization and its essential properties,\n and also some classes of access such as read and write. ",
"http://purl.org/dc/elements/1.1/title": "Basic Access Control ontology"
"http://purl.org/dc/terms/title": "Basic Access Control ontology"

# Class definitions
term :Access,
Expand Down Expand Up @@ -53,8 +53,9 @@ module RDF::Vocab

# Property definitions
property :accessControl,
comment: "The Access Control file for this information resource.\n This may of course be a virtual resource implemented by the access control system.\n Note also HTTP's header Link: foo.meta ;rel=meta can be used for this.",
comment: "The Access Control file for this information resource.\n This may of course be a virtual resource implemented by the access control system.\n Note that HTTP header `Link: <foo.acl>; rel=\"acl\"` can also be used for this.",
domain: "http://www.w3.org/2006/gen/ont#InformationResource",
"http://www.w3.org/2000/01/rdf-schema#seeAlso": "https://solidproject.org/TR/wac#acl-link-relation",
label: "access control",
range: "http://www.w3.org/2006/gen/ont#InformationResource",
subPropertyOf: "http://www.w3.org/2000/01/rdf-schema#seeAlso",
Expand Down Expand Up @@ -90,7 +91,7 @@ module RDF::Vocab
range: "http://www.w3.org/2006/vcard/ns#Group",
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
property :default,
comment: "If a resource has no ACL file (it is 404),\n then access to the resource if given by the ACL of the immediately\n containing directory, or failing that (404) the ACL of the recursively next\n containing directory which has an ACL file.\n Within that ACL file,\n any Authentication which has that directory as its acl:default applies to the\n resource. (The highest directory must have an ACL file.)\n",
comment: "If a resource has no ACL file (it is 404),\n then access to the resource is given by the ACL of the immediately\n containing directory, or failing that (404) the ACL of the recursively next\n containing directory which has an ACL file.\n Within that ACL file,\n any Authorization which has that directory as its acl:default applies to the\n resource. (The highest directory must have an ACL file.)\n",
domain: "http://www.w3.org/ns/auth/acl#Authorization",
label: "default access for things in this",
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
Expand Down Expand Up @@ -118,7 +119,7 @@ module RDF::Vocab
range: "http://www.w3.org/ns/auth/acl#Origin",
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
property :owner,
comment: "The person or other agent which owns this.\n For example, the owner of a file in a filesystem.\n There is a sense of right to control. Typically defaults to the agent who craeted\n something but can be changed.",
comment: "The person or other agent which owns this.\n For example, the owner of a file in a filesystem.\n There is a sense of \"right to control\". Typically defaults to the agent who created\n something, but can be changed.",
label: {en: "owner"},
range: "http://xmlns.com/foaf/0.1/Agent",
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
Expand Down
Loading

0 comments on commit ebaae8b

Please sign in to comment.