rdf 1.1.4 → 1.1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/cli/vocab-loader.rb +1 -1
- data/lib/rdf/query/solution.rb +1 -1
- data/lib/rdf/reader.rb +1 -0
- data/lib/rdf/util/cache.rb +21 -0
- data/lib/rdf/util/file.rb +3 -2
- data/lib/rdf/vocab.rb +73 -34
- data/lib/rdf/vocab/cert.rb +6 -6
- data/lib/rdf/vocab/dc.rb +39 -34
- data/lib/rdf/vocab/dc11.rb +7 -0
- data/lib/rdf/vocab/doap.rb +12 -12
- data/lib/rdf/vocab/exif.rb +35 -35
- data/lib/rdf/vocab/foaf.rb +83 -82
- data/lib/rdf/vocab/geo.rb +9 -2
- data/lib/rdf/vocab/gr.rb +38 -99
- data/lib/rdf/vocab/ht.rb +29 -28
- data/lib/rdf/vocab/ical.rb +96 -88
- data/lib/rdf/vocab/ma.rb +5 -7
- data/lib/rdf/vocab/mo.rb +729 -753
- data/lib/rdf/vocab/og.rb +1 -1
- data/lib/rdf/vocab/owl.rb +3 -3
- data/lib/rdf/vocab/prov.rb +77 -95
- data/lib/rdf/vocab/rdfs.rb +1 -0
- data/lib/rdf/vocab/rsa.rb +2 -2
- data/lib/rdf/vocab/schema.rb +461 -335
- data/lib/rdf/vocab/sioc.rb +23 -22
- data/lib/rdf/vocab/skos.rb +36 -36
- data/lib/rdf/vocab/skosxl.rb +7 -8
- data/lib/rdf/vocab/v.rb +382 -0
- data/lib/rdf/vocab/vcard.rb +173 -36
- data/lib/rdf/vocab/vmd.rb +382 -0
- data/lib/rdf/vocab/void.rb +16 -16
- data/lib/rdf/vocab/vs.rb +9 -9
- data/lib/rdf/vocab/wdrs.rb +11 -11
- data/lib/rdf/vocab/wot.rb +13 -12
- data/lib/rdf/vocab/xhv.rb +9 -9
- metadata +20 -4
data/lib/rdf/vocab/sioc.rb
CHANGED
@@ -8,13 +8,13 @@ module RDF
|
|
8
8
|
term :Community,
|
9
9
|
comment: %(Community is a high-level concept that defines an online community and what it consists of.).freeze,
|
10
10
|
label: "Community".freeze,
|
11
|
-
"owl:disjointWith" => %(sioc:Item).freeze,
|
11
|
+
"owl:disjointWith" => [%(sioc:Item).freeze, %(sioc:Role).freeze, %(sioc:UserAccount).freeze],
|
12
12
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
13
13
|
type: "owl:Class".freeze
|
14
14
|
term :Container,
|
15
15
|
comment: %(An area in which content Items are contained.).freeze,
|
16
16
|
label: "Container".freeze,
|
17
|
-
"owl:disjointWith" => %(sioc:Item).freeze,
|
17
|
+
"owl:disjointWith" => [%(sioc:Item).freeze, %(sioc:Role).freeze, %(sioc:UserAccount).freeze, %(sioc:Usergroup).freeze],
|
18
18
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
19
19
|
type: "owl:Class".freeze
|
20
20
|
term :Forum,
|
@@ -26,19 +26,19 @@ module RDF
|
|
26
26
|
term :Item,
|
27
27
|
comment: %(An Item is something which can be in a Container.).freeze,
|
28
28
|
label: "Item".freeze,
|
29
|
-
"owl:disjointWith" => %(sioc:Container).freeze,
|
29
|
+
"owl:disjointWith" => [%(sioc:Container).freeze, %(sioc:Role).freeze, %(sioc:Space).freeze, %(sioc:UserAccount).freeze, %(sioc:Usergroup).freeze],
|
30
30
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
31
31
|
type: "owl:Class".freeze
|
32
32
|
term :Post,
|
33
33
|
comment: %(An article or message that can be posted to a Forum.).freeze,
|
34
34
|
label: "Post".freeze,
|
35
35
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
36
|
-
subClassOf: "sioc:Item".freeze,
|
36
|
+
subClassOf: ["sioc:Item".freeze, "foaf:Document".freeze],
|
37
37
|
type: "owl:Class".freeze
|
38
38
|
term :Role,
|
39
39
|
comment: %(A Role is a function of a UserAccount within a scope of a particular Forum, Site, etc.).freeze,
|
40
40
|
label: "Role".freeze,
|
41
|
-
"owl:disjointWith" => %(sioc:Container).freeze,
|
41
|
+
"owl:disjointWith" => [%(sioc:Container).freeze, %(sioc:Item).freeze, %(sioc:Space).freeze, %(sioc:UserAccount).freeze, %(sioc:Usergroup).freeze],
|
42
42
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
43
43
|
type: "owl:Class".freeze
|
44
44
|
term :Site,
|
@@ -50,7 +50,7 @@ module RDF
|
|
50
50
|
term :Space,
|
51
51
|
comment: %(A Space is a place where data resides, e.g. on a website, desktop, fileshare, etc.).freeze,
|
52
52
|
label: "Space".freeze,
|
53
|
-
"owl:disjointWith" => %(sioc:Item).freeze,
|
53
|
+
"owl:disjointWith" => [%(sioc:Item).freeze, %(sioc:Role).freeze, %(sioc:UserAccount).freeze, %(sioc:Usergroup).freeze],
|
54
54
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
55
55
|
type: "owl:Class".freeze
|
56
56
|
term :Thread,
|
@@ -62,7 +62,7 @@ module RDF
|
|
62
62
|
term :User,
|
63
63
|
comment: %(UserAccount is now preferred. This is a deprecated class for a User in an online community site.).freeze,
|
64
64
|
label: "User".freeze,
|
65
|
-
"owl:disjointWith" => %(sioc:Container).freeze,
|
65
|
+
"owl:disjointWith" => [%(sioc:Container).freeze, %(sioc:Item).freeze, %(sioc:Role).freeze, %(sioc:Space).freeze, %(sioc:Usergroup).freeze],
|
66
66
|
"owl:equivalentClass" => %(sioc:UserAccount).freeze,
|
67
67
|
"owl:versionInfo" => %(This class is deprecated. Use sioc:UserAccount from the SIOC ontology instead.).freeze,
|
68
68
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
@@ -71,14 +71,14 @@ module RDF
|
|
71
71
|
term :UserAccount,
|
72
72
|
comment: %(A user account in an online community site.).freeze,
|
73
73
|
label: "User Account".freeze,
|
74
|
-
"owl:disjointWith" => %(sioc:Container).freeze,
|
74
|
+
"owl:disjointWith" => [%(sioc:Container).freeze, %(sioc:Item).freeze, %(sioc:Role).freeze, %(sioc:Space).freeze, %(sioc:Usergroup).freeze],
|
75
75
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
76
76
|
subClassOf: "foaf:OnlineAccount".freeze,
|
77
77
|
type: "owl:Class".freeze
|
78
78
|
term :Usergroup,
|
79
79
|
comment: %(A set of UserAccounts whose owners have a common purpose or interest. Can be used for access control purposes.).freeze,
|
80
80
|
label: "Usergroup".freeze,
|
81
|
-
"owl:disjointWith" => %(sioc:Container).freeze,
|
81
|
+
"owl:disjointWith" => [%(sioc:Container).freeze, %(sioc:Item).freeze, %(sioc:Role).freeze, %(sioc:Space).freeze, %(sioc:UserAccount).freeze],
|
82
82
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
83
83
|
type: "owl:Class".freeze
|
84
84
|
|
@@ -146,7 +146,7 @@ module RDF
|
|
146
146
|
"owl:versionInfo" => %(This property is deprecated. Use content:encoded from the RSS 1.0 content module instead.).freeze,
|
147
147
|
range: "rdfs:Literal".freeze,
|
148
148
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
149
|
-
type: "owl:DeprecatedProperty".freeze
|
149
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:DatatypeProperty".freeze]
|
150
150
|
property :created_at,
|
151
151
|
comment: %(When this was created, in ISO 8601 format.).freeze,
|
152
152
|
domain: "sioc:Post".freeze,
|
@@ -154,7 +154,7 @@ module RDF
|
|
154
154
|
"owl:versionInfo" => %(This property is deprecated. Use dcterms:created from the Dublin Core ontology instead.).freeze,
|
155
155
|
range: "rdfs:Literal".freeze,
|
156
156
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
157
|
-
type: "owl:DeprecatedProperty".freeze
|
157
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:DatatypeProperty".freeze]
|
158
158
|
property :creator_of,
|
159
159
|
comment: %(A resource that the UserAccount is a creator of.).freeze,
|
160
160
|
domain: "sioc:UserAccount".freeze,
|
@@ -169,7 +169,7 @@ module RDF
|
|
169
169
|
"owl:versionInfo" => %(This property is deprecated. Use sioc:content or other methods \(AtomOwl, content:encoded from RSS 1.0, etc.\) instead.).freeze,
|
170
170
|
range: "rdfs:Literal".freeze,
|
171
171
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
172
|
-
type: "owl:DeprecatedProperty".freeze
|
172
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:DatatypeProperty".freeze]
|
173
173
|
property :earlier_version,
|
174
174
|
comment: %(Links to a previous \(older\) revision of this Item or Post.).freeze,
|
175
175
|
domain: "sioc:Item".freeze,
|
@@ -210,7 +210,7 @@ module RDF
|
|
210
210
|
"owl:versionInfo" => %(This property is deprecated. Use foaf:name or foaf:firstName from the FOAF vocabulary instead.).freeze,
|
211
211
|
range: "rdfs:Literal".freeze,
|
212
212
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
213
|
-
type: "owl:DeprecatedProperty".freeze
|
213
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:DatatypeProperty".freeze]
|
214
214
|
property :follows,
|
215
215
|
comment: %(Indicates that one UserAccount follows another UserAccount \(e.g. for microblog posts or other content item updates\).).freeze,
|
216
216
|
domain: "sioc:UserAccount".freeze,
|
@@ -229,7 +229,7 @@ module RDF
|
|
229
229
|
label: "group of".freeze,
|
230
230
|
"owl:inverseOf" => %(sioc:has_group).freeze,
|
231
231
|
"owl:versionInfo" => %(This property has been renamed. Use sioc:usergroup_of instead.).freeze,
|
232
|
-
type: "owl:DeprecatedProperty".freeze
|
232
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:ObjectProperty".freeze]
|
233
233
|
property :has_administrator,
|
234
234
|
comment: %(A UserAccount that is an administrator of this Site.).freeze,
|
235
235
|
domain: "sioc:Site".freeze,
|
@@ -270,7 +270,7 @@ module RDF
|
|
270
270
|
label: "has group".freeze,
|
271
271
|
"owl:inverseOf" => %(sioc:group_of).freeze,
|
272
272
|
"owl:versionInfo" => %(This property has been renamed. Use sioc:has_usergroup instead.).freeze,
|
273
|
-
type: "owl:DeprecatedProperty".freeze
|
273
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:ObjectProperty".freeze]
|
274
274
|
property :has_host,
|
275
275
|
comment: %(The Site that hosts this Forum.).freeze,
|
276
276
|
domain: "sioc:Forum".freeze,
|
@@ -323,7 +323,7 @@ module RDF
|
|
323
323
|
"owl:inverseOf" => %(sioc:part_of).freeze,
|
324
324
|
"owl:versionInfo" => %(This property is deprecated. Use dcterms:hasPart from the Dublin Core ontology instead.).freeze,
|
325
325
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
326
|
-
type: "owl:DeprecatedProperty".freeze
|
326
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:ObjectProperty".freeze]
|
327
327
|
property :has_reply,
|
328
328
|
comment: %(Points to an Item or Post that is a reply or response to this Item or Post.).freeze,
|
329
329
|
domain: "sioc:Item".freeze,
|
@@ -407,7 +407,7 @@ module RDF
|
|
407
407
|
"owl:versionInfo" => %(This property is deprecated. Use foaf:name or foaf:surname from the FOAF vocabulary instead.).freeze,
|
408
408
|
range: "rdfs:Literal".freeze,
|
409
409
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
410
|
-
type: "owl:DeprecatedProperty".freeze
|
410
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:DatatypeProperty".freeze]
|
411
411
|
property :last_reply_date,
|
412
412
|
comment: %(The date and time of the last reply Post or Comment, which could be associated with a starter Item or Post or with a Thread, and expressed in ISO 8601 format.).freeze,
|
413
413
|
label: "last reply date".freeze,
|
@@ -464,7 +464,7 @@ module RDF
|
|
464
464
|
"owl:versionInfo" => %(This property is deprecated. Use dcterms:modified from the Dublin Core ontology instead.).freeze,
|
465
465
|
range: "rdfs:Literal".freeze,
|
466
466
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
467
|
-
type: "owl:DeprecatedProperty".freeze
|
467
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:DatatypeProperty".freeze]
|
468
468
|
property :modifier_of,
|
469
469
|
comment: %(An Item that this UserAccount has modified.).freeze,
|
470
470
|
domain: "sioc:UserAccount".freeze,
|
@@ -555,7 +555,7 @@ module RDF
|
|
555
555
|
"owl:inverseOf" => %(sioc:has_part).freeze,
|
556
556
|
"owl:versionInfo" => %(This property is deprecated. Use dcterms:isPartOf from the Dublin Core ontology instead.).freeze,
|
557
557
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
558
|
-
type: "owl:DeprecatedProperty".freeze
|
558
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:ObjectProperty".freeze]
|
559
559
|
property :previous_by_date,
|
560
560
|
comment: %(Previous Item or Post in a given Container sorted by date.).freeze,
|
561
561
|
domain: "sioc:Item".freeze,
|
@@ -579,7 +579,7 @@ module RDF
|
|
579
579
|
label: "reference".freeze,
|
580
580
|
"owl:versionInfo" => %(Renamed to sioc:links_to.).freeze,
|
581
581
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
582
|
-
type: "owl:DeprecatedProperty".freeze
|
582
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:ObjectProperty".freeze]
|
583
583
|
property :related_to,
|
584
584
|
comment: %(Related Posts for this Post, perhaps determined implicitly from topics or references.).freeze,
|
585
585
|
label: "related to".freeze,
|
@@ -622,7 +622,7 @@ module RDF
|
|
622
622
|
"owl:versionInfo" => %(This property is deprecated. Use dcterms:subject from the Dublin Core ontology for text keywords and sioc:topic if the subject can be represented by a URI instead.).freeze,
|
623
623
|
range: "rdfs:Literal".freeze,
|
624
624
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
625
|
-
type: "owl:DeprecatedProperty".freeze
|
625
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:DatatypeProperty".freeze]
|
626
626
|
property :subscriber_of,
|
627
627
|
comment: %(A Container that a UserAccount is subscribed to.).freeze,
|
628
628
|
domain: "sioc:UserAccount".freeze,
|
@@ -639,7 +639,7 @@ module RDF
|
|
639
639
|
"owl:versionInfo" => %(This property is deprecated. Use dcterms:title from the Dublin Core ontology instead.).freeze,
|
640
640
|
range: "rdfs:Literal".freeze,
|
641
641
|
"rdfs:isDefinedBy" => %(sioc:).freeze,
|
642
|
-
type: "owl:DeprecatedProperty".freeze
|
642
|
+
type: ["owl:DeprecatedProperty".freeze, "owl:DatatypeProperty".freeze]
|
643
643
|
property :topic,
|
644
644
|
comment: %(A topic of interest, linking to the appropriate URI, e.g. in the Open Directory Project or of a SKOS category.).freeze,
|
645
645
|
label: "topic".freeze,
|
@@ -660,6 +660,7 @@ module RDF
|
|
660
660
|
"dc:description" => %(SIOC \(Semantically-Interlinked Online Communities\) is an ontology for describing the information in online communities.
|
661
661
|
This information can be used to export information from online communities and to link them together. The scope of the application areas that SIOC can be used for includes \(and is not limited to\) weblogs, message boards, mailing lists and chat channels.).freeze,
|
662
662
|
"dc:title" => %(SIOC Core Ontology Namespace).freeze,
|
663
|
+
label: "".freeze,
|
663
664
|
"owl:versionInfo" => %(Revision: 1.35).freeze,
|
664
665
|
"rdfs:seeAlso" => %(http://rdfs.org/sioc/spec).freeze,
|
665
666
|
type: ["owl:Ontology".freeze, "owl:Thing".freeze]
|
data/lib/rdf/vocab/skos.rb
CHANGED
@@ -7,7 +7,7 @@ module RDF
|
|
7
7
|
# Class definitions
|
8
8
|
term :Collection,
|
9
9
|
label: "Collection".freeze,
|
10
|
-
"owl:disjointWith" => %(skos:Concept).freeze,
|
10
|
+
"owl:disjointWith" => [%(skos:Concept).freeze, %(skos:ConceptScheme).freeze],
|
11
11
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
12
12
|
"skos:definition" => %(A meaningful collection of concepts.).freeze,
|
13
13
|
"skos:scopeNote" => %(Labelled collections can be used where you would like a set of concepts to be displayed under a 'node label' in the hierarchy.).freeze,
|
@@ -35,20 +35,20 @@ module RDF
|
|
35
35
|
|
36
36
|
# Property definitions
|
37
37
|
property :altLabel,
|
38
|
-
comment: %(The range of skos:altLabel is the class of RDF plain literals.).freeze,
|
38
|
+
comment: [%(The range of skos:altLabel is the class of RDF plain literals.).freeze, %(skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.).freeze],
|
39
39
|
label: "alternative label".freeze,
|
40
40
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
41
41
|
"skos:definition" => %(An alternative lexical label for a resource.).freeze,
|
42
42
|
"skos:example" => %(Acronyms, abbreviations, spelling variants, and irregular plural/singular forms may be included among the alternative labels for a concept. Mis-spelled terms are normally included as hidden labels \(see skos:hiddenLabel\).).freeze,
|
43
43
|
subPropertyOf: "rdfs:label".freeze,
|
44
|
-
type: "owl:AnnotationProperty".freeze
|
44
|
+
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
45
45
|
property :broadMatch,
|
46
46
|
label: "has broader match".freeze,
|
47
47
|
"owl:inverseOf" => %(skos:narrowMatch).freeze,
|
48
48
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
49
49
|
"skos:definition" => %(skos:broadMatch is used to state a hierarchical mapping link between two conceptual resources in different concept schemes.).freeze,
|
50
|
-
subPropertyOf: "skos:mappingRelation".freeze,
|
51
|
-
type: "owl:ObjectProperty".freeze
|
50
|
+
subPropertyOf: ["skos:mappingRelation".freeze, "skos:broader".freeze],
|
51
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
52
52
|
property :broader,
|
53
53
|
comment: %(Broader concepts are typically rendered as parents in a concept hierarchy \(tree\).).freeze,
|
54
54
|
label: "has broader".freeze,
|
@@ -57,7 +57,7 @@ module RDF
|
|
57
57
|
"skos:definition" => %(Relates a concept to a concept that is more general in meaning.).freeze,
|
58
58
|
"skos:scopeNote" => %(By convention, skos:broader is only used to assert an immediate \(i.e. direct\) hierarchical link between two conceptual resources.).freeze,
|
59
59
|
subPropertyOf: "skos:broaderTransitive".freeze,
|
60
|
-
type: "owl:ObjectProperty".freeze
|
60
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
61
61
|
property :broaderTransitive,
|
62
62
|
label: "has broader transitive".freeze,
|
63
63
|
"owl:inverseOf" => %(skos:narrowerTransitive).freeze,
|
@@ -65,44 +65,44 @@ module RDF
|
|
65
65
|
"skos:definition" => %(skos:broaderTransitive is a transitive superproperty of skos:broader.).freeze,
|
66
66
|
"skos:scopeNote" => %(By convention, skos:broaderTransitive is not used to make assertions. Rather, the properties can be used to draw inferences about the transitive closure of the hierarchical relation, which is useful e.g. when implementing a simple query expansion algorithm in a search application.).freeze,
|
67
67
|
subPropertyOf: "skos:semanticRelation".freeze,
|
68
|
-
type: "owl:ObjectProperty".freeze
|
68
|
+
type: ["owl:ObjectProperty".freeze, "owl:TransitiveProperty".freeze, "rdf:Property".freeze]
|
69
69
|
property :changeNote,
|
70
70
|
label: "change note".freeze,
|
71
71
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
72
72
|
"skos:definition" => %(A note about a modification to a concept.).freeze,
|
73
73
|
subPropertyOf: "skos:note".freeze,
|
74
|
-
type: "owl:AnnotationProperty".freeze
|
74
|
+
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
75
75
|
property :closeMatch,
|
76
76
|
label: "has close match".freeze,
|
77
77
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
78
78
|
"skos:definition" => %(skos:closeMatch is used to link two concepts that are sufficiently similar that they can be used interchangeably in some information retrieval applications. In order to avoid the possibility of "compound errors" when combining mappings across more than two concept schemes, skos:closeMatch is not declared to be a transitive property.).freeze,
|
79
79
|
subPropertyOf: "skos:mappingRelation".freeze,
|
80
|
-
type: "owl:ObjectProperty".freeze
|
80
|
+
type: ["owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze, "rdf:Property".freeze]
|
81
81
|
property :definition,
|
82
82
|
label: "definition".freeze,
|
83
83
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
84
84
|
"skos:definition" => %(A statement or formal explanation of the meaning of a concept.).freeze,
|
85
85
|
subPropertyOf: "skos:note".freeze,
|
86
|
-
type: "owl:AnnotationProperty".freeze
|
86
|
+
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
87
87
|
property :editorialNote,
|
88
88
|
label: "editorial note".freeze,
|
89
89
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
90
90
|
"skos:definition" => %(A note for an editor, translator or maintainer of the vocabulary.).freeze,
|
91
91
|
subPropertyOf: "skos:note".freeze,
|
92
|
-
type: "owl:AnnotationProperty".freeze
|
92
|
+
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
93
93
|
property :exactMatch,
|
94
94
|
comment: %(skos:exactMatch is disjoint with each of the properties skos:broadMatch and skos:relatedMatch.).freeze,
|
95
95
|
label: "has exact match".freeze,
|
96
96
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
97
97
|
"skos:definition" => %(skos:exactMatch is used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably across a wide range of information retrieval applications. skos:exactMatch is a transitive property, and is a sub-property of skos:closeMatch.).freeze,
|
98
98
|
subPropertyOf: "skos:closeMatch".freeze,
|
99
|
-
type: "owl:ObjectProperty".freeze
|
99
|
+
type: ["owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze, "owl:TransitiveProperty".freeze, "rdf:Property".freeze]
|
100
100
|
property :example,
|
101
101
|
label: "example".freeze,
|
102
102
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
103
103
|
"skos:definition" => %(An example of the use of a concept.).freeze,
|
104
104
|
subPropertyOf: "skos:note".freeze,
|
105
|
-
type: "owl:AnnotationProperty".freeze
|
105
|
+
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
106
106
|
property :hasTopConcept,
|
107
107
|
domain: "skos:ConceptScheme".freeze,
|
108
108
|
label: "has top concept".freeze,
|
@@ -110,41 +110,40 @@ module RDF
|
|
110
110
|
range: "skos:Concept".freeze,
|
111
111
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
112
112
|
"skos:definition" => %(Relates, by convention, a concept scheme to a concept which is topmost in the broader/narrower concept hierarchies for that scheme, providing an entry point to these hierarchies.).freeze,
|
113
|
-
type: "owl:ObjectProperty".freeze
|
113
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
114
114
|
property :hiddenLabel,
|
115
|
-
comment: %(The range of skos:hiddenLabel is the class of RDF plain literals.).freeze,
|
115
|
+
comment: [%(The range of skos:hiddenLabel is the class of RDF plain literals.).freeze, %(skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise disjoint properties.).freeze],
|
116
116
|
label: "hidden label".freeze,
|
117
117
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
118
118
|
"skos:definition" => %(A lexical label for a resource that should be hidden when generating visual displays of the resource, but should still be accessible to free text search operations.).freeze,
|
119
119
|
subPropertyOf: "rdfs:label".freeze,
|
120
|
-
type: "owl:AnnotationProperty".freeze
|
120
|
+
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
121
121
|
property :historyNote,
|
122
122
|
label: "history note".freeze,
|
123
123
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
124
124
|
"skos:definition" => %(A note about the past state/use/meaning of a concept.).freeze,
|
125
125
|
subPropertyOf: "skos:note".freeze,
|
126
|
-
type: "owl:AnnotationProperty".freeze
|
126
|
+
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
127
127
|
property :inScheme,
|
128
128
|
label: "is in scheme".freeze,
|
129
129
|
range: "skos:ConceptScheme".freeze,
|
130
130
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
131
131
|
"skos:definition" => %(Relates a resource \(for example a concept\) to a concept scheme in which it is included.).freeze,
|
132
132
|
"skos:scopeNote" => %(A concept may be a member of more than one concept scheme.).freeze,
|
133
|
-
type: "owl:ObjectProperty".freeze
|
133
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
134
134
|
property :mappingRelation,
|
135
135
|
comment: %(These concept mapping relations mirror semantic relations, and the data model defined below is similar \(with the exception of skos:exactMatch\) to the data model defined for semantic relations. A distinct vocabulary is provided for concept mapping relations, to provide a convenient way to differentiate links within a concept scheme from links between concept schemes. However, this pattern of usage is not a formal requirement of the SKOS data model, and relies on informal definitions of best practice.).freeze,
|
136
136
|
label: "is in mapping relation with".freeze,
|
137
137
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
138
138
|
"skos:definition" => %(Relates two concepts coming, by convention, from different schemes, and that have comparable meanings).freeze,
|
139
139
|
subPropertyOf: "skos:semanticRelation".freeze,
|
140
|
-
type: "owl:ObjectProperty".freeze
|
140
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
141
141
|
property :member,
|
142
142
|
domain: "skos:Collection".freeze,
|
143
143
|
label: "has member".freeze,
|
144
|
-
range: "_:g2188755580".freeze,
|
145
144
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
146
145
|
"skos:definition" => %(Relates a collection to one of its members.).freeze,
|
147
|
-
type: "owl:ObjectProperty".freeze
|
146
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
148
147
|
property :memberList,
|
149
148
|
comment: %(For any resource, every item in the list given as the value of the
|
150
149
|
skos:memberList property is also a value of the skos:member property.).freeze,
|
@@ -153,14 +152,14 @@ module RDF
|
|
153
152
|
range: "rdf:List".freeze,
|
154
153
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
155
154
|
"skos:definition" => %(Relates an ordered collection to the RDF list containing its members.).freeze,
|
156
|
-
type: "owl:ObjectProperty".freeze
|
155
|
+
type: ["owl:ObjectProperty".freeze, "owl:FunctionalProperty".freeze, "rdf:Property".freeze]
|
157
156
|
property :narrowMatch,
|
158
157
|
label: "has narrower match".freeze,
|
159
158
|
"owl:inverseOf" => %(skos:broadMatch).freeze,
|
160
159
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
161
160
|
"skos:definition" => %(skos:narrowMatch is used to state a hierarchical mapping link between two conceptual resources in different concept schemes.).freeze,
|
162
|
-
subPropertyOf: "skos:mappingRelation".freeze,
|
163
|
-
type: "owl:ObjectProperty".freeze
|
161
|
+
subPropertyOf: ["skos:mappingRelation".freeze, "skos:narrower".freeze],
|
162
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
164
163
|
property :narrower,
|
165
164
|
comment: %(Narrower concepts are typically rendered as children in a concept hierarchy \(tree\).).freeze,
|
166
165
|
label: "has narrower".freeze,
|
@@ -169,7 +168,7 @@ module RDF
|
|
169
168
|
"skos:definition" => %(Relates a concept to a concept that is more specific in meaning.).freeze,
|
170
169
|
"skos:scopeNote" => %(By convention, skos:broader is only used to assert an immediate \(i.e. direct\) hierarchical link between two conceptual resources.).freeze,
|
171
170
|
subPropertyOf: "skos:narrowerTransitive".freeze,
|
172
|
-
type: "owl:ObjectProperty".freeze
|
171
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
173
172
|
property :narrowerTransitive,
|
174
173
|
label: "has narrower transitive".freeze,
|
175
174
|
"owl:inverseOf" => %(skos:broaderTransitive).freeze,
|
@@ -177,45 +176,46 @@ module RDF
|
|
177
176
|
"skos:definition" => %(skos:narrowerTransitive is a transitive superproperty of skos:narrower.).freeze,
|
178
177
|
"skos:scopeNote" => %(By convention, skos:narrowerTransitive is not used to make assertions. Rather, the properties can be used to draw inferences about the transitive closure of the hierarchical relation, which is useful e.g. when implementing a simple query expansion algorithm in a search application.).freeze,
|
179
178
|
subPropertyOf: "skos:semanticRelation".freeze,
|
180
|
-
type: "owl:ObjectProperty".freeze
|
179
|
+
type: ["owl:ObjectProperty".freeze, "owl:TransitiveProperty".freeze, "rdf:Property".freeze]
|
181
180
|
property :notation,
|
182
181
|
label: "notation".freeze,
|
183
182
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
184
183
|
"skos:definition" => %(A notation, also known as classification code, is a string of characters such as "T58.5" or "303.4833" used to uniquely identify a concept within the scope of a given concept scheme.).freeze,
|
185
184
|
"skos:scopeNote" => %(By convention, skos:notation is used with a typed literal in the object position of the triple.).freeze,
|
186
|
-
type: "owl:DatatypeProperty".freeze
|
185
|
+
type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
|
187
186
|
property :note,
|
188
187
|
label: "note".freeze,
|
189
188
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
190
189
|
"skos:definition" => %(A general note, for any purpose.).freeze,
|
191
190
|
"skos:scopeNote" => %(This property may be used directly, or as a super-property for more specific note types.).freeze,
|
192
|
-
type: "owl:AnnotationProperty".freeze
|
191
|
+
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
193
192
|
property :prefLabel,
|
194
|
-
comment: %(A resource has no more than one value of skos:prefLabel per language tag, and no more than one value of skos:prefLabel without language tag.).freeze,
|
193
|
+
comment: [%(A resource has no more than one value of skos:prefLabel per language tag, and no more than one value of skos:prefLabel without language tag.).freeze, %(The range of skos:prefLabel is the class of RDF plain literals.).freeze, %(skos:prefLabel, skos:altLabel and skos:hiddenLabel are pairwise
|
194
|
+
disjoint properties.).freeze],
|
195
195
|
label: "preferred label".freeze,
|
196
196
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
197
197
|
"skos:definition" => %(The preferred lexical label for a resource, in a given language.).freeze,
|
198
198
|
subPropertyOf: "rdfs:label".freeze,
|
199
|
-
type: "owl:AnnotationProperty".freeze
|
199
|
+
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
200
200
|
property :related,
|
201
201
|
comment: %(skos:related is disjoint with skos:broaderTransitive).freeze,
|
202
202
|
label: "has related".freeze,
|
203
203
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
204
204
|
"skos:definition" => %(Relates a concept to a concept with which there is an associative semantic relationship.).freeze,
|
205
205
|
subPropertyOf: "skos:semanticRelation".freeze,
|
206
|
-
type: "owl:ObjectProperty".freeze
|
206
|
+
type: ["owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze, "rdf:Property".freeze]
|
207
207
|
property :relatedMatch,
|
208
208
|
label: "has related match".freeze,
|
209
209
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
210
210
|
"skos:definition" => %(skos:relatedMatch is used to state an associative mapping link between two conceptual resources in different concept schemes.).freeze,
|
211
|
-
subPropertyOf: "skos:mappingRelation".freeze,
|
212
|
-
type: "owl:ObjectProperty".freeze
|
211
|
+
subPropertyOf: ["skos:mappingRelation".freeze, "skos:related".freeze],
|
212
|
+
type: ["owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze, "rdf:Property".freeze]
|
213
213
|
property :scopeNote,
|
214
214
|
label: "scope note".freeze,
|
215
215
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
216
216
|
"skos:definition" => %(A note that helps to clarify the meaning and/or the use of a concept.).freeze,
|
217
217
|
subPropertyOf: "skos:note".freeze,
|
218
|
-
type: "owl:AnnotationProperty".freeze
|
218
|
+
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
219
219
|
property :semanticRelation,
|
220
220
|
domain: "skos:Concept".freeze,
|
221
221
|
label: "is in semantic relation with".freeze,
|
@@ -223,7 +223,7 @@ module RDF
|
|
223
223
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
224
224
|
"skos:definition" => %(Links a concept to a concept related by meaning.).freeze,
|
225
225
|
"skos:scopeNote" => %(This property should not be used directly, but as a super-property for all properties denoting a relationship of meaning between concepts.).freeze,
|
226
|
-
type: "owl:ObjectProperty".freeze
|
226
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
227
227
|
property :topConceptOf,
|
228
228
|
domain: "skos:Concept".freeze,
|
229
229
|
label: "is top concept in scheme".freeze,
|
@@ -232,6 +232,6 @@ module RDF
|
|
232
232
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2004/02/skos/core).freeze,
|
233
233
|
"skos:definition" => %(Relates a concept to the concept scheme that it is a top level concept of.).freeze,
|
234
234
|
subPropertyOf: "skos:inScheme".freeze,
|
235
|
-
type: "owl:ObjectProperty".freeze
|
235
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
236
236
|
end
|
237
237
|
end
|
data/lib/rdf/vocab/skosxl.rb
CHANGED
@@ -7,10 +7,9 @@ module RDF
|
|
7
7
|
# Class definitions
|
8
8
|
term :Label,
|
9
9
|
label: "Label".freeze,
|
10
|
-
"owl:disjointWith" => %(skos:Concept).freeze,
|
10
|
+
"owl:disjointWith" => [%(skos:Concept).freeze, %(skos:Collection).freeze, %(skos:ConceptScheme).freeze],
|
11
11
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2008/05/skos-xl).freeze,
|
12
12
|
"skos:definition" => %(A special class of lexical entities.).freeze,
|
13
|
-
subClassOf: "_:g2206598300".freeze,
|
14
13
|
type: "owl:Class".freeze
|
15
14
|
|
16
15
|
# Property definitions
|
@@ -21,7 +20,7 @@ module RDF
|
|
21
20
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2008/05/skos-xl).freeze,
|
22
21
|
"rdfs:seeAlso" => %(skos:altLabel).freeze,
|
23
22
|
"skos:definition" => %(The property skosxl:altLabel is used to associate an skosxl:Label with a skos:Concept. The property is analogous to skos:altLabel.).freeze,
|
24
|
-
type: "owl:ObjectProperty".freeze
|
23
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
25
24
|
property :hiddenLabel,
|
26
25
|
comment: %(If C skosxl:hiddenLabel L and L skosxl:literalForm V, then C skos:hiddenLabel V.).freeze,
|
27
26
|
label: "hidden label".freeze,
|
@@ -29,7 +28,7 @@ module RDF
|
|
29
28
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2008/05/skos-xl).freeze,
|
30
29
|
"rdfs:seeAlso" => %(skos:hiddenLabel).freeze,
|
31
30
|
"skos:definition" => %(The property skosxl:hiddenLabel is used to associate an skosxl:Label with a skos:Concept. The property is analogous to skos:hiddenLabel.).freeze,
|
32
|
-
type: "owl:ObjectProperty".freeze
|
31
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
33
32
|
property :labelRelation,
|
34
33
|
domain: "skosxl:Label".freeze,
|
35
34
|
label: "label relation".freeze,
|
@@ -37,14 +36,14 @@ module RDF
|
|
37
36
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2008/05/skos-xl).freeze,
|
38
37
|
"skos:definition" => %(The property skosxl:labelRelation is used for representing binary \('direct'\) relations between instances of the class skosxl:Label.).freeze,
|
39
38
|
"skos:scopeNote" => %(skosxl:labelRelation is not intended to be used directly, but rather as the basis for a design pattern which can be refined for more specific labeling scenarios.).freeze,
|
40
|
-
type: "owl:ObjectProperty".freeze
|
39
|
+
type: ["owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze, "rdf:Property".freeze]
|
41
40
|
property :literalForm,
|
42
|
-
comment: %(If two instances of the class skosxl:Label have the same literal form, they are not necessarily the same resource.).freeze,
|
41
|
+
comment: [%(If two instances of the class skosxl:Label have the same literal form, they are not necessarily the same resource.).freeze, %(The range of skosxl:literalForm is the class of RDF plain literals.).freeze],
|
43
42
|
domain: "skosxl:Label".freeze,
|
44
43
|
label: "literal form".freeze,
|
45
44
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2008/05/skos-xl).freeze,
|
46
45
|
"skos:definition" => %(The property skosxl:literalForm is used to give the literal form of an skosxl:Label.).freeze,
|
47
|
-
type: "owl:DatatypeProperty".freeze
|
46
|
+
type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
|
48
47
|
property :prefLabel,
|
49
48
|
comment: %(If C skosxl:prefLabel L and L skosxl:literalForm V, then X skos:prefLabel V.).freeze,
|
50
49
|
label: "preferred label".freeze,
|
@@ -52,6 +51,6 @@ module RDF
|
|
52
51
|
"rdfs:isDefinedBy" => %(http://www.w3.org/2008/05/skos-xl).freeze,
|
53
52
|
"rdfs:seeAlso" => %(skos:prefLabel).freeze,
|
54
53
|
"skos:definition" => %(The property skosxl:prefLabel is used to associate an skosxl:Label with a skos:Concept. The property is analogous to skos:prefLabel.).freeze,
|
55
|
-
type: "owl:ObjectProperty".freeze
|
54
|
+
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
56
55
|
end
|
57
56
|
end
|