Skip to content

Commit aa8bb84

Browse files
committed
Add RDF namespcae entries for string direction.
1 parent 8f4c979 commit aa8bb84

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

lib/rdf/vocab/rdfv.rb

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ def name; "RDF"; end
3333
isDefinedBy: %(rdf:).freeze,
3434
subClassOf: "rdfs:Container".freeze,
3535
type: "rdfs:Class".freeze
36+
term :CompoundLiteral,
37+
comment: %(A class representing a compound literal.).freeze,
38+
label: "CompoundLiteral".freeze,
39+
isDefinedBy: %(http://www.w3.org/1999/02/22-rdf-syntax-ns#).freeze,
40+
subClassOf: "rdfs:Class".freeze,
41+
type: "rdfs:Class".freeze
3642
term :List,
3743
comment: %(The class of RDF Lists.).freeze,
3844
label: "List".freeze,
@@ -59,6 +65,13 @@ def name; "RDF"; end
5965
type: "rdfs:Class".freeze
6066

6167
# Property definitions
68+
property :direction,
69+
comment: %(The direction component of a CompoundLiteral.).freeze,
70+
domain: "rdf:CompoundLiteral".freeze,
71+
label: "direction".freeze,
72+
range: "rdfs:Resource".freeze,
73+
isDefinedBy: %(http://www.w3.org/1999/02/22-rdf-syntax-ns#).freeze,
74+
type: "rdf:Property".freeze
6275
property :first,
6376
comment: %(The first item in the subject RDF list.).freeze,
6477
domain: "rdf:List".freeze,
@@ -73,6 +86,13 @@ def name; "RDF"; end
7386
range: "rdfs:Resource".freeze,
7487
isDefinedBy: %(rdf:).freeze,
7588
type: "rdf:Property".freeze
89+
property :language,
90+
comment: %(The language component of a CompoundLiteral.).freeze,
91+
domain: "rdf:CompoundLiteral".freeze,
92+
label: "language".freeze,
93+
range: "rdfs:Resource".freeze,
94+
isDefinedBy: %(http://www.w3.org/1999/02/22-rdf-syntax-ns#).freeze,
95+
type: "rdf:Property".freeze
7696
property :predicate,
7797
comment: %(The predicate of the subject RDF statement.).freeze,
7898
domain: "rdf:Statement".freeze,
@@ -117,6 +137,11 @@ def name; "RDF"; end
117137
"rdfs:seeAlso": %(http://www.w3.org/TR/rdf11-concepts/#section-html).freeze,
118138
subClassOf: "rdfs:Literal".freeze,
119139
type: "rdfs:Datatype".freeze
140+
property :JSON,
141+
comment: %(The datatype of RDF literals storing JSON content.).freeze,
142+
label: "JSON".freeze,
143+
isDefinedBy: %(http://www.w3.org/1999/02/22-rdf-syntax-ns#).freeze,
144+
type: "rdfs:Datatype".freeze
120145
term :PlainLiteral,
121146
comment: %(The class of plain \(i.e. untyped\) literal values, as used in RIF and OWL 2).freeze,
122147
label: "PlainLiteral".freeze,

0 commit comments

Comments
 (0)