rdf 1.1.4.3 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/mixin/queryable.rb +3 -1
- data/lib/rdf/model/list.rb +4 -0
- data/lib/rdf/ntriples/reader.rb +5 -6
- data/lib/rdf/vocab.rb +2 -0
- data/lib/rdf/vocab/schema.rb +159 -45
- data/lib/rdf/writer.rb +5 -3
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a851bf832ebe98cf910041fc11529843ffccb84
|
4
|
+
data.tar.gz: a08fc06dafe9115642763e4afded31800e0c9a24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afd7e3b7e27e123c5211664e42da10c89322550bbf430dd73a2287579318a48d7d380c54b90e9caebd1f5e582deccf829c8d8b2769f007b3524107b844112c40
|
7
|
+
data.tar.gz: e3961354a1b922457ba876b7220cf51032c16d6e7c6d33914abf8360538d7f3c2071f1e659e77bb1561cca5d40422ab975b685907f67c6b38fd4adce6a0140a8
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.5
|
data/lib/rdf/mixin/queryable.rb
CHANGED
@@ -46,8 +46,10 @@ module RDF
|
|
46
46
|
case pattern
|
47
47
|
# A basic graph pattern (BGP) query:
|
48
48
|
when Query
|
49
|
+
solutions = RDF::Query::Solutions.new
|
50
|
+
block = lambda {|solution| solutions << solution} unless block_given?
|
49
51
|
before_query(pattern) if respond_to?(:before_query)
|
50
|
-
|
52
|
+
if method(:query_execute).arity == 1
|
51
53
|
query_execute(pattern, &block)
|
52
54
|
else
|
53
55
|
query_execute(pattern, options, &block)
|
data/lib/rdf/model/list.rb
CHANGED
@@ -69,6 +69,10 @@ module RDF
|
|
69
69
|
@graph = graph || RDF::Graph.new
|
70
70
|
is_empty = @graph.query(:subject => subject, :predicate => RDF.first).empty?
|
71
71
|
|
72
|
+
if @subject.uri? && @subject != RDF.nil
|
73
|
+
warn "[DEPRECATION] `List subject as a URI is deprecated. Please use a Node instead."
|
74
|
+
end
|
75
|
+
|
72
76
|
if subject && is_empty
|
73
77
|
# An empty list with explicit subject and value initializers
|
74
78
|
@subject = RDF.nil
|
data/lib/rdf/ntriples/reader.rb
CHANGED
@@ -159,31 +159,30 @@ module RDF::NTriples
|
|
159
159
|
# @see http://blog.grayproductions.net/articles/understanding_m17n
|
160
160
|
# @see http://yehudakatz.com/2010/05/17/encodings-unabridged/
|
161
161
|
def self.unescape(string)
|
162
|
-
string = string.dup.force_encoding(Encoding::
|
162
|
+
string = string.dup.force_encoding(Encoding::UTF_8)
|
163
163
|
|
164
164
|
# Decode \t|\n|\r|\"|\\ character escapes:
|
165
165
|
ESCAPE_CHARS.each { |escape| string.gsub!(escape.inspect[1...-1], escape) }
|
166
166
|
|
167
167
|
# Decode \uXXXX\uXXXX surrogate pairs:
|
168
|
+
# XXX: This block should be removed in RDF.rb 2.0
|
168
169
|
while
|
169
170
|
(string.sub!(ESCAPE_SURROGATE) do
|
170
171
|
if ESCAPE_SURROGATE1.include?($1.hex) && ESCAPE_SURROGATE2.include?($2.hex)
|
172
|
+
warn "[DEPRECATION] Surrogate pairs support deprecated. Support will be removed in a future release."
|
171
173
|
s = [$1, $2].pack('H*H*')
|
172
174
|
s.force_encoding(Encoding::UTF_16BE).encode!(Encoding::UTF_8)
|
173
175
|
else
|
174
|
-
|
176
|
+
[$1.hex].pack('U*') << '\u' << $2
|
175
177
|
end
|
176
|
-
s.force_encoding(Encoding::ASCII_8BIT)
|
177
178
|
end)
|
178
179
|
end
|
179
180
|
|
180
181
|
# Decode \uXXXX and \UXXXXXXXX code points:
|
181
182
|
string.gsub!(ESCAPE_CHAR) do
|
182
|
-
|
183
|
-
s.force_encoding(Encoding::ASCII_8BIT)
|
183
|
+
[($1 || $2).hex].pack('U*')
|
184
184
|
end
|
185
185
|
|
186
|
-
string.force_encoding(Encoding::UTF_8)
|
187
186
|
string
|
188
187
|
end
|
189
188
|
|
data/lib/rdf/vocab.rb
CHANGED
@@ -238,6 +238,7 @@ module RDF
|
|
238
238
|
# @return [String] The label for the named property
|
239
239
|
# @deprecated Use {RDF::Vocabulary::Term#label}
|
240
240
|
def label_for(name)
|
241
|
+
warn "[DEPRECATION] `Vocabulary.label_for is deprecated. Please use Vocabulary::Term#label instead."
|
241
242
|
self[name].label || ''
|
242
243
|
end
|
243
244
|
|
@@ -245,6 +246,7 @@ module RDF
|
|
245
246
|
# @return [String] The comment for the named property
|
246
247
|
# @deprecated Use {RDF::Vocabulary::Term#comment}
|
247
248
|
def comment_for(name)
|
249
|
+
warn "[DEPRECATION] `Vocabulary.comment_for is deprecated. Please use Vocabulary::Term#comment instead."
|
248
250
|
self[name].comment || ''
|
249
251
|
end
|
250
252
|
|
data/lib/rdf/vocab/schema.rb
CHANGED
@@ -291,7 +291,6 @@ module RDF
|
|
291
291
|
term :Blog,
|
292
292
|
comment: %(A blog).freeze,
|
293
293
|
label: "Blog".freeze,
|
294
|
-
subClassOf: "schema:CreativeWork".freeze,
|
295
294
|
type: "rdfs:Class".freeze
|
296
295
|
term :BlogPosting,
|
297
296
|
comment: %(A blog post.).freeze,
|
@@ -713,14 +712,14 @@ module RDF
|
|
713
712
|
comment: %(A collection of datasets.).freeze,
|
714
713
|
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass).freeze,
|
715
714
|
label: "DataCatalog".freeze,
|
716
|
-
"owl:equivalentClass" => %(dcat
|
715
|
+
"owl:equivalentClass" => %(http://www.w3.org/ns/dcat#DataCatalog).freeze,
|
717
716
|
subClassOf: "schema:CreativeWork".freeze,
|
718
717
|
type: "rdfs:Class".freeze
|
719
718
|
term :DataDownload,
|
720
719
|
comment: %(A dataset in downloadable form.).freeze,
|
721
720
|
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass).freeze,
|
722
721
|
label: "DataDownload".freeze,
|
723
|
-
"owl:equivalentClass" => %(dcat
|
722
|
+
"owl:equivalentClass" => %(http://www.w3.org/ns/dcat#Distribution).freeze,
|
724
723
|
subClassOf: "schema:MediaObject".freeze,
|
725
724
|
type: "rdfs:Class".freeze
|
726
725
|
term :DataType,
|
@@ -731,7 +730,7 @@ module RDF
|
|
731
730
|
comment: %(A body of structured information describing some topic\(s\) of interest.).freeze,
|
732
731
|
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_DatasetClass).freeze,
|
733
732
|
label: "Dataset".freeze,
|
734
|
-
"owl:equivalentClass" => [%(dcat
|
733
|
+
"owl:equivalentClass" => [%(http://www.w3.org/ns/dcat#Dataset).freeze, %(void:Dataset).freeze, %(http://purl.org/dc/dcmitype/Dataset).freeze],
|
735
734
|
subClassOf: "schema:CreativeWork".freeze,
|
736
735
|
type: "rdfs:Class".freeze
|
737
736
|
term :Date,
|
@@ -1039,7 +1038,7 @@ module RDF
|
|
1039
1038
|
term :Event,
|
1040
1039
|
comment: %(An event happening at a certain time and location, such as a concert, lecture, or festival. Ticketing information may be added via the 'offers' property. Repeated events may be structured as separate Event objects.).freeze,
|
1041
1040
|
label: "Event".freeze,
|
1042
|
-
"owl:equivalentClass" => %(dc
|
1041
|
+
"owl:equivalentClass" => %(http://purl.org/dc/dcmitype/Event).freeze,
|
1043
1042
|
subClassOf: "schema:Thing".freeze,
|
1044
1043
|
type: "rdfs:Class".freeze
|
1045
1044
|
term :EventReservation,
|
@@ -1224,7 +1223,7 @@ module RDF
|
|
1224
1223
|
subClassOf: "schema:Store".freeze,
|
1225
1224
|
type: "rdfs:Class".freeze
|
1226
1225
|
term :HVACBusiness,
|
1227
|
-
comment: %(
|
1226
|
+
comment: %(A business that provide Heating, Ventilation and Air Conditioning services.).freeze,
|
1228
1227
|
label: "HVACBusiness".freeze,
|
1229
1228
|
subClassOf: "schema:HomeAndConstructionBusiness".freeze,
|
1230
1229
|
type: "rdfs:Class".freeze
|
@@ -1259,7 +1258,7 @@ module RDF
|
|
1259
1258
|
subClassOf: "schema:PlaceOfWorship".freeze,
|
1260
1259
|
type: "rdfs:Class".freeze
|
1261
1260
|
term :HobbyShop,
|
1262
|
-
comment: %(A
|
1261
|
+
comment: %(A store that sells materials useful or necessary for various hobbies.).freeze,
|
1263
1262
|
label: "HobbyShop".freeze,
|
1264
1263
|
subClassOf: "schema:Store".freeze,
|
1265
1264
|
type: "rdfs:Class".freeze
|
@@ -1279,7 +1278,7 @@ module RDF
|
|
1279
1278
|
subClassOf: ["schema:CivicStructure".freeze, "schema:EmergencyService".freeze, "schema:MedicalOrganization".freeze],
|
1280
1279
|
type: "rdfs:Class".freeze
|
1281
1280
|
term :Hostel,
|
1282
|
-
comment: %(A hostel.).freeze,
|
1281
|
+
comment: %(A hostel - cheap accommodation, often in shared dormitories.).freeze,
|
1283
1282
|
label: "Hostel".freeze,
|
1284
1283
|
subClassOf: "schema:LodgingBusiness".freeze,
|
1285
1284
|
type: "rdfs:Class".freeze
|
@@ -1311,7 +1310,7 @@ module RDF
|
|
1311
1310
|
term :ImageObject,
|
1312
1311
|
comment: %(An image file.).freeze,
|
1313
1312
|
label: "ImageObject".freeze,
|
1314
|
-
"owl:equivalentClass" => %(dc
|
1313
|
+
"owl:equivalentClass" => %(http://purl.org/dc/dcmitype/Image).freeze,
|
1315
1314
|
subClassOf: "schema:MediaObject".freeze,
|
1316
1315
|
type: "rdfs:Class".freeze
|
1317
1316
|
term :ImagingTest,
|
@@ -1354,7 +1353,7 @@ module RDF
|
|
1354
1353
|
subClassOf: "schema:ConsumeAction".freeze,
|
1355
1354
|
type: "rdfs:Class".freeze
|
1356
1355
|
term :InsuranceAgency,
|
1357
|
-
comment: %(Insurance agency.).freeze,
|
1356
|
+
comment: %(An Insurance agency.).freeze,
|
1358
1357
|
label: "InsuranceAgency".freeze,
|
1359
1358
|
subClassOf: "schema:FinancialService".freeze,
|
1360
1359
|
type: "rdfs:Class".freeze
|
@@ -1477,7 +1476,7 @@ module RDF
|
|
1477
1476
|
subClassOf: "schema:ReactAction".freeze,
|
1478
1477
|
type: "rdfs:Class".freeze
|
1479
1478
|
term :LiquorStore,
|
1480
|
-
comment: %(A
|
1479
|
+
comment: %(A shop that sells alcoholic drinks such as wine, beer, whisky and other spirits.).freeze,
|
1481
1480
|
label: "LiquorStore".freeze,
|
1482
1481
|
subClassOf: "schema:Store".freeze,
|
1483
1482
|
type: "rdfs:Class".freeze
|
@@ -1802,17 +1801,17 @@ module RDF
|
|
1802
1801
|
subClassOf: "schema:Store".freeze,
|
1803
1802
|
type: "rdfs:Class".freeze
|
1804
1803
|
term :MiddleSchool,
|
1805
|
-
comment: %(A middle school.).freeze,
|
1804
|
+
comment: %(A middle school \(typically for children aged around 11-14, although this varies somewhat\).).freeze,
|
1806
1805
|
label: "MiddleSchool".freeze,
|
1807
1806
|
subClassOf: "schema:EducationalOrganization".freeze,
|
1808
1807
|
type: "rdfs:Class".freeze
|
1809
1808
|
term :MobileApplication,
|
1810
|
-
comment: %(A mobile
|
1809
|
+
comment: %(A software application designed specifically to work well on a mobile device such as a telephone.).freeze,
|
1811
1810
|
label: "MobileApplication".freeze,
|
1812
1811
|
subClassOf: "schema:SoftwareApplication".freeze,
|
1813
1812
|
type: "rdfs:Class".freeze
|
1814
1813
|
term :MobilePhoneStore,
|
1815
|
-
comment: %(A mobile
|
1814
|
+
comment: %(A store that sells mobile phones and related accessories.).freeze,
|
1816
1815
|
label: "MobilePhoneStore".freeze,
|
1817
1816
|
subClassOf: "schema:Store".freeze,
|
1818
1817
|
type: "rdfs:Class".freeze
|
@@ -1996,7 +1995,7 @@ module RDF
|
|
1996
1995
|
subClassOf: "schema:StructuredValue".freeze,
|
1997
1996
|
type: "rdfs:Class".freeze
|
1998
1997
|
term :Optician,
|
1999
|
-
comment: %(
|
1998
|
+
comment: %(A store that sells reading glasses and similar devices for improving vision.).freeze,
|
2000
1999
|
label: "Optician".freeze,
|
2001
2000
|
subClassOf: "schema:MedicalOrganization".freeze,
|
2002
2001
|
type: "rdfs:Class".freeze
|
@@ -2097,7 +2096,7 @@ module RDF
|
|
2097
2096
|
subClassOf: "schema:MedicalTest".freeze,
|
2098
2097
|
type: "rdfs:Class".freeze
|
2099
2098
|
term :PawnShop,
|
2100
|
-
comment: %(A
|
2099
|
+
comment: %(A shop that will buy, or lend money against the security of, personal possessions.).freeze,
|
2101
2100
|
label: "PawnShop".freeze,
|
2102
2101
|
subClassOf: "schema:Store".freeze,
|
2103
2102
|
type: "rdfs:Class".freeze
|
@@ -2156,6 +2155,13 @@ module RDF
|
|
2156
2155
|
label: "PerformingGroup".freeze,
|
2157
2156
|
subClassOf: "schema:Organization".freeze,
|
2158
2157
|
type: "rdfs:Class".freeze
|
2158
|
+
term :Periodical,
|
2159
|
+
comment: %(A publication in any medium issued in successive parts bearing numerical or chronological designations and intended, such as a magazine, scholarly journal, or newspaper to continue indefinitely.).freeze,
|
2160
|
+
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex).freeze,
|
2161
|
+
label: "Periodical".freeze,
|
2162
|
+
"owl:equivalentClass" => %(http://purl.org/ontology/bibo/Periodical).freeze,
|
2163
|
+
subClassOf: "schema:CreativeWork".freeze,
|
2164
|
+
type: "rdfs:Class".freeze
|
2159
2165
|
term :Permit,
|
2160
2166
|
comment: %(A permit issued by an organization, e.g. a parking pass.).freeze,
|
2161
2167
|
label: "Permit".freeze,
|
@@ -2351,6 +2357,19 @@ module RDF
|
|
2351
2357
|
label: "PublicationEvent".freeze,
|
2352
2358
|
subClassOf: "schema:Event".freeze,
|
2353
2359
|
type: "rdfs:Class".freeze
|
2360
|
+
term :PublicationIssue,
|
2361
|
+
comment: %(A part of a successively published publication such as a periodical or publication volume, often numbered, usually containing a grouping of works such as articles.).freeze,
|
2362
|
+
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex).freeze,
|
2363
|
+
label: "PublicationIssue".freeze,
|
2364
|
+
"owl:equivalentClass" => %(http://purl.org/ontology/bibo/Issue).freeze,
|
2365
|
+
subClassOf: "schema:CreativeWork".freeze,
|
2366
|
+
type: "rdfs:Class".freeze
|
2367
|
+
term :PublicationVolume,
|
2368
|
+
comment: %(A part of a successively published publication such as a periodical or multi-volume work, often numbered. It may represent a time span, such as a year.).freeze,
|
2369
|
+
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex).freeze,
|
2370
|
+
label: "PublicationVolume".freeze,
|
2371
|
+
subClassOf: "schema:CreativeWork".freeze,
|
2372
|
+
type: "rdfs:Class".freeze
|
2354
2373
|
term :QAPage,
|
2355
2374
|
comment: %(A QAPage is a WebPage focussed on a specific Question and its Answer\(s\), e.g. in a question answering site or documenting Frequently Asked Questions \(FAQs\).).freeze,
|
2356
2375
|
label: "QAPage".freeze,
|
@@ -2385,7 +2404,7 @@ module RDF
|
|
2385
2404
|
subClassOf: "schema:TradeAction".freeze,
|
2386
2405
|
type: "rdfs:Class".freeze
|
2387
2406
|
term :RVPark,
|
2388
|
-
comment: %(
|
2407
|
+
comment: %(A place offering space for "Recreational Vehicles", Caravans, mobile homes and the like.).freeze,
|
2389
2408
|
label: "RVPark".freeze,
|
2390
2409
|
subClassOf: "schema:CivicStructure".freeze,
|
2391
2410
|
type: "rdfs:Class".freeze
|
@@ -2516,7 +2535,7 @@ module RDF
|
|
2516
2535
|
subClassOf: "schema:PlanAction".freeze,
|
2517
2536
|
type: "rdfs:Class".freeze
|
2518
2537
|
term :Reservoir,
|
2519
|
-
comment: %(A reservoir, like the Lake Kariba reservoir.).freeze,
|
2538
|
+
comment: %(A reservoir of water, typically an artificially created lake, like the Lake Kariba reservoir.).freeze,
|
2520
2539
|
label: "Reservoir".freeze,
|
2521
2540
|
subClassOf: "schema:BodyOfWater".freeze,
|
2522
2541
|
type: "rdfs:Class".freeze
|
@@ -2536,7 +2555,7 @@ module RDF
|
|
2536
2555
|
subClassOf: "schema:TransferAction".freeze,
|
2537
2556
|
type: "rdfs:Class".freeze
|
2538
2557
|
term :Review,
|
2539
|
-
comment: %(A review of an item - for example, a restaurant, movie, or store.).freeze,
|
2558
|
+
comment: %(A review of an item - for example, of a restaurant, movie, or store.).freeze,
|
2540
2559
|
label: "Review".freeze,
|
2541
2560
|
subClassOf: "schema:CreativeWork".freeze,
|
2542
2561
|
type: "rdfs:Class".freeze
|
@@ -2617,7 +2636,7 @@ module RDF
|
|
2617
2636
|
subClassOf: "schema:Intangible".freeze,
|
2618
2637
|
type: "rdfs:Class".freeze
|
2619
2638
|
term :SelfStorage,
|
2620
|
-
comment: %(
|
2639
|
+
comment: %(A self-storage facility.).freeze,
|
2621
2640
|
label: "SelfStorage".freeze,
|
2622
2641
|
subClassOf: "schema:LocalBusiness".freeze,
|
2623
2642
|
type: "rdfs:Class".freeze
|
@@ -2728,7 +2747,7 @@ module RDF
|
|
2728
2747
|
subClassOf: ["schema:CivicStructure".freeze, "schema:SportsActivityLocation".freeze],
|
2729
2748
|
type: "rdfs:Class".freeze
|
2730
2749
|
term :State,
|
2731
|
-
comment: %(A state or province.).freeze,
|
2750
|
+
comment: %(A state or province of a country.).freeze,
|
2732
2751
|
label: "State".freeze,
|
2733
2752
|
subClassOf: "schema:AdministrativeArea".freeze,
|
2734
2753
|
type: "rdfs:Class".freeze
|
@@ -2784,7 +2803,7 @@ module RDF
|
|
2784
2803
|
subClassOf: ["schema:CreativeWork".freeze, "schema:Series".freeze],
|
2785
2804
|
type: "rdfs:Class".freeze
|
2786
2805
|
term :Table,
|
2787
|
-
comment: %(A table on
|
2806
|
+
comment: %(A table on a Web page.).freeze,
|
2788
2807
|
label: "Table".freeze,
|
2789
2808
|
subClassOf: "schema:WebPageElement".freeze,
|
2790
2809
|
type: "rdfs:Class".freeze
|
@@ -2839,7 +2858,7 @@ module RDF
|
|
2839
2858
|
subClassOf: "schema:Event".freeze,
|
2840
2859
|
type: "rdfs:Class".freeze
|
2841
2860
|
term :TheaterGroup,
|
2842
|
-
comment: %(A theater group or company
|
2861
|
+
comment: %(A theater group or company, for example, the Royal Shakespeare Company or Druid Theatre.).freeze,
|
2843
2862
|
label: "TheaterGroup".freeze,
|
2844
2863
|
subClassOf: "schema:PerformingGroup".freeze,
|
2845
2864
|
type: "rdfs:Class".freeze
|
@@ -3859,10 +3878,11 @@ module RDF
|
|
3859
3878
|
rangeIncludes: "schema:BookFormatType".freeze,
|
3860
3879
|
type: "rdf:Property".freeze
|
3861
3880
|
property :bookingAgent,
|
3862
|
-
comment: %(
|
3881
|
+
comment: %('bookingAgent' is an out-dated term indicating a 'broker' that serves as a booking agent.).freeze,
|
3863
3882
|
domainIncludes: "schema:Reservation".freeze,
|
3864
3883
|
label: "bookingAgent".freeze,
|
3865
3884
|
rangeIncludes: ["schema:Person".freeze, "schema:Organization".freeze],
|
3885
|
+
"schema:supercededBy" => %(schema:broker).freeze,
|
3866
3886
|
type: "rdf:Property".freeze
|
3867
3887
|
property :bookingTime,
|
3868
3888
|
comment: %(The date and time the reservation was booked.).freeze,
|
@@ -3919,6 +3939,12 @@ module RDF
|
|
3919
3939
|
label: "broadcaster".freeze,
|
3920
3940
|
rangeIncludes: "schema:Organization".freeze,
|
3921
3941
|
type: "rdf:Property".freeze
|
3942
|
+
property :broker,
|
3943
|
+
comment: %(An entity that arranges for an exchange between a buyer and a seller. In most cases a broker never acquires or releases ownership of a product or service involved in an exchange. If it is not clear whether an entity is a broker, seller, or buyer, the latter two terms are preferred.).freeze,
|
3944
|
+
domainIncludes: ["schema:Reservation".freeze, "schema:Order".freeze],
|
3945
|
+
label: "broker".freeze,
|
3946
|
+
rangeIncludes: ["schema:Person".freeze, "schema:Organization".freeze],
|
3947
|
+
type: "rdf:Property".freeze
|
3922
3948
|
property :browserRequirements,
|
3923
3949
|
comment: %(Specifies browser requirements in human-readable text. For example,"requires HTML5 support".).freeze,
|
3924
3950
|
domainIncludes: "schema:WebApplication".freeze,
|
@@ -3982,10 +4008,11 @@ module RDF
|
|
3982
4008
|
rangeIncludes: "schema:Mass".freeze,
|
3983
4009
|
type: "rdf:Property".freeze
|
3984
4010
|
property :carrier,
|
3985
|
-
comment: %(
|
4011
|
+
comment: %('carrier' is an out-dated term indicating the 'provider' for parcel delivery and flights.).freeze,
|
3986
4012
|
domainIncludes: ["schema:ParcelDelivery".freeze, "schema:Flight".freeze],
|
3987
4013
|
label: "carrier".freeze,
|
3988
4014
|
rangeIncludes: "schema:Organization".freeze,
|
4015
|
+
"schema:supercededBy" => %(schema:provider).freeze,
|
3989
4016
|
type: "rdf:Property".freeze
|
3990
4017
|
property :carrierRequirements,
|
3991
4018
|
comment: %(Specifies specific carrier\(s\) requirements for the application \(e.g. an application may only work on a specific carrier network\).).freeze,
|
@@ -4081,7 +4108,8 @@ module RDF
|
|
4081
4108
|
comment: %(Position of the clip within an ordered group of clips.).freeze,
|
4082
4109
|
domainIncludes: "schema:Clip".freeze,
|
4083
4110
|
label: "clipNumber".freeze,
|
4084
|
-
rangeIncludes: "schema:Integer".freeze,
|
4111
|
+
rangeIncludes: ["schema:Integer".freeze, "schema:Text".freeze],
|
4112
|
+
subPropertyOf: "schema:position".freeze,
|
4085
4113
|
type: "rdf:Property".freeze
|
4086
4114
|
property :closes,
|
4087
4115
|
comment: %(The closing hour of the place or service on the given day\(s\) of the week.).freeze,
|
@@ -4494,6 +4522,7 @@ module RDF
|
|
4494
4522
|
comment: %(A short description of the item.).freeze,
|
4495
4523
|
domainIncludes: "schema:Thing".freeze,
|
4496
4524
|
label: "description".freeze,
|
4525
|
+
"owl:equivalentProperty" => %(dc:description).freeze,
|
4497
4526
|
rangeIncludes: "schema:Text".freeze,
|
4498
4527
|
type: "rdf:Property".freeze
|
4499
4528
|
property :device,
|
@@ -4893,7 +4922,8 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
4893
4922
|
comment: %(Position of the episode within an ordered group of episodes.).freeze,
|
4894
4923
|
domainIncludes: "schema:Episode".freeze,
|
4895
4924
|
label: "episodeNumber".freeze,
|
4896
|
-
rangeIncludes: "schema:Integer".freeze,
|
4925
|
+
rangeIncludes: ["schema:Integer".freeze, "schema:Text".freeze],
|
4926
|
+
subPropertyOf: "schema:position".freeze,
|
4897
4927
|
type: "rdf:Property".freeze
|
4898
4928
|
property :episodes,
|
4899
4929
|
comment: %(An episode of a TV/radio series or season \(legacy spelling; see singular form, episode\)).freeze,
|
@@ -4951,6 +4981,14 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
4951
4981
|
label: "evidenceOrigin".freeze,
|
4952
4982
|
rangeIncludes: "schema:Text".freeze,
|
4953
4983
|
type: "rdf:Property".freeze
|
4984
|
+
property :exampleOfWork,
|
4985
|
+
comment: %(A creative work that this work is an example/instance/realization/derivation of.).freeze,
|
4986
|
+
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex).freeze,
|
4987
|
+
domainIncludes: "schema:CreativeWork".freeze,
|
4988
|
+
inverseOf: "schema:workExample".freeze,
|
4989
|
+
label: "exampleOfWork".freeze,
|
4990
|
+
rangeIncludes: "schema:CreativeWork".freeze,
|
4991
|
+
type: "rdf:Property".freeze
|
4954
4992
|
property :exercisePlan,
|
4955
4993
|
comment: %(A sub property of instrument. The exercise plan used on this action.).freeze,
|
4956
4994
|
domainIncludes: "schema:ExerciseAction".freeze,
|
@@ -5055,7 +5093,7 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
5055
5093
|
rangeIncludes: ["schema:Text".freeze, "schema:Distance".freeze],
|
5056
5094
|
type: "rdf:Property".freeze
|
5057
5095
|
property :flightNumber,
|
5058
|
-
comment: %(The unique identifier for a flight
|
5096
|
+
comment: %(The unique identifier for a flight including the airline IATA code. For example, if describing United flight 110, where the IATA code for United is 'UA', the flightNumber is 'UA110'.).freeze,
|
5059
5097
|
domainIncludes: "schema:Flight".freeze,
|
5060
5098
|
label: "flightNumber".freeze,
|
5061
5099
|
rangeIncludes: "schema:Text".freeze,
|
@@ -5251,6 +5289,14 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
5251
5289
|
label: "hasPOS".freeze,
|
5252
5290
|
rangeIncludes: "schema:Place".freeze,
|
5253
5291
|
type: "rdf:Property".freeze
|
5292
|
+
property :hasPart,
|
5293
|
+
comment: %(Indicates a CreativeWork that is \(in some sense\) a part of this CreativeWork.).freeze,
|
5294
|
+
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex).freeze,
|
5295
|
+
domainIncludes: "schema:CreativeWork".freeze,
|
5296
|
+
inverseOf: "schema:isPartOf".freeze,
|
5297
|
+
label: "hasPart".freeze,
|
5298
|
+
rangeIncludes: "schema:CreativeWork".freeze,
|
5299
|
+
type: "rdf:Property".freeze
|
5254
5300
|
property :headline,
|
5255
5301
|
comment: %(Headline of the article).freeze,
|
5256
5302
|
domainIncludes: "schema:CreativeWork".freeze,
|
@@ -5536,6 +5582,7 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
5536
5582
|
property :isPartOf,
|
5537
5583
|
comment: %(Indicates a CreativeWork that this CreativeWork is \(in some sense\) part of.).freeze,
|
5538
5584
|
domainIncludes: "schema:CreativeWork".freeze,
|
5585
|
+
inverseOf: "schema:hasPart".freeze,
|
5539
5586
|
label: "isPartOf".freeze,
|
5540
5587
|
rangeIncludes: "schema:CreativeWork".freeze,
|
5541
5588
|
type: "rdf:Property".freeze
|
@@ -5567,6 +5614,7 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
5567
5614
|
comment: %(The ISBN of the book.).freeze,
|
5568
5615
|
domainIncludes: "schema:Book".freeze,
|
5569
5616
|
label: "isbn".freeze,
|
5617
|
+
"owl:equivalentProperty" => %(http://purl.org/ontology/bibo/isbn).freeze,
|
5570
5618
|
rangeIncludes: "schema:Text".freeze,
|
5571
5619
|
type: "rdf:Property".freeze
|
5572
5620
|
property :isicV4,
|
@@ -5575,6 +5623,23 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
5575
5623
|
label: "isicV4".freeze,
|
5576
5624
|
rangeIncludes: "schema:Text".freeze,
|
5577
5625
|
type: "rdf:Property".freeze
|
5626
|
+
property :issn,
|
5627
|
+
comment: %(The International Standard Serial Number \(ISSN\) that identifies this periodical. You can repeat this property to \(for example\) identify different formats of this periodical.).freeze,
|
5628
|
+
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex).freeze,
|
5629
|
+
domainIncludes: "schema:Periodical".freeze,
|
5630
|
+
label: "issn".freeze,
|
5631
|
+
"owl:equivalentProperty" => %(http://purl.org/ontology/bibo/issn).freeze,
|
5632
|
+
rangeIncludes: "schema:Text".freeze,
|
5633
|
+
type: "rdf:Property".freeze
|
5634
|
+
property :issueNumber,
|
5635
|
+
comment: %(Identifies the issue of publication; for example, "iii" or "2".).freeze,
|
5636
|
+
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex).freeze,
|
5637
|
+
domainIncludes: "schema:PublicationIssue".freeze,
|
5638
|
+
label: "issueNumber".freeze,
|
5639
|
+
"owl:equivalentProperty" => %(http://purl.org/ontology/bibo/issue).freeze,
|
5640
|
+
rangeIncludes: ["schema:Integer".freeze, "schema:Text".freeze],
|
5641
|
+
subPropertyOf: "schema:position".freeze,
|
5642
|
+
type: "rdf:Property".freeze
|
5578
5643
|
property :issuedBy,
|
5579
5644
|
comment: %(The organization issuing the ticket or permit.).freeze,
|
5580
5645
|
domainIncludes: ["schema:Ticket".freeze, "schema:Permit".freeze],
|
@@ -5897,10 +5962,11 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
5897
5962
|
rangeIncludes: ["schema:Text".freeze, "schema:URL".freeze],
|
5898
5963
|
type: "rdf:Property".freeze
|
5899
5964
|
property :merchant,
|
5900
|
-
comment: %(
|
5965
|
+
comment: %('merchant' is an out-dated term for 'seller'.).freeze,
|
5901
5966
|
domainIncludes: "schema:Order".freeze,
|
5902
5967
|
label: "merchant".freeze,
|
5903
5968
|
rangeIncludes: ["schema:Organization".freeze, "schema:Person".freeze],
|
5969
|
+
"schema:supercededBy" => %(schema:seller).freeze,
|
5904
5970
|
type: "rdf:Property".freeze
|
5905
5971
|
property :minPrice,
|
5906
5972
|
comment: %(The lowest price if the price is a range.).freeze,
|
@@ -6211,6 +6277,30 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
6211
6277
|
label: "owns".freeze,
|
6212
6278
|
rangeIncludes: ["schema:OwnershipInfo".freeze, "schema:Product".freeze],
|
6213
6279
|
type: "rdf:Property".freeze
|
6280
|
+
property :pageEnd,
|
6281
|
+
comment: %(The page on which the work ends; for example "138" or "xvi".).freeze,
|
6282
|
+
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex).freeze,
|
6283
|
+
domainIncludes: ["schema:PublicationVolume".freeze, "schema:PublicationIssue".freeze, "schema:Article".freeze],
|
6284
|
+
label: "pageEnd".freeze,
|
6285
|
+
"owl:equivalentProperty" => %(http://purl.org/ontology/bibo/pageEnd).freeze,
|
6286
|
+
rangeIncludes: ["schema:Integer".freeze, "schema:Text".freeze],
|
6287
|
+
type: "rdf:Property".freeze
|
6288
|
+
property :pageStart,
|
6289
|
+
comment: %(The page on which the work starts; for example "135" or "xiii".).freeze,
|
6290
|
+
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex).freeze,
|
6291
|
+
domainIncludes: ["schema:PublicationVolume".freeze, "schema:PublicationIssue".freeze, "schema:Article".freeze],
|
6292
|
+
label: "pageStart".freeze,
|
6293
|
+
"owl:equivalentProperty" => %(http://purl.org/ontology/bibo/pageStart).freeze,
|
6294
|
+
rangeIncludes: ["schema:Integer".freeze, "schema:Text".freeze],
|
6295
|
+
type: "rdf:Property".freeze
|
6296
|
+
property :pagination,
|
6297
|
+
comment: %(Any description of pages that is not separated into pageStart and pageEnd; for example, "1-6, 9, 55" or "10-12, 46-49".).freeze,
|
6298
|
+
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex).freeze,
|
6299
|
+
domainIncludes: ["schema:PublicationVolume".freeze, "schema:PublicationIssue".freeze, "schema:Article".freeze],
|
6300
|
+
label: "pagination".freeze,
|
6301
|
+
"owl:equivalentProperty" => %(http://purl.org/ontology/bibo/pages).freeze,
|
6302
|
+
rangeIncludes: "schema:Text".freeze,
|
6303
|
+
type: "rdf:Property".freeze
|
6214
6304
|
property :parent,
|
6215
6305
|
comment: %(A parent of this person.).freeze,
|
6216
6306
|
domainIncludes: "schema:Person".freeze,
|
@@ -6408,10 +6498,10 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
6408
6498
|
rangeIncludes: "schema:Text".freeze,
|
6409
6499
|
type: "rdf:Property".freeze
|
6410
6500
|
property :position,
|
6411
|
-
comment: %(
|
6412
|
-
domainIncludes:
|
6501
|
+
comment: %(The position of the creative work within a series or other ordered collection of works.).freeze,
|
6502
|
+
domainIncludes: "schema:CreativeWork".freeze,
|
6413
6503
|
label: "position".freeze,
|
6414
|
-
rangeIncludes: "schema:Text".freeze,
|
6504
|
+
rangeIncludes: ["schema:Text".freeze, "schema:Integer".freeze],
|
6415
6505
|
type: "rdf:Property".freeze
|
6416
6506
|
property :possibleComplication,
|
6417
6507
|
comment: %(A possible unexpected and unfavorable evolution of a medical condition. Complications may include worsening of the signs or symptoms of the disease, extension of the condition to other organ systems, etc.).freeze,
|
@@ -6672,8 +6762,8 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
6672
6762
|
rangeIncludes: "schema:Mass".freeze,
|
6673
6763
|
type: "rdf:Property".freeze
|
6674
6764
|
property :provider,
|
6675
|
-
comment: %(The
|
6676
|
-
domainIncludes: ["schema:CreativeWork".freeze, "schema:Service".freeze, "schema:Reservation".freeze, "schema:Flight".freeze, "schema:TrainTrip".freeze, "schema:BusTrip".freeze],
|
6765
|
+
comment: %(The service provider, service operator, or service performer; the goods producer. Another party \(a seller\) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.).freeze,
|
6766
|
+
domainIncludes: ["schema:CreativeWork".freeze, "schema:Service".freeze, "schema:Reservation".freeze, "schema:Flight".freeze, "schema:ParcelDelivery".freeze, "schema:TrainTrip".freeze, "schema:BusTrip".freeze],
|
6677
6767
|
label: "provider".freeze,
|
6678
6768
|
rangeIncludes: ["schema:Person".freeze, "schema:Organization".freeze],
|
6679
6769
|
type: "rdf:Property".freeze
|
@@ -7122,7 +7212,8 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
7122
7212
|
comment: %(Position of the season within an ordered group of seasons.).freeze,
|
7123
7213
|
domainIncludes: ["schema:Season".freeze, "schema:TVSeason".freeze],
|
7124
7214
|
label: "seasonNumber".freeze,
|
7125
|
-
rangeIncludes: "schema:Integer".freeze,
|
7215
|
+
rangeIncludes: ["schema:Integer".freeze, "schema:Text".freeze],
|
7216
|
+
subPropertyOf: "schema:position".freeze,
|
7126
7217
|
type: "rdf:Property".freeze
|
7127
7218
|
property :seasons,
|
7128
7219
|
comment: %(A season in a tv/radio series. \(legacy spelling; see singular form, season\)).freeze,
|
@@ -7168,10 +7259,11 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
7168
7259
|
rangeIncludes: "schema:Demand".freeze,
|
7169
7260
|
type: "rdf:Property".freeze
|
7170
7261
|
property :seller,
|
7171
|
-
comment: %(
|
7172
|
-
domainIncludes: ["schema:Offer".freeze, "schema:Demand".freeze],
|
7262
|
+
comment: %(An entity which offers \(sells / leases / lends / loans\) the services / goods. A seller may also be a provider.).freeze,
|
7263
|
+
domainIncludes: ["schema:Order".freeze, "schema:BuyAction".freeze, "schema:Offer".freeze, "schema:Demand".freeze, "schema:Flight".freeze],
|
7173
7264
|
label: "seller".freeze,
|
7174
7265
|
rangeIncludes: ["schema:Organization".freeze, "schema:Person".freeze],
|
7266
|
+
subPropertyOf: "schema:participant".freeze,
|
7175
7267
|
type: "rdf:Property".freeze
|
7176
7268
|
property :sender,
|
7177
7269
|
comment: %(A sub property of participant. The participant who is at the sending end of the action.).freeze,
|
@@ -7966,10 +8058,11 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
7966
8058
|
rangeIncludes: "schema:Text".freeze,
|
7967
8059
|
type: "rdf:Property".freeze
|
7968
8060
|
property :vendor,
|
7969
|
-
comment: %(
|
8061
|
+
comment: %('vendor' is an earlier term for 'seller'.).freeze,
|
7970
8062
|
domainIncludes: "schema:BuyAction".freeze,
|
7971
8063
|
label: "vendor".freeze,
|
7972
8064
|
rangeIncludes: ["schema:Organization".freeze, "schema:Person".freeze],
|
8065
|
+
"schema:supercededBy" => %(schema:seller).freeze,
|
7973
8066
|
subPropertyOf: "schema:participant".freeze,
|
7974
8067
|
type: "rdf:Property".freeze
|
7975
8068
|
property :version,
|
@@ -7996,6 +8089,15 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
7996
8089
|
label: "videoQuality".freeze,
|
7997
8090
|
rangeIncludes: "schema:Text".freeze,
|
7998
8091
|
type: "rdf:Property".freeze
|
8092
|
+
property :volumeNumber,
|
8093
|
+
comment: %(Identifies the volume of publication or multi-part work; for example, "iii" or "2".).freeze,
|
8094
|
+
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex).freeze,
|
8095
|
+
domainIncludes: "schema:PublicationVolume".freeze,
|
8096
|
+
label: "volumeNumber".freeze,
|
8097
|
+
"owl:equivalentProperty" => %(http://purl.org/ontology/bibo/volume).freeze,
|
8098
|
+
rangeIncludes: ["schema:Integer".freeze, "schema:Text".freeze],
|
8099
|
+
subPropertyOf: "schema:position".freeze,
|
8100
|
+
type: "rdf:Property".freeze
|
7999
8101
|
property :warning,
|
8000
8102
|
comment: %(Any FDA or other warnings about the drug \(text or URL\).).freeze,
|
8001
8103
|
domainIncludes: "schema:Drug".freeze,
|
@@ -8051,6 +8153,14 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
8051
8153
|
label: "wordCount".freeze,
|
8052
8154
|
rangeIncludes: "schema:Integer".freeze,
|
8053
8155
|
type: "rdf:Property".freeze
|
8156
|
+
property :workExample,
|
8157
|
+
comment: %(Example/instance/realization/derivation of the concept of this creative work. eg. The paperback edition, first edition, or eBook.).freeze,
|
8158
|
+
"dc:source" => %(http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_bibex).freeze,
|
8159
|
+
domainIncludes: "schema:CreativeWork".freeze,
|
8160
|
+
inverseOf: "schema:exampleOfWork".freeze,
|
8161
|
+
label: "workExample".freeze,
|
8162
|
+
rangeIncludes: "schema:CreativeWork".freeze,
|
8163
|
+
type: "rdf:Property".freeze
|
8054
8164
|
property :workHours,
|
8055
8165
|
comment: %(The typical working hours for this job \(e.g. 1st shift, night shift, 8am-5pm\).).freeze,
|
8056
8166
|
domainIncludes: "schema:JobPosting".freeze,
|
@@ -8230,15 +8340,15 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
8230
8340
|
label: "EnrollingByInvitation".freeze,
|
8231
8341
|
type: "schema:MedicalStudyStatus".freeze
|
8232
8342
|
term :EventCancelled,
|
8233
|
-
comment: %(The event has been cancelled. If the event has multiple startDate values, all are assumed to be cancelled. Either startDate or previousStartDate may be used to specify the event
|
8343
|
+
comment: %(The event has been cancelled. If the event has multiple startDate values, all are assumed to be cancelled. Either startDate or previousStartDate may be used to specify the event's cancelled date\(s\).).freeze,
|
8234
8344
|
label: "EventCancelled".freeze,
|
8235
8345
|
type: "schema:EventStatusType".freeze
|
8236
8346
|
term :EventPostponed,
|
8237
|
-
comment: %(The event has been postponed and no new date has been set. The event
|
8347
|
+
comment: %(The event has been postponed and no new date has been set. The event's previousStartDate should be set.).freeze,
|
8238
8348
|
label: "EventPostponed".freeze,
|
8239
8349
|
type: "schema:EventStatusType".freeze
|
8240
8350
|
term :EventRescheduled,
|
8241
|
-
comment: %(The event has been rescheduled. The event
|
8351
|
+
comment: %(The event has been rescheduled. The event's previousStartDate should be set to the old date and the startDate should be set to the event's new date. \(If the event has been rescheduled multiple times, the previousStartDate property may be repeated.\)).freeze,
|
8242
8352
|
label: "EventRescheduled".freeze,
|
8243
8353
|
type: "schema:EventStatusType".freeze
|
8244
8354
|
term :EventScheduled,
|
@@ -8520,7 +8630,8 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
8520
8630
|
type: "schema:BookFormatType".freeze
|
8521
8631
|
term :ParkingMap,
|
8522
8632
|
comment: %(A parking map.).freeze,
|
8523
|
-
label: "ParkingMap".freeze
|
8633
|
+
label: "ParkingMap".freeze,
|
8634
|
+
type: "schema:MapCategoryType".freeze
|
8524
8635
|
term :Pathology,
|
8525
8636
|
comment: %(A specific branch of medical science that is concerned with the study of the cause, origin and nature of a disease state, including its consequences as a result of manifestation of the disease. In clinical care, the term is used to designate a branch of medicine using laboratory tests to diagnose and determine the prognostic significance of illness.).freeze,
|
8526
8637
|
label: "Pathology".freeze,
|
@@ -8655,7 +8766,8 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
8655
8766
|
type: "schema:MedicalSpecialty".freeze
|
8656
8767
|
term :SeatingMap,
|
8657
8768
|
comment: %(A seating map.).freeze,
|
8658
|
-
label: "SeatingMap".freeze
|
8769
|
+
label: "SeatingMap".freeze,
|
8770
|
+
type: "schema:MapCategoryType".freeze
|
8659
8771
|
term :SingleBlindedTrial,
|
8660
8772
|
comment: %(A trial design in which the researcher knows which treatment the patient was randomly assigned to but the patient does not.).freeze,
|
8661
8773
|
label: "SingleBlindedTrial".freeze,
|
@@ -8718,7 +8830,8 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
8718
8830
|
type: "schema:MedicineSystem".freeze
|
8719
8831
|
term :TransitMap,
|
8720
8832
|
comment: %(A transit map.).freeze,
|
8721
|
-
label: "TransitMap".freeze
|
8833
|
+
label: "TransitMap".freeze,
|
8834
|
+
type: "schema:MapCategoryType".freeze
|
8722
8835
|
term :TripleBlindedTrial,
|
8723
8836
|
comment: %(A trial design in which neither the researcher, the person administering the therapy nor the patient knows the details of the treatment the patient was randomly assigned to.).freeze,
|
8724
8837
|
label: "TripleBlindedTrial".freeze,
|
@@ -8742,7 +8855,8 @@ Note that Event uses startDate/endDate instead of startTime/endTime, even when d
|
|
8742
8855
|
type: "schema:OfferItemCondition".freeze
|
8743
8856
|
term :VenueMap,
|
8744
8857
|
comment: %(A venue map \(e.g. for malls, auditoriums, museums, etc.\).).freeze,
|
8745
|
-
label: "VenueMap".freeze
|
8858
|
+
label: "VenueMap".freeze,
|
8859
|
+
type: "schema:MapCategoryType".freeze
|
8746
8860
|
term :VitalSign,
|
8747
8861
|
comment: %(VitalSign).freeze,
|
8748
8862
|
label: "VitalSign".freeze,
|
data/lib/rdf/writer.rb
CHANGED
@@ -363,8 +363,9 @@ module RDF
|
|
363
363
|
##
|
364
364
|
# @param [RDF::Graph] graph
|
365
365
|
# @return [void] `self`
|
366
|
-
# @deprecated
|
366
|
+
# @deprecated Please use {RDF::Writable#insert_graph} instead
|
367
367
|
def write_graph(graph)
|
368
|
+
warn "[DEPRECATION] `Writer#graph_write is deprecated. Please use RDF::Writable#insert instead."
|
368
369
|
graph.each_triple { |*triple| write_triple(*triple) }
|
369
370
|
self
|
370
371
|
end
|
@@ -372,9 +373,10 @@ module RDF
|
|
372
373
|
##
|
373
374
|
# @param [Array<RDF::Statement>] statements
|
374
375
|
# @return [void] `self`
|
375
|
-
# @deprecated replace by `RDF::Writable#
|
376
|
+
# @deprecated replace by `RDF::Writable#insert`
|
376
377
|
def write_statements(*statements)
|
377
|
-
|
378
|
+
warn "[DEPRECATION] `Writer#write_statements is deprecated. Please use RDF::Writable#insert instead."
|
379
|
+
statements.each { |statement| write_statement(statement) }
|
378
380
|
self
|
379
381
|
end
|
380
382
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arto Bendiken
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-08-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf-spec
|
@@ -19,6 +19,9 @@ dependencies:
|
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '1.1'
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 1.1.5
|
22
25
|
type: :development
|
23
26
|
prerelease: false
|
24
27
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,6 +29,9 @@ dependencies:
|
|
26
29
|
- - "~>"
|
27
30
|
- !ruby/object:Gem::Version
|
28
31
|
version: '1.1'
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 1.1.5
|
29
35
|
- !ruby/object:Gem::Dependency
|
30
36
|
name: rdf-rdfxml
|
31
37
|
requirement: !ruby/object:Gem::Requirement
|