Skip to content

Commit 29b5a5a

Browse files
committed
Updates ACL, RDAU, schemaorg, and XHTML vocabularies.
1 parent 1ccb273 commit 29b5a5a

6 files changed

Lines changed: 269 additions & 240 deletions

File tree

lib/rdf/vocab.rb

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,7 @@ module Vocab
99

1010
# @!visibility private
1111
VOCABS = {
12-
acl: {
13-
uri: "http://www.w3.org/ns/auth/acl#",
14-
patch: %{
15-
@prefix acl: <http://www.w3.org/ns/auth/acl#> .
16-
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
17-
DeleteExisting {
18-
acl:Access acl:label "access"@en .
19-
} .
20-
AddNew {
21-
acl:Access rdfs:label "access"@en .
22-
} .
23-
}
24-
},
12+
acl: {uri: "http://www.w3.org/ns/auth/acl#"},
2513
as: {uri: "https://www.w3.org/ns/activitystreams#", source: 'etc/as.ttl'},
2614
bf2: {uri: 'http://id.loc.gov/ontologies/bibframe/'},
2715
bibframe: {
@@ -69,7 +57,10 @@ module Vocab
6957
class_name: "DataCite",
7058
skip: true
7159
},
72-
dbo: {uri: "http://dbpedia.org/ontology/", source: "http://dbpedia.org/data3/.ttl"},
60+
dbo: {
61+
uri: "http://dbpedia.org/ontology/",
62+
skip: true # as of 2023-07-23, not available for download at previous location
63+
},
7364
dc: {uri: "http://purl.org/dc/terms/"},
7465
dc11: {uri: "http://purl.org/dc/elements/1.1/"},
7566
dcat: {

lib/rdf/vocab/acl.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module RDF::Vocab
1010
# Ontology definition
1111
ontology :"http://www.w3.org/ns/auth/acl#",
1212
comment: "Defines the class Authorization and its essential properties,\n and also some classes of access such as read and write. ",
13-
"http://purl.org/dc/elements/1.1/title": "Basic Access Control ontology"
13+
"http://purl.org/dc/terms/title": "Basic Access Control ontology"
1414

1515
# Class definitions
1616
term :Access,
@@ -53,8 +53,9 @@ module RDF::Vocab
5353

5454
# Property definitions
5555
property :accessControl,
56-
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.",
56+
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.",
5757
domain: "http://www.w3.org/2006/gen/ont#InformationResource",
58+
"http://www.w3.org/2000/01/rdf-schema#seeAlso": "https://solidproject.org/TR/wac#acl-link-relation",
5859
label: "access control",
5960
range: "http://www.w3.org/2006/gen/ont#InformationResource",
6061
subPropertyOf: "http://www.w3.org/2000/01/rdf-schema#seeAlso",
@@ -90,7 +91,7 @@ module RDF::Vocab
9091
range: "http://www.w3.org/2006/vcard/ns#Group",
9192
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
9293
property :default,
93-
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",
94+
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",
9495
domain: "http://www.w3.org/ns/auth/acl#Authorization",
9596
label: "default access for things in this",
9697
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
@@ -118,7 +119,7 @@ module RDF::Vocab
118119
range: "http://www.w3.org/ns/auth/acl#Origin",
119120
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
120121
property :owner,
121-
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.",
122+
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.",
122123
label: {en: "owner"},
123124
range: "http://xmlns.com/foaf/0.1/Agent",
124125
type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"

0 commit comments

Comments
 (0)