rdf-rdfa 0.3.17 → 0.3.18
Sign up to get free protection for your applications and to get access to all the features.
- data/README +23 -30
- data/VERSION +1 -1
- data/lib/rdf/rdfa/context.rb +8 -4
- data/lib/rdf/rdfa/context/xml.rb +1 -0
- data/lib/rdf/rdfa/expansion.rb +48 -14
- data/lib/rdf/rdfa/expansion/dc.rb +66 -64
- data/lib/rdf/rdfa/expansion/schema.rb +125 -9
- data/lib/rdf/rdfa/reader.rb +28 -15
- metadata +2 -2
data/README
CHANGED
@@ -25,9 +25,6 @@ with Microdata. As a result, the RDF Webapps working group is currently looking
|
|
25
25
|
This version fully supports the limited syntax of [RDFa Lite 1.1][]. This includes the ability to use
|
26
26
|
@property exclusively.
|
27
27
|
|
28
|
-
#### Remove RDFa Profiles
|
29
|
-
RDFa Profiles were a mechanism added to allow groups of terms and prefixes to be defined in an external resource and loaded to affect the processing of an RDFa document. This introduced a problem for some implementations needing to perform a cross-origin GET in order to retrieve the profiles. The working group elected to drop support for user-defined RDFa Profiles (the default profiles defined by RDFa Core and host languages still apply) and replace it with an inference regime using vocabularies. Parsing of @profile has been removed from this version.
|
30
|
-
|
31
28
|
#### Vocabulary Expansion
|
32
29
|
One of the issues with vocabularies was that they discourage re-use of existing vocabularies when terms from several vocabularies are used at the same time. As it is common (encouraged) for RDF vocabularies to form sub-class and/or sub-property relationships with well defined vocabularies, the RDFa vocabulary expansion mechanism takes advantage of this.
|
33
30
|
|
@@ -39,6 +36,29 @@ to the output graph.
|
|
39
36
|
|
40
37
|
{RDF::RDFa::Reader} implements this using the `#expand` method, which looks for `rdfa:usesVocabulary` properties within the output graph and performs such expansion. See an example in the usage section.
|
41
38
|
|
39
|
+
#### Experimental support for rdf:ref template expansion
|
40
|
+
RDFa 1.1 is just about an exact super-set of microdata, except for microdata's
|
41
|
+
`@itemref` feature. Experimental support is added for `rdf:ref` and `rdf:Prototype` to get a similar effect using expansion. To use this,
|
42
|
+
reference another resource using `rdfa:ref`. If that resource has the type
|
43
|
+
`rdfa:Prototype`, the properties defined there will be added to the resource
|
44
|
+
containing the `rdfa:ref`, and the prototype and `rdfa:ref` will be removed
|
45
|
+
from the output.
|
46
|
+
|
47
|
+
For example, consider the following:
|
48
|
+
|
49
|
+
<div>
|
50
|
+
<div typeof="schema:Person">
|
51
|
+
<link property="rdfa:ref" resource="_:a"/>
|
52
|
+
</div>
|
53
|
+
<p resource="_:a" typeof="rdfa:Prototype">Name: <span property="schema:name">Amanda</span></p>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
if run with vocabulary expansion, this will result in the following Turtle:
|
57
|
+
|
58
|
+
@prefix schema: <http://schema.org/> .
|
59
|
+
[a schema:Person; schema:name "Amanda"] .
|
60
|
+
|
61
|
+
|
42
62
|
#### RDF Collections (lists)
|
43
63
|
One significant RDF feature missing from RDFa was support for ordered collections, or lists. RDF supports this with special properties `rdf:first`, `rdf:rest`, and `rdf:nil`, but other RDF languages have first-class support for this concept. For example, in [Turtle][Turtle], a list can be defined as follows:
|
44
64
|
|
@@ -90,24 +110,6 @@ defines a playlist with an ordered set of tracks. RDFa adds the @inlist attribut
|
|
90
110
|
|
91
111
|
This basically does the same thing, but places each track in an rdf:List in the defined order.
|
92
112
|
|
93
|
-
#### Property relations
|
94
|
-
The @property attribute has been updated to allow for creating URI references as well as object literals.
|
95
|
-
|
96
|
-
1. If an element contains @property but no @rel, @datatype or @content and it contains a resource attribute (such as @href, @src, or @resource)
|
97
|
-
1. Generate an IRI object. Furthermore, sub-elements do not chain, i.e., the subject in effect when the @property is processed is also in effect for sub-elements.
|
98
|
-
2. Otherwise, generate a literal as before.
|
99
|
-
|
100
|
-
For example:
|
101
|
-
|
102
|
-
<a vocab="http://schema.org" property="url" href="http://example.com">
|
103
|
-
<span property="title">NBA Eastern Conference ...</span>
|
104
|
-
</a>
|
105
|
-
|
106
|
-
results in
|
107
|
-
|
108
|
-
<> schema:url <http://example.com>;
|
109
|
-
schema:title "NBA Eastern Conference".
|
110
|
-
|
111
113
|
#### Magnetic @about/@typeof
|
112
114
|
The @typeof attribute has changed; previously, it always created a new subject, either using a resource from @about, @resource and so forth. This has long been a source of errors for people using RDFa. The new rules cause @typeof to bind to a subject if used with @about, otherwise, to an object, if either used alone, or in combination with some other resource attribute (such as @href, @src or @resource).
|
113
115
|
|
@@ -147,15 +149,6 @@ this results in
|
|
147
149
|
].
|
148
150
|
|
149
151
|
|
150
|
-
#### Property chaining
|
151
|
-
If used without @rel, but with @typeof and a resource attribute, @property will cause chaining to another object just like @rel. The effect of this and other changes is to allow pretty much all RDFa to be marked up using just @property; @rel/@rev is no longer required. Although, @rel and @rev have useful features that @property does not, so it's worth keeping them in your toolkit.
|
152
|
-
|
153
|
-
#### Support for HTML5 `time` element
|
154
|
-
The `time` element allows the creation of a datatyped-literal based on the lexical scope of either the ``@datetime`` attribute, or the element content. We parse it according to xsd:date, xsd:time, xsd:dateTime, xsd:gYear, xsd:gYearMonth, and xsd:duration. If it matches none of these, a plain literal is emitted.
|
155
|
-
|
156
|
-
The `time` element is described in the WHATWG version of the [HTML5 spec](http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-time-element).
|
157
|
-
This is related to [RDFa ISSUE-97](http://www.w3.org/2010/02/rdfa/track/issues/97).
|
158
|
-
|
159
152
|
#### Support for HTML5 `data` element
|
160
153
|
This is an alternate way of adding data using the `@value` property. Similar to `meta`
|
161
154
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.18
|
data/lib/rdf/rdfa/context.rb
CHANGED
@@ -9,19 +9,23 @@ module RDF::RDFa
|
|
9
9
|
# or to load into, if no such graph exists
|
10
10
|
class Context
|
11
11
|
# Prefix mappings defined in this context
|
12
|
-
#
|
12
|
+
# @!attribute [r] prefixes
|
13
|
+
# @return [Hash{Symbol => RDF::URI}]
|
13
14
|
attr_reader :prefixes
|
14
15
|
|
15
16
|
# Term mappings defined in this context
|
16
|
-
#
|
17
|
+
# @!attribute [r] terms
|
18
|
+
# @return [Hash{Symbol => RDF::URI}]
|
17
19
|
attr_reader :terms
|
18
20
|
|
19
21
|
# Default URI defined for this vocabulary
|
20
|
-
#
|
22
|
+
# @!attribute [r] vocabulary
|
23
|
+
# @return [RDF::URI]
|
21
24
|
attr_reader :vocabulary
|
22
25
|
|
23
26
|
# URI defining this context
|
24
|
-
#
|
27
|
+
# @!attribute [r] uri
|
28
|
+
# @return [RDF::URI]
|
25
29
|
attr_reader :uri
|
26
30
|
|
27
31
|
##
|
data/lib/rdf/rdfa/context/xml.rb
CHANGED
@@ -22,6 +22,7 @@ class RDF::RDFa::Context
|
|
22
22
|
:rdfs => "http://www.w3.org/2000/01/rdf-schema#",
|
23
23
|
:rev => "http://purl.org/stuff/rev#",
|
24
24
|
:rif => "http://www.w3.org/2007/rif#",
|
25
|
+
:rr => "http://www.w3.org/ns/r2rml#",
|
25
26
|
:schema => "http://schema.org/",
|
26
27
|
:sioc => "http://rdfs.org/sioc/ns#",
|
27
28
|
:skos => "http://www.w3.org/2004/02/skos/core#",
|
data/lib/rdf/rdfa/expansion.rb
CHANGED
@@ -56,8 +56,8 @@ module RDF::RDFa
|
|
56
56
|
@@vocab_repo.load(vocab, :context => vocab)
|
57
57
|
end
|
58
58
|
rescue Exception => e
|
59
|
-
#
|
60
|
-
add_warning("expand", "Error loading vocabulary #{vocab}: #{e.message}", RDF::RDFA.
|
59
|
+
# indicate the warning if the vocabulary fails to laod
|
60
|
+
add_warning("expand", "Error loading vocabulary #{vocab}: #{e.message}", RDF::RDFA.UnresolvedVocabulary)
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
@@ -66,16 +66,13 @@ module RDF::RDFa
|
|
66
66
|
repo << statement
|
67
67
|
end
|
68
68
|
end
|
69
|
-
|
70
|
-
|
71
|
-
add_debug("expand", "No vocabularies loaded")
|
72
|
-
else
|
73
|
-
repo = owl_entailment(repo)
|
74
|
-
end
|
69
|
+
|
70
|
+
repo = entailment(repo)
|
75
71
|
|
76
72
|
# Return graph with default context
|
77
73
|
graph = RDF::Graph.new
|
78
74
|
repo.statements.each {|st| graph << st if st.context.nil?}
|
75
|
+
|
79
76
|
graph
|
80
77
|
end
|
81
78
|
|
@@ -89,13 +86,20 @@ module RDF::RDFa
|
|
89
86
|
# Takes a list of antecedent patterns used to find solutions against a queryable
|
90
87
|
# object. Yields each consequent with bindings from the solution
|
91
88
|
class Rule
|
92
|
-
#
|
89
|
+
# @!attribute [r] antecedents
|
90
|
+
# @return [Array<RDF::Query::Pattern>]
|
93
91
|
attr_reader :antecedents
|
94
92
|
|
95
|
-
#
|
93
|
+
# @!attribute [r] consequents
|
94
|
+
# @return [Array<RDF::Query::Pattern>]
|
96
95
|
attr_reader :consequents
|
97
96
|
|
98
|
-
#
|
97
|
+
# @!attribute [r] deletions
|
98
|
+
# @return [Array<RDF::Query::Pattern>]
|
99
|
+
attr_reader :deletions
|
100
|
+
|
101
|
+
# @!attribute [r] name
|
102
|
+
# @return [String]
|
99
103
|
attr_reader :name
|
100
104
|
|
101
105
|
##
|
@@ -188,27 +192,57 @@ module RDF::RDFa
|
|
188
192
|
antecedent :x, RDF.type, :c2
|
189
193
|
consequent :x, RDF.type, :c1
|
190
194
|
end,
|
195
|
+
Rule.new("rdfa-ref") do
|
196
|
+
antecedent :x, RDF::RDFA.ref, :PR
|
197
|
+
antecedent :PR, RDF.type, RDF::RDFA.Prototype
|
198
|
+
antecedent :PR, :p, :y
|
199
|
+
consequent :x, :p, :y
|
200
|
+
end,
|
191
201
|
]
|
192
202
|
|
203
|
+
REMOVAL_RULES = [
|
204
|
+
Rule.new("rdfa-ref-remove") do
|
205
|
+
antecedent :x, RDF::RDFA.ref, :PR
|
206
|
+
antecedent :PR, RDF.type, RDF::RDFA.Prototype
|
207
|
+
antecedent :PR, :p, :y
|
208
|
+
consequent :x, RDF::RDFA.ref, :PR
|
209
|
+
consequent :x, RDF.type, RDF::RDFA.Prototype
|
210
|
+
consequent :PR, :p, :y
|
211
|
+
end,
|
212
|
+
]
|
193
213
|
##
|
194
214
|
# Perform OWL entailment rules on repository
|
195
215
|
# @param [RDF::Repository] repo
|
196
216
|
# @return [RDF::Repository]
|
197
|
-
def
|
217
|
+
def entailment(repo)
|
198
218
|
old_count = 0
|
199
219
|
|
220
|
+
# Continue as long as new statements are added to repo
|
200
221
|
while old_count < (count = repo.count)
|
201
222
|
add_debug("entailment", "old: #{old_count} count: #{count}")
|
202
223
|
old_count = count
|
224
|
+
to_add = []
|
203
225
|
|
204
226
|
RULES.each do |rule|
|
205
227
|
rule.execute(repo) do |statement|
|
206
228
|
add_debug("entailment(#{rule.name})") {statement.inspect}
|
207
|
-
|
229
|
+
to_add << statement
|
208
230
|
end
|
209
231
|
end
|
232
|
+
|
233
|
+
repo.insert(*to_add)
|
210
234
|
end
|
211
|
-
|
235
|
+
|
236
|
+
# Remove statements matched by removal rules
|
237
|
+
to_remove = []
|
238
|
+
REMOVAL_RULES.each do |rule|
|
239
|
+
rule.execute(repo) do |statement|
|
240
|
+
add_debug("removal(#{rule.name})") {statement.inspect}
|
241
|
+
to_remove << statement
|
242
|
+
end
|
243
|
+
end
|
244
|
+
repo.delete(*to_remove)
|
245
|
+
|
212
246
|
add_debug("entailment", "final count: #{count}")
|
213
247
|
repo
|
214
248
|
end
|
@@ -4,88 +4,88 @@ require 'rdf/rdfa/expansion'
|
|
4
4
|
|
5
5
|
module RDF::RDFa::Expansion
|
6
6
|
[
|
7
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/title'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/title'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
8
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/creator'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/creator'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
9
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/creator'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/contributor'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
10
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/subject'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/subject'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
11
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/description'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/description'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
12
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/publisher'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/publisher'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
13
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/contributor'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/contributor'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
14
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/date'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
15
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/type'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/type'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
16
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/format'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/format'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
17
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/identifier'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/identifier'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
18
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/source'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/source'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
19
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/source'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
20
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/language'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/language'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
21
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/relation'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
22
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/coverage'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/coverage'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
23
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/rights'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/rights'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
24
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/alternative'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/title'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
25
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/alternative'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/title'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
26
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/tableOfContents'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/description'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
27
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/tableOfContents'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/description'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
28
7
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/abstract'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/description'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
29
8
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/abstract'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/description'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
30
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
31
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
32
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
33
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
9
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/accessRights'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/rights'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
10
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/accessRights'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/rights'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
11
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/alternative'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/title'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
12
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/alternative'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/title'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
34
13
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/available'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
35
14
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/available'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
36
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
37
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
38
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
39
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
15
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/bibliographicCitation'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/identifier'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
16
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/bibliographicCitation'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/identifier'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
17
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/conformsTo'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
18
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/conformsTo'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
19
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/contributor'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/contributor'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
20
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/coverage'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/coverage'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
21
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/created'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
22
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/created'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
23
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/creator'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/creator'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
24
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/creator'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/contributor'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
25
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/date'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
26
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/dateAccepted'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
27
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/dateAccepted'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
28
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/dateCopyrighted'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
29
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/dateCopyrighted'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
30
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/dateSubmitted'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
31
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/dateSubmitted'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
32
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/description'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/description'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
33
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/educationLevel'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/audience'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
40
34
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/extent'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/format'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
41
35
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/extent'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/format'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
42
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
43
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
44
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
45
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
36
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/format'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/format'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
37
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/hasFormat'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
38
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/hasFormat'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
39
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/hasPart'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
40
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/hasPart'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
46
41
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/hasVersion'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
47
42
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/hasVersion'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
48
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
49
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
50
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
51
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/replaces'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
52
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isRequiredBy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
53
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isRequiredBy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
54
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/requires'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
55
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/requires'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
43
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/identifier'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/identifier'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
44
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isFormatOf'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
45
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isFormatOf'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
56
46
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isPartOf'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
57
47
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isPartOf'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
58
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/hasPart'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
59
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/hasPart'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
60
48
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isReferencedBy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
61
49
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isReferencedBy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
50
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isReplacedBy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
51
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isReplacedBy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
52
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isRequiredBy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
53
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isRequiredBy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
54
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/issued'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
55
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/issued'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
56
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isVersionOf'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
57
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/isVersionOf'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
58
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/language'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/language'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
59
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/license'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/rights'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
60
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/license'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/rights'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
61
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/mediator'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/audience'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
62
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/medium'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/format'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
63
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/medium'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/format'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
64
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/modified'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
65
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/modified'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
66
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/publisher'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/publisher'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
62
67
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/references'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
63
68
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/references'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
64
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
65
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
66
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
67
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
68
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
69
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
69
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/relation'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
70
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/replaces'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
71
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/replaces'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
72
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/requires'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
73
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/requires'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
74
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/rights'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/rights'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
75
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/source'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/source'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
76
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/source'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/relation'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
70
77
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/spatial'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/coverage'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
71
78
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/spatial'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/coverage'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
79
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/subject'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/subject'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
80
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/tableOfContents'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/description'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
81
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/tableOfContents'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/description'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
72
82
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/temporal'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/coverage'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
73
83
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/temporal'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/coverage'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
74
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
75
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
76
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
77
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
78
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/
|
79
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/dateSubmitted'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
80
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/dateSubmitted'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
81
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/educationLevel'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/audience'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
82
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/accessRights'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/rights'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
83
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/accessRights'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/rights'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
84
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/bibliographicCitation'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/identifier'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
85
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/bibliographicCitation'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/identifier'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
86
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/license'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/rights'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
87
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/license'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/rights'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
88
|
-
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/AgentClass'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://purl.org/dc/terms/AgentClass'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
84
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/title'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/title'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
85
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/type'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/type'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
86
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/valid'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/elements/1.1/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
87
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/valid'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/date'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
88
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/AgentClass'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#Class'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
89
89
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/FileFormat'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://purl.org/dc/terms/MediaType'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
90
90
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/Jurisdiction'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://purl.org/dc/terms/LocationPeriodOrJurisdiction'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
91
91
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/LicenseDocument'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://purl.org/dc/terms/RightsStatement'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
@@ -94,5 +94,7 @@ module RDF::RDFa::Expansion
|
|
94
94
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/PeriodOfTime'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://purl.org/dc/terms/LocationPeriodOrJurisdiction'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
95
95
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/PhysicalMedium'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://purl.org/dc/terms/MediaType'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
96
96
|
RDF::Statement.new(RDF::URI('http://purl.org/dc/terms/SizeOrDuration'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://purl.org/dc/terms/MediaTypeOrExtent'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
97
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/dcmitype/MovingImage'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://purl.org/dc/dcmitype/Image'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
98
|
+
RDF::Statement.new(RDF::URI('http://purl.org/dc/dcmitype/StillImage'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://purl.org/dc/dcmitype/Image'), :context => RDF::URI('http://purl.org/dc/terms/')),
|
97
99
|
].each {|st| COOKED_VOCAB_STATEMENTS << st }
|
98
100
|
end
|
@@ -9,8 +9,14 @@ module RDF::RDFa::Expansion
|
|
9
9
|
RDF::Statement.new(RDF::URI('http://schema.org/BlogPosting'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Article'), :context => RDF::URI('http://schema.org/')),
|
10
10
|
RDF::Statement.new(RDF::URI('http://schema.org/NewsArticle'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Article'), :context => RDF::URI('http://schema.org/')),
|
11
11
|
RDF::Statement.new(RDF::URI('http://schema.org/ScholarlyArticle'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Article'), :context => RDF::URI('http://schema.org/')),
|
12
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalScholarlyArticle'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/ScholarlyArticle'), :context => RDF::URI('http://schema.org/')),
|
12
13
|
RDF::Statement.new(RDF::URI('http://schema.org/Blog'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
13
14
|
RDF::Statement.new(RDF::URI('http://schema.org/Book'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
15
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Comment'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
16
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Diet'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
17
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Diet'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/LifestyleModification'), :context => RDF::URI('http://schema.org/')),
|
18
|
+
RDF::Statement.new(RDF::URI('http://schema.org/ExercisePlan'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
19
|
+
RDF::Statement.new(RDF::URI('http://schema.org/ExercisePlan'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/PhysicalActivity'), :context => RDF::URI('http://schema.org/')),
|
14
20
|
RDF::Statement.new(RDF::URI('http://schema.org/ItemList'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
15
21
|
RDF::Statement.new(RDF::URI('http://schema.org/Map'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
16
22
|
RDF::Statement.new(RDF::URI('http://schema.org/MediaObject'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
@@ -27,6 +33,9 @@ module RDF::RDFa::Expansion
|
|
27
33
|
RDF::Statement.new(RDF::URI('http://schema.org/Recipe'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
28
34
|
RDF::Statement.new(RDF::URI('http://schema.org/Review'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
29
35
|
RDF::Statement.new(RDF::URI('http://schema.org/Sculpture'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
36
|
+
RDF::Statement.new(RDF::URI('http://schema.org/SoftwareApplication'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
37
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MobileApplication'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/SoftwareApplication'), :context => RDF::URI('http://schema.org/')),
|
38
|
+
RDF::Statement.new(RDF::URI('http://schema.org/WebApplication'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/SoftwareApplication'), :context => RDF::URI('http://schema.org/')),
|
30
39
|
RDF::Statement.new(RDF::URI('http://schema.org/TVEpisode'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
31
40
|
RDF::Statement.new(RDF::URI('http://schema.org/TVSeason'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
32
41
|
RDF::Statement.new(RDF::URI('http://schema.org/TVSeries'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
@@ -38,6 +47,7 @@ module RDF::RDFa::Expansion
|
|
38
47
|
RDF::Statement.new(RDF::URI('http://schema.org/VideoGallery'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CollectionPage'), :context => RDF::URI('http://schema.org/')),
|
39
48
|
RDF::Statement.new(RDF::URI('http://schema.org/ContactPage'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/WebPage'), :context => RDF::URI('http://schema.org/')),
|
40
49
|
RDF::Statement.new(RDF::URI('http://schema.org/ItemPage'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/WebPage'), :context => RDF::URI('http://schema.org/')),
|
50
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalWebPage'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/WebPage'), :context => RDF::URI('http://schema.org/')),
|
41
51
|
RDF::Statement.new(RDF::URI('http://schema.org/ProfilePage'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/WebPage'), :context => RDF::URI('http://schema.org/')),
|
42
52
|
RDF::Statement.new(RDF::URI('http://schema.org/SearchResultsPage'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/WebPage'), :context => RDF::URI('http://schema.org/')),
|
43
53
|
RDF::Statement.new(RDF::URI('http://schema.org/WebPageElement'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CreativeWork'), :context => RDF::URI('http://schema.org/')),
|
@@ -73,10 +83,20 @@ module RDF::RDFa::Expansion
|
|
73
83
|
RDF::Statement.new(RDF::URI('http://schema.org/UserTweets'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/UserInteraction'), :context => RDF::URI('http://schema.org/')),
|
74
84
|
RDF::Statement.new(RDF::URI('http://schema.org/VisualArtsEvent'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Event'), :context => RDF::URI('http://schema.org/')),
|
75
85
|
RDF::Statement.new(RDF::URI('http://schema.org/Intangible'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Thing'), :context => RDF::URI('http://schema.org/')),
|
86
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Audience'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Intangible'), :context => RDF::URI('http://schema.org/')),
|
87
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalAudience'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Audience'), :context => RDF::URI('http://schema.org/')),
|
88
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalAudience'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
89
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Brand'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Intangible'), :context => RDF::URI('http://schema.org/')),
|
90
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Demand'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Intangible'), :context => RDF::URI('http://schema.org/')),
|
76
91
|
RDF::Statement.new(RDF::URI('http://schema.org/Enumeration'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Intangible'), :context => RDF::URI('http://schema.org/')),
|
77
92
|
RDF::Statement.new(RDF::URI('http://schema.org/BookFormatType'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Enumeration'), :context => RDF::URI('http://schema.org/')),
|
93
|
+
RDF::Statement.new(RDF::URI('http://schema.rdfs.org/all.ttl'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Enumeration'), :context => RDF::URI('http://schema.org/')),
|
78
94
|
RDF::Statement.new(RDF::URI('http://schema.org/ItemAvailability'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Enumeration'), :context => RDF::URI('http://schema.org/')),
|
79
95
|
RDF::Statement.new(RDF::URI('http://schema.org/OfferItemCondition'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Enumeration'), :context => RDF::URI('http://schema.org/')),
|
96
|
+
RDF::Statement.new(RDF::URI('http://schema.org/QualitativeValue'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Enumeration'), :context => RDF::URI('http://schema.org/')),
|
97
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Specialty'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Enumeration'), :context => RDF::URI('http://schema.org/')),
|
98
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalSpecialty'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Specialty'), :context => RDF::URI('http://schema.org/')),
|
99
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalSpecialty'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
80
100
|
RDF::Statement.new(RDF::URI('http://schema.org/JobPosting'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Intangible'), :context => RDF::URI('http://schema.org/')),
|
81
101
|
RDF::Statement.new(RDF::URI('http://schema.org/Language'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Intangible'), :context => RDF::URI('http://schema.org/')),
|
82
102
|
RDF::Statement.new(RDF::URI('http://schema.org/Offer'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Intangible'), :context => RDF::URI('http://schema.org/')),
|
@@ -94,6 +114,98 @@ module RDF::RDFa::Expansion
|
|
94
114
|
RDF::Statement.new(RDF::URI('http://schema.org/GeoCoordinates'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/StructuredValue'), :context => RDF::URI('http://schema.org/')),
|
95
115
|
RDF::Statement.new(RDF::URI('http://schema.org/GeoShape'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/StructuredValue'), :context => RDF::URI('http://schema.org/')),
|
96
116
|
RDF::Statement.new(RDF::URI('http://schema.org/NutritionInformation'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/StructuredValue'), :context => RDF::URI('http://schema.org/')),
|
117
|
+
RDF::Statement.new(RDF::URI('http://schema.org/OpeningHoursSpecification'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/StructuredValue'), :context => RDF::URI('http://schema.org/')),
|
118
|
+
RDF::Statement.new(RDF::URI('http://schema.org/OwnershipInfo'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/StructuredValue'), :context => RDF::URI('http://schema.org/')),
|
119
|
+
RDF::Statement.new(RDF::URI('http://schema.org/PriceSpecification'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/StructuredValue'), :context => RDF::URI('http://schema.org/')),
|
120
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DeliveryChargeSpecification'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/PriceSpecification'), :context => RDF::URI('http://schema.org/')),
|
121
|
+
RDF::Statement.new(RDF::URI('http://schema.org/PaymentChargeSpecification'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/PriceSpecification'), :context => RDF::URI('http://schema.org/')),
|
122
|
+
RDF::Statement.new(RDF::URI('http://schema.org/UnitPriceSpecification'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/PriceSpecification'), :context => RDF::URI('http://schema.org/')),
|
123
|
+
RDF::Statement.new(RDF::URI('http://schema.org/QuantitativeValue'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/StructuredValue'), :context => RDF::URI('http://schema.org/')),
|
124
|
+
RDF::Statement.new(RDF::URI('http://schema.org/TypeAndQuantityNode'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/StructuredValue'), :context => RDF::URI('http://schema.org/')),
|
125
|
+
RDF::Statement.new(RDF::URI('http://schema.org/WarrantyPromise'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/StructuredValue'), :context => RDF::URI('http://schema.org/')),
|
126
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalEntity'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Thing'), :context => RDF::URI('http://schema.org/')),
|
127
|
+
RDF::Statement.new(RDF::URI('http://schema.org/AnatomicalStructure'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
128
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Bone'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/AnatomicalStructure'), :context => RDF::URI('http://schema.org/')),
|
129
|
+
RDF::Statement.new(RDF::URI('http://schema.org/BrainStructure'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/AnatomicalStructure'), :context => RDF::URI('http://schema.org/')),
|
130
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Joint'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/AnatomicalStructure'), :context => RDF::URI('http://schema.org/')),
|
131
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Ligament'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/AnatomicalStructure'), :context => RDF::URI('http://schema.org/')),
|
132
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Muscle'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/AnatomicalStructure'), :context => RDF::URI('http://schema.org/')),
|
133
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Nerve'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/AnatomicalStructure'), :context => RDF::URI('http://schema.org/')),
|
134
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Vessel'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/AnatomicalStructure'), :context => RDF::URI('http://schema.org/')),
|
135
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Artery'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Vessel'), :context => RDF::URI('http://schema.org/')),
|
136
|
+
RDF::Statement.new(RDF::URI('http://schema.org/LymphaticVessel'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Vessel'), :context => RDF::URI('http://schema.org/')),
|
137
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Vein'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Vessel'), :context => RDF::URI('http://schema.org/')),
|
138
|
+
RDF::Statement.new(RDF::URI('http://schema.org/AnatomicalSystem'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
139
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalCause'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
140
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalCondition'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
141
|
+
RDF::Statement.new(RDF::URI('http://schema.org/InfectiousDisease'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalCondition'), :context => RDF::URI('http://schema.org/')),
|
142
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalContraindication'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
143
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalDevice'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
144
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalGuideline'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
145
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalGuidelineContraindication'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalGuideline'), :context => RDF::URI('http://schema.org/')),
|
146
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalGuidelineRecommendation'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalGuideline'), :context => RDF::URI('http://schema.org/')),
|
147
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalIndication'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
148
|
+
RDF::Statement.new(RDF::URI('http://schema.org/ApprovedIndication'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalIndication'), :context => RDF::URI('http://schema.org/')),
|
149
|
+
RDF::Statement.new(RDF::URI('http://schema.org/PreventionIndication'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalIndication'), :context => RDF::URI('http://schema.org/')),
|
150
|
+
RDF::Statement.new(RDF::URI('http://schema.org/TreatmentIndication'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalIndication'), :context => RDF::URI('http://schema.org/')),
|
151
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalIntangible'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
152
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DDxElement'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalIntangible'), :context => RDF::URI('http://schema.org/')),
|
153
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DoseSchedule'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalIntangible'), :context => RDF::URI('http://schema.org/')),
|
154
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MaximumDoseSchedule'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/DoseSchedule'), :context => RDF::URI('http://schema.org/')),
|
155
|
+
RDF::Statement.new(RDF::URI('http://schema.org/RecommendedDoseSchedule'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/DoseSchedule'), :context => RDF::URI('http://schema.org/')),
|
156
|
+
RDF::Statement.new(RDF::URI('http://schema.org/ReportedDoseSchedule'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/DoseSchedule'), :context => RDF::URI('http://schema.org/')),
|
157
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DrugCost'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalIntangible'), :context => RDF::URI('http://schema.org/')),
|
158
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DrugLegalStatus'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalIntangible'), :context => RDF::URI('http://schema.org/')),
|
159
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DrugStrength'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalIntangible'), :context => RDF::URI('http://schema.org/')),
|
160
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalCode'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalIntangible'), :context => RDF::URI('http://schema.org/')),
|
161
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalConditionStage'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalIntangible'), :context => RDF::URI('http://schema.org/')),
|
162
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalEnumeration'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalIntangible'), :context => RDF::URI('http://schema.org/')),
|
163
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DrugCostCategory'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
164
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DrugPregnancyCategory'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
165
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DrugPrescriptionStatus'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
166
|
+
RDF::Statement.new(RDF::URI('http://schema.org/InfectiousAgentClass'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
167
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalDevicePurpose'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
168
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalEvidenceLevel'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
169
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalImagingTechnique'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
170
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalObservationalStudyDesign'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
171
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalProcedureType'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
172
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalStudyStatus'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
173
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalTrialDesign'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
174
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicineSystem'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
175
|
+
RDF::Statement.new(RDF::URI('http://schema.org/PhysicalActivityCategory'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
176
|
+
RDF::Statement.new(RDF::URI('http://schema.org/PhysicalExam'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEnumeration'), :context => RDF::URI('http://schema.org/')),
|
177
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalProcedure'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
178
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DiagnosticProcedure'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalProcedure'), :context => RDF::URI('http://schema.org/')),
|
179
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DiagnosticProcedure'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTest'), :context => RDF::URI('http://schema.org/')),
|
180
|
+
RDF::Statement.new(RDF::URI('http://schema.org/PalliativeProcedure'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalProcedure'), :context => RDF::URI('http://schema.org/')),
|
181
|
+
RDF::Statement.new(RDF::URI('http://schema.org/PalliativeProcedure'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTherapy'), :context => RDF::URI('http://schema.org/')),
|
182
|
+
RDF::Statement.new(RDF::URI('http://schema.org/TherapeuticProcedure'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalProcedure'), :context => RDF::URI('http://schema.org/')),
|
183
|
+
RDF::Statement.new(RDF::URI('http://schema.org/TherapeuticProcedure'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTherapy'), :context => RDF::URI('http://schema.org/')),
|
184
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalRiskEstimator'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
185
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalRiskCalculator'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalRiskEstimator'), :context => RDF::URI('http://schema.org/')),
|
186
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalRiskScore'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalRiskEstimator'), :context => RDF::URI('http://schema.org/')),
|
187
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalRiskFactor'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
188
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalSignOrSymptom'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
189
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalSign'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalSignOrSymptom'), :context => RDF::URI('http://schema.org/')),
|
190
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalSymptom'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalSignOrSymptom'), :context => RDF::URI('http://schema.org/')),
|
191
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalStudy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
192
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalObservationalStudy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalStudy'), :context => RDF::URI('http://schema.org/')),
|
193
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalTrial'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalStudy'), :context => RDF::URI('http://schema.org/')),
|
194
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalTest'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
195
|
+
RDF::Statement.new(RDF::URI('http://schema.org/BloodTest'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTest'), :context => RDF::URI('http://schema.org/')),
|
196
|
+
RDF::Statement.new(RDF::URI('http://schema.org/ImagingTest'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTest'), :context => RDF::URI('http://schema.org/')),
|
197
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalTestPanel'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTest'), :context => RDF::URI('http://schema.org/')),
|
198
|
+
RDF::Statement.new(RDF::URI('http://schema.org/PathologyTest'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTest'), :context => RDF::URI('http://schema.org/')),
|
199
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MedicalTherapy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
200
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DietarySupplement'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTherapy'), :context => RDF::URI('http://schema.org/')),
|
201
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Drug'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTherapy'), :context => RDF::URI('http://schema.org/')),
|
202
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DrugClass'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTherapy'), :context => RDF::URI('http://schema.org/')),
|
203
|
+
RDF::Statement.new(RDF::URI('http://schema.org/LifestyleModification'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTherapy'), :context => RDF::URI('http://schema.org/')),
|
204
|
+
RDF::Statement.new(RDF::URI('http://schema.org/PhysicalActivity'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/LifestyleModification'), :context => RDF::URI('http://schema.org/')),
|
205
|
+
RDF::Statement.new(RDF::URI('http://schema.org/PhysicalTherapy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTherapy'), :context => RDF::URI('http://schema.org/')),
|
206
|
+
RDF::Statement.new(RDF::URI('http://schema.org/PsychologicalTreatment'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTherapy'), :context => RDF::URI('http://schema.org/')),
|
207
|
+
RDF::Statement.new(RDF::URI('http://schema.org/RadiationTherapy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalTherapy'), :context => RDF::URI('http://schema.org/')),
|
208
|
+
RDF::Statement.new(RDF::URI('http://schema.org/SuperficialAnatomy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalEntity'), :context => RDF::URI('http://schema.org/')),
|
97
209
|
RDF::Statement.new(RDF::URI('http://schema.org/Organization'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Thing'), :context => RDF::URI('http://schema.org/')),
|
98
210
|
RDF::Statement.new(RDF::URI('http://schema.org/Corporation'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Organization'), :context => RDF::URI('http://schema.org/')),
|
99
211
|
RDF::Statement.new(RDF::URI('http://schema.org/EducationalOrganization'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Organization'), :context => RDF::URI('http://schema.org/')),
|
@@ -104,8 +216,8 @@ module RDF::RDFa::Expansion
|
|
104
216
|
RDF::Statement.new(RDF::URI('http://schema.org/Preschool'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/EducationalOrganization'), :context => RDF::URI('http://schema.org/')),
|
105
217
|
RDF::Statement.new(RDF::URI('http://schema.org/School'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/EducationalOrganization'), :context => RDF::URI('http://schema.org/')),
|
106
218
|
RDF::Statement.new(RDF::URI('http://schema.org/GovernmentOrganization'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Organization'), :context => RDF::URI('http://schema.org/')),
|
107
|
-
RDF::Statement.new(RDF::URI('http://schema.org/LocalBusiness'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Place'), :context => RDF::URI('http://schema.org/')),
|
108
219
|
RDF::Statement.new(RDF::URI('http://schema.org/LocalBusiness'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Organization'), :context => RDF::URI('http://schema.org/')),
|
220
|
+
RDF::Statement.new(RDF::URI('http://schema.org/LocalBusiness'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Place'), :context => RDF::URI('http://schema.org/')),
|
109
221
|
RDF::Statement.new(RDF::URI('http://schema.org/AnimalShelter'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/LocalBusiness'), :context => RDF::URI('http://schema.org/')),
|
110
222
|
RDF::Statement.new(RDF::URI('http://schema.org/AutomotiveBusiness'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/LocalBusiness'), :context => RDF::URI('http://schema.org/')),
|
111
223
|
RDF::Statement.new(RDF::URI('http://schema.org/AutoBodyShop'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/AutomotiveBusiness'), :context => RDF::URI('http://schema.org/')),
|
@@ -135,8 +247,8 @@ module RDF::RDFa::Expansion
|
|
135
247
|
RDF::Statement.new(RDF::URI('http://schema.org/ArtGallery'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/EntertainmentBusiness'), :context => RDF::URI('http://schema.org/')),
|
136
248
|
RDF::Statement.new(RDF::URI('http://schema.org/Casino'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/EntertainmentBusiness'), :context => RDF::URI('http://schema.org/')),
|
137
249
|
RDF::Statement.new(RDF::URI('http://schema.org/ComedyClub'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/EntertainmentBusiness'), :context => RDF::URI('http://schema.org/')),
|
138
|
-
RDF::Statement.new(RDF::URI('http://schema.org/MovieTheater'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CivicStructure'), :context => RDF::URI('http://schema.org/')),
|
139
250
|
RDF::Statement.new(RDF::URI('http://schema.org/MovieTheater'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/EntertainmentBusiness'), :context => RDF::URI('http://schema.org/')),
|
251
|
+
RDF::Statement.new(RDF::URI('http://schema.org/MovieTheater'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/CivicStructure'), :context => RDF::URI('http://schema.org/')),
|
140
252
|
RDF::Statement.new(RDF::URI('http://schema.org/NightClub'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/EntertainmentBusiness'), :context => RDF::URI('http://schema.org/')),
|
141
253
|
RDF::Statement.new(RDF::URI('http://schema.org/FinancialService'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/LocalBusiness'), :context => RDF::URI('http://schema.org/')),
|
142
254
|
RDF::Statement.new(RDF::URI('http://schema.org/AccountingService'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/ProfessionalService'), :context => RDF::URI('http://schema.org/')),
|
@@ -159,25 +271,25 @@ module RDF::RDFa::Expansion
|
|
159
271
|
RDF::Statement.new(RDF::URI('http://schema.org/BeautySalon'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HealthAndBeautyBusiness'), :context => RDF::URI('http://schema.org/')),
|
160
272
|
RDF::Statement.new(RDF::URI('http://schema.org/DaySpa'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HealthAndBeautyBusiness'), :context => RDF::URI('http://schema.org/')),
|
161
273
|
RDF::Statement.new(RDF::URI('http://schema.org/HairSalon'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HealthAndBeautyBusiness'), :context => RDF::URI('http://schema.org/')),
|
162
|
-
RDF::Statement.new(RDF::URI('http://schema.org/HealthClub'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/SportsActivityLocation'), :context => RDF::URI('http://schema.org/')),
|
163
274
|
RDF::Statement.new(RDF::URI('http://schema.org/HealthClub'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HealthAndBeautyBusiness'), :context => RDF::URI('http://schema.org/')),
|
275
|
+
RDF::Statement.new(RDF::URI('http://schema.org/HealthClub'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/SportsActivityLocation'), :context => RDF::URI('http://schema.org/')),
|
164
276
|
RDF::Statement.new(RDF::URI('http://schema.org/NailSalon'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HealthAndBeautyBusiness'), :context => RDF::URI('http://schema.org/')),
|
165
277
|
RDF::Statement.new(RDF::URI('http://schema.org/TattooParlor'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HealthAndBeautyBusiness'), :context => RDF::URI('http://schema.org/')),
|
166
278
|
RDF::Statement.new(RDF::URI('http://schema.org/HomeAndConstructionBusiness'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/LocalBusiness'), :context => RDF::URI('http://schema.org/')),
|
167
|
-
RDF::Statement.new(RDF::URI('http://schema.org/Electrician'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HomeAndConstructionBusiness'), :context => RDF::URI('http://schema.org/')),
|
168
279
|
RDF::Statement.new(RDF::URI('http://schema.org/Electrician'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/ProfessionalService'), :context => RDF::URI('http://schema.org/')),
|
169
|
-
RDF::Statement.new(RDF::URI('http://schema.org/
|
280
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Electrician'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HomeAndConstructionBusiness'), :context => RDF::URI('http://schema.org/')),
|
170
281
|
RDF::Statement.new(RDF::URI('http://schema.org/GeneralContractor'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/ProfessionalService'), :context => RDF::URI('http://schema.org/')),
|
282
|
+
RDF::Statement.new(RDF::URI('http://schema.org/GeneralContractor'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HomeAndConstructionBusiness'), :context => RDF::URI('http://schema.org/')),
|
171
283
|
RDF::Statement.new(RDF::URI('http://schema.org/HVACBusiness'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HomeAndConstructionBusiness'), :context => RDF::URI('http://schema.org/')),
|
172
|
-
RDF::Statement.new(RDF::URI('http://schema.org/HousePainter'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HomeAndConstructionBusiness'), :context => RDF::URI('http://schema.org/')),
|
173
284
|
RDF::Statement.new(RDF::URI('http://schema.org/HousePainter'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/ProfessionalService'), :context => RDF::URI('http://schema.org/')),
|
174
|
-
RDF::Statement.new(RDF::URI('http://schema.org/
|
285
|
+
RDF::Statement.new(RDF::URI('http://schema.org/HousePainter'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HomeAndConstructionBusiness'), :context => RDF::URI('http://schema.org/')),
|
175
286
|
RDF::Statement.new(RDF::URI('http://schema.org/Locksmith'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/ProfessionalService'), :context => RDF::URI('http://schema.org/')),
|
287
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Locksmith'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HomeAndConstructionBusiness'), :context => RDF::URI('http://schema.org/')),
|
176
288
|
RDF::Statement.new(RDF::URI('http://schema.org/MovingCompany'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HomeAndConstructionBusiness'), :context => RDF::URI('http://schema.org/')),
|
177
|
-
RDF::Statement.new(RDF::URI('http://schema.org/Plumber'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HomeAndConstructionBusiness'), :context => RDF::URI('http://schema.org/')),
|
178
289
|
RDF::Statement.new(RDF::URI('http://schema.org/Plumber'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/ProfessionalService'), :context => RDF::URI('http://schema.org/')),
|
179
|
-
RDF::Statement.new(RDF::URI('http://schema.org/
|
290
|
+
RDF::Statement.new(RDF::URI('http://schema.org/Plumber'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HomeAndConstructionBusiness'), :context => RDF::URI('http://schema.org/')),
|
180
291
|
RDF::Statement.new(RDF::URI('http://schema.org/RoofingContractor'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/ProfessionalService'), :context => RDF::URI('http://schema.org/')),
|
292
|
+
RDF::Statement.new(RDF::URI('http://schema.org/RoofingContractor'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/HomeAndConstructionBusiness'), :context => RDF::URI('http://schema.org/')),
|
181
293
|
RDF::Statement.new(RDF::URI('http://schema.org/InternetCafe'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/LocalBusiness'), :context => RDF::URI('http://schema.org/')),
|
182
294
|
RDF::Statement.new(RDF::URI('http://schema.org/Library'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/LocalBusiness'), :context => RDF::URI('http://schema.org/')),
|
183
295
|
RDF::Statement.new(RDF::URI('http://schema.org/LodgingBusiness'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/LocalBusiness'), :context => RDF::URI('http://schema.org/')),
|
@@ -188,6 +300,7 @@ module RDF::RDFa::Expansion
|
|
188
300
|
RDF::Statement.new(RDF::URI('http://schema.org/MedicalOrganization'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/LocalBusiness'), :context => RDF::URI('http://schema.org/')),
|
189
301
|
RDF::Statement.new(RDF::URI('http://schema.org/Dentist'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalOrganization'), :context => RDF::URI('http://schema.org/')),
|
190
302
|
RDF::Statement.new(RDF::URI('http://schema.org/Dentist'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/ProfessionalService'), :context => RDF::URI('http://schema.org/')),
|
303
|
+
RDF::Statement.new(RDF::URI('http://schema.org/DiagnosticLab'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalOrganization'), :context => RDF::URI('http://schema.org/')),
|
191
304
|
RDF::Statement.new(RDF::URI('http://schema.org/MedicalClinic'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalOrganization'), :context => RDF::URI('http://schema.org/')),
|
192
305
|
RDF::Statement.new(RDF::URI('http://schema.org/Optician'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalOrganization'), :context => RDF::URI('http://schema.org/')),
|
193
306
|
RDF::Statement.new(RDF::URI('http://schema.org/Pharmacy'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/MedicalOrganization'), :context => RDF::URI('http://schema.org/')),
|
@@ -310,5 +423,8 @@ module RDF::RDFa::Expansion
|
|
310
423
|
RDF::Statement.new(RDF::URI('http://schema.org/SingleFamilyResidence'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Residence'), :context => RDF::URI('http://schema.org/')),
|
311
424
|
RDF::Statement.new(RDF::URI('http://schema.org/TouristAttraction'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Place'), :context => RDF::URI('http://schema.org/')),
|
312
425
|
RDF::Statement.new(RDF::URI('http://schema.org/Product'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Thing'), :context => RDF::URI('http://schema.org/')),
|
426
|
+
RDF::Statement.new(RDF::URI('http://schema.org/IndividualProduct'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Product'), :context => RDF::URI('http://schema.org/')),
|
427
|
+
RDF::Statement.new(RDF::URI('http://schema.org/ProductModel'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Product'), :context => RDF::URI('http://schema.org/')),
|
428
|
+
RDF::Statement.new(RDF::URI('http://schema.org/SomeProducts'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://schema.org/Product'), :context => RDF::URI('http://schema.org/')),
|
313
429
|
].each {|st| COOKED_VOCAB_STATEMENTS << st }
|
314
430
|
end
|
data/lib/rdf/rdfa/reader.rb
CHANGED
@@ -80,11 +80,13 @@ module RDF::RDFa
|
|
80
80
|
Regexp::EXTENDED)
|
81
81
|
|
82
82
|
# Host language
|
83
|
-
#
|
83
|
+
# @!attribute [r] host_language
|
84
|
+
# @return [:xml, :xhtml1, :xhtml5, :html4, :html5, :svg]
|
84
85
|
attr_reader :host_language
|
85
86
|
|
86
87
|
# Version
|
87
|
-
#
|
88
|
+
# @!attribute [r] version
|
89
|
+
# @return [:"rdfa1.0", :"rdfa1.1"]
|
88
90
|
attr_reader :version
|
89
91
|
|
90
92
|
# The Recursive Baggage
|
@@ -98,7 +100,8 @@ module RDF::RDFa
|
|
98
100
|
# such as the (X)HTML base element. The important thing is that it establishes
|
99
101
|
# a URL against which relative paths can be resolved.
|
100
102
|
#
|
101
|
-
#
|
103
|
+
# @!attribute [rw] base
|
104
|
+
# @return [RDF::URI]
|
102
105
|
attr_accessor :base
|
103
106
|
|
104
107
|
##
|
@@ -107,7 +110,8 @@ module RDF::RDFa
|
|
107
110
|
# The initial value will be the same as the initial value of base,
|
108
111
|
# but it will usually change during the course of processing.
|
109
112
|
#
|
110
|
-
#
|
113
|
+
# @!attribute [rw] parent_subject
|
114
|
+
# @return [RDF::URI]
|
111
115
|
attr_accessor :parent_subject
|
112
116
|
|
113
117
|
##
|
@@ -120,20 +124,23 @@ module RDF::RDFa
|
|
120
124
|
# This means that the bnode must be set in the containing statement and passed down,
|
121
125
|
# and this property is used to convey this value.
|
122
126
|
#
|
123
|
-
#
|
127
|
+
# @!attribute [rw] parent_object
|
128
|
+
# @return [RDF::URI]
|
124
129
|
attr_accessor :parent_object
|
125
130
|
|
126
131
|
##
|
127
132
|
# A list of current, in-scope URI mappings.
|
128
133
|
#
|
129
|
-
#
|
134
|
+
# @!attribute [rw] uri_mappings
|
135
|
+
# @return [Hash{Symbol => String}]
|
130
136
|
attr_accessor :uri_mappings
|
131
137
|
|
132
138
|
##
|
133
139
|
# A list of current, in-scope Namespaces. This is the subset of uri_mappings
|
134
140
|
# which are defined using xmlns.
|
135
141
|
#
|
136
|
-
#
|
142
|
+
# @!attribute [rw] namespaces
|
143
|
+
# @return [Hash{String => Namespace}]
|
137
144
|
attr_accessor :namespaces
|
138
145
|
|
139
146
|
##
|
@@ -144,13 +151,15 @@ module RDF::RDFa
|
|
144
151
|
# The triples can be completed when a resource becomes available,
|
145
152
|
# which will be when the next subject is specified (part of the process called chaining).
|
146
153
|
#
|
147
|
-
#
|
154
|
+
# @!attribute [rw] incomplete_triples
|
155
|
+
# @return [Array<Array<RDF::URI, RDF::Resource>>]
|
148
156
|
attr_accessor :incomplete_triples
|
149
157
|
|
150
158
|
##
|
151
159
|
# The language. Note that there is no default language.
|
152
160
|
#
|
153
|
-
#
|
161
|
+
# @!attribute [rw] language
|
162
|
+
# @return [Symbol]
|
154
163
|
attr_accessor :language
|
155
164
|
|
156
165
|
##
|
@@ -160,7 +169,8 @@ module RDF::RDFa
|
|
160
169
|
# Host Languages may define an initial list.
|
161
170
|
# If a Host Language provides an initial list, it should do so via an RDFa Context document.
|
162
171
|
#
|
163
|
-
#
|
172
|
+
# @!attribute [rw] term_mappings
|
173
|
+
# @return [Hash{Symbol => RDF::URI}]
|
164
174
|
attr_accessor :term_mappings
|
165
175
|
|
166
176
|
##
|
@@ -170,14 +180,16 @@ module RDF::RDFa
|
|
170
180
|
# This specification does not define an initial setting for the default vocabulary.
|
171
181
|
# Host Languages may define an initial setting.
|
172
182
|
#
|
173
|
-
#
|
183
|
+
# @!attribute [rw] default_vocabulary
|
184
|
+
# @return [RDF::URI]
|
174
185
|
attr_accessor :default_vocabulary
|
175
186
|
|
176
187
|
##
|
177
188
|
# lists
|
178
189
|
#
|
179
190
|
# A hash associating lists with properties.
|
180
|
-
#
|
191
|
+
# @!attribute [rw] list_mapping
|
192
|
+
# @return [Hash{RDF::URI => Array<RDF::Resource>}]
|
181
193
|
attr_accessor :list_mapping
|
182
194
|
|
183
195
|
# @param [RDF::URI] base
|
@@ -210,7 +222,7 @@ module RDF::RDFa
|
|
210
222
|
|
211
223
|
def inspect
|
212
224
|
v = ['base', 'parent_subject', 'parent_object', 'language', 'default_vocabulary'].map do |a|
|
213
|
-
"#{a}=#{self.send(a).inspect}"
|
225
|
+
"#{a}=#{o = self.send(a); o.respond_to?(:to_ntriples) ? o.to_ntriples : o.inspect}"
|
214
226
|
end
|
215
227
|
v << "uri_mappings[#{uri_mappings.keys.length}]"
|
216
228
|
v << "incomplete_triples[#{incomplete_triples.length}]"
|
@@ -222,7 +234,8 @@ module RDF::RDFa
|
|
222
234
|
|
223
235
|
# Returns the XML implementation module for this reader instance.
|
224
236
|
#
|
225
|
-
#
|
237
|
+
# @!attribute [rw] implementation
|
238
|
+
# @return [Module]
|
226
239
|
attr_reader :implementation
|
227
240
|
|
228
241
|
##
|
@@ -1124,7 +1137,7 @@ module RDF::RDFa
|
|
1124
1137
|
:uri_mappings => uri_mappings,
|
1125
1138
|
:restrictions => SafeCURIEorCURIEorIRI.fetch(@version, [])) if attrs[:resource]
|
1126
1139
|
res ||= process_uri(element, (attrs[:href] || attrs[:src]), evaluation_context, base, :restrictions => [:uri])
|
1127
|
-
when typed_resource && !attrs[:about] &&
|
1140
|
+
when typed_resource && !attrs[:about] && @version != :"rdfa1.0"
|
1128
1141
|
add_debug(element, "[Step 11] typed_resource")
|
1129
1142
|
typed_resource
|
1130
1143
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-rdfa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.18
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-12-
|
13
|
+
date: 2012-12-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf
|