rdf-vocab 2.2.9 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +5 -5
  2. data/VERSION +1 -1
  3. data/lib/rdf/vocab.rb +21 -2
  4. data/lib/rdf/vocab/acl.rb +21 -5
  5. data/lib/rdf/vocab/bf2.rb +812 -812
  6. data/lib/rdf/vocab/bibframe.rb +78 -78
  7. data/lib/rdf/vocab/bibo.rb +239 -247
  8. data/lib/rdf/vocab/cc.rb +4 -9
  9. data/lib/rdf/vocab/cert.rb +44 -45
  10. data/lib/rdf/vocab/cnt.rb +5 -5
  11. data/lib/rdf/vocab/crm.rb +344 -344
  12. data/lib/rdf/vocab/datacite.rb +152 -58
  13. data/lib/rdf/vocab/dc.rb +439 -439
  14. data/lib/rdf/vocab/dc11.rb +93 -93
  15. data/lib/rdf/vocab/dcat.rb +152 -101
  16. data/lib/rdf/vocab/dcmitype.rb +75 -75
  17. data/lib/rdf/vocab/disco.rb +169 -101
  18. data/lib/rdf/vocab/doap.rb +179 -159
  19. data/lib/rdf/vocab/dwc.rb +1648 -1648
  20. data/lib/rdf/vocab/ebucore.rb +373 -124
  21. data/lib/rdf/vocab/edm.rb +216 -139
  22. data/lib/rdf/vocab/exif.rb +208 -208
  23. data/lib/rdf/vocab/fcrepo4.rb +57 -134
  24. data/lib/rdf/vocab/foaf.rb +166 -166
  25. data/lib/rdf/vocab/geo.rb +3 -5
  26. data/lib/rdf/vocab/geojson.rb +16 -16
  27. data/lib/rdf/vocab/geonames.rb +2827 -3455
  28. data/lib/rdf/vocab/gr.rb +699 -254
  29. data/lib/rdf/vocab/gs1.rb +1765 -1761
  30. data/lib/rdf/vocab/ht.rb +23 -23
  31. data/lib/rdf/vocab/hydra.rb +104 -104
  32. data/lib/rdf/vocab/ical.rb +674 -127
  33. data/lib/rdf/vocab/identifiers.rb +120 -212
  34. data/lib/rdf/vocab/iiif.rb +25 -37
  35. data/lib/rdf/vocab/jsonld.rb +11 -11
  36. data/lib/rdf/vocab/ldp.rb +79 -69
  37. data/lib/rdf/vocab/lrmi.rb +63 -63
  38. data/lib/rdf/vocab/ma.rb +47 -132
  39. data/lib/rdf/vocab/mads.rb +83 -28
  40. data/lib/rdf/vocab/marc_relators.rb +12 -2201
  41. data/lib/rdf/vocab/mo.rb +920 -836
  42. data/lib/rdf/vocab/mods.rb +6 -13
  43. data/lib/rdf/vocab/oa.rb +82 -72
  44. data/lib/rdf/vocab/og.rb +50 -50
  45. data/lib/rdf/vocab/ogc.rb +9 -8
  46. data/lib/rdf/vocab/ore.rb +22 -19
  47. data/lib/rdf/vocab/org.rb +217 -167
  48. data/lib/rdf/vocab/pplan.rb +45 -45
  49. data/lib/rdf/vocab/premis.rb +855 -582
  50. data/lib/rdf/vocab/premis_event_type.rb +148 -70
  51. data/lib/rdf/vocab/prov.rb +842 -806
  52. data/lib/rdf/vocab/rightsstatements.rb +140 -157
  53. data/lib/rdf/vocab/rsa.rb +16 -13
  54. data/lib/rdf/vocab/rss.rb +10 -10
  55. data/lib/rdf/vocab/schema.rb +1448 -1448
  56. data/lib/rdf/vocab/sioc.rb +158 -159
  57. data/lib/rdf/vocab/sioc_services.rb +14 -14
  58. data/lib/rdf/vocab/sioct.rb +70 -70
  59. data/lib/rdf/vocab/skos.rb +97 -93
  60. data/lib/rdf/vocab/skosxl.rb +29 -24
  61. data/lib/rdf/vocab/v.rb +88 -90
  62. data/lib/rdf/vocab/vcard.rb +340 -196
  63. data/lib/rdf/vocab/vmd.rb +88 -90
  64. data/lib/rdf/vocab/vs.rb +15 -15
  65. data/lib/rdf/vocab/wdrs.rb +30 -30
  66. data/lib/rdf/vocab/wot.rb +47 -47
  67. data/lib/rdf/vocab/xhtml.rb +3 -3
  68. data/lib/rdf/vocab/xhv.rb +37 -123
  69. data/lib/rdf/vocab/xkos.rb +110 -107
  70. data/spec/vocab_spec.rb +6 -6
  71. metadata +19 -31
data/lib/rdf/vocab/gr.rb CHANGED
@@ -10,7 +10,7 @@ module RDF::Vocab
10
10
  class GR < RDF::StrictVocabulary("http://purl.org/goodrelations/v1#")
11
11
 
12
12
  # Ontology definition
13
- ontology :"http://purl.org/goodrelations/v1",
13
+ ontology :"http://purl.org/goodrelations/v1#",
14
14
  comment: %(The GoodRelations ontology provides the vocabulary for annotating e-commerce offerings \(1\) to sell, lease, repair, dispose, or maintain commodity products and \(2\) to provide commodity services.
15
15
 
16
16
  GoodRelations allows describing the relationship between \(1\) Web resources, \(2\) offerings made by those Web resources, \(3\) legal entities, \(4\) prices, \(5\) terms and conditions, and the aforementioned ontologies for products and services \(6\).
@@ -24,33 +24,33 @@ If you use GoodRelations for scientific purposes, please cite our paper:
24
24
  Hepp, Martin: GoodRelations: An Ontology for Describing Products and Services Offers on the Web, Proceedings of the 16th International Conference on Knowledge Engineering and Knowledge Management \(EKAW2008\), September 29 - October 3, 2008, Acitrezza, Italy, Springer LNCS, Vol. 5268, pp. 332-347.
25
25
 
26
26
  PDF at http://www.heppnetz.de/publications/).freeze,
27
- :"dc11:contributor" => %(Work on the GoodRelations ontology and related research and development has been partly supported by the Austrian BMVIT/FFG under the FIT-IT Semantic Systems project myOntology \(grant no. 812515/9284\), by a Young Researcher's Grant \(Nachwuchsfoerderung 2005-2006\) from the Leopold-Franzens-Universitaet Innsbruck, by the European Commission under the project SUPER \(FP6-026850\), and by the German Federal Ministry of Research \(BMBF\) by a grant under the KMU Innovativ program as part of the Intelligent Match project \(FKZ 01IS10022B\). The).freeze,
28
- :"dc11:creator" => %(Martin Hepp).freeze,
29
- :"dc11:rights" => %(The GoodRelations ontology is available under the Creative Commons Attribution 3.0 Unported license; see http://creativecommons.org/licenses/by/3.0/. In a nutshell, you are free to copy, distribute and transmit the work; to remix/adapt the work \(e.g. to import the ontology and create specializations of its elements\), as long as you attribute the work in the manner specified by the author or licensor \(but not in any way that suggests that they endorse you or your use of the work\). Proper Attribution: Simply include the statement "This work is based on the GoodRelations ontology, developed by Martin Hepp" and link back to http://purl.org/goodrelations/).freeze,
30
- :"dc11:subject" => %(E-Commerce, E-Business, GoodRelations, Microdata, Ontology, Semantic SEO, RDFa, Linked Data, RDF, Semantic Web, Recommender Systems).freeze,
31
- :"dc11:title" => %(The GoodRelations Vocabulary for Semantic Web-based E-Commerce).freeze,
32
- :"dc:license" => %(http://creativecommons.org/licenses/by/3.0/).freeze,
33
- :"foaf:homepage" => %(http://purl.org/goodrelations/).freeze,
27
+ "dc11:contributor": "Work on the GoodRelations ontology and related research and development has been partly supported by the Austrian BMVIT/FFG under the FIT-IT Semantic Systems project myOntology (grant no. 812515/9284), by a Young Researcher's Grant (Nachwuchsfoerderung 2005-2006) from the Leopold-Franzens-Universitaet Innsbruck, by the European Commission under the project SUPER (FP6-026850), and by the German Federal Ministry of Research (BMBF) by a grant under the KMU Innovativ program as part of the Intelligent Match project (FKZ 01IS10022B). The".freeze,
28
+ "dc11:creator": "Martin Hepp".freeze,
29
+ "dc11:rights": "The GoodRelations ontology is available under the Creative Commons Attribution 3.0 Unported license; see http://creativecommons.org/licenses/by/3.0/. In a nutshell, you are free to copy, distribute and transmit the work; to remix/adapt the work (e.g. to import the ontology and create specializations of its elements), as long as you attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). Proper Attribution: Simply include the statement \"This work is based on the GoodRelations ontology, developed by Martin Hepp\" and link back to http://purl.org/goodrelations/".freeze,
30
+ "dc11:subject": "E-Commerce, E-Business, GoodRelations, Microdata, Ontology, Semantic SEO, RDFa, Linked Data, RDF, Semantic Web, Recommender Systems".freeze,
31
+ "dc11:title": "The GoodRelations Vocabulary for Semantic Web-based E-Commerce".freeze,
32
+ "dc:license": "http://creativecommons.org/licenses/by/3.0/".freeze,
33
+ "foaf:homepage": "http://purl.org/goodrelations/".freeze,
34
34
  label: "GoodRelations Ontology".freeze,
35
- :"owl:versionInfo" => %(V 1.0, Release 2011-10-01).freeze,
35
+ "owl:versionInfo": "V 1.0, Release 2011-10-01".freeze,
36
36
  type: "owl:Ontology".freeze
37
37
 
38
38
  # Class definitions
39
39
  term :ActualProductOrServiceInstance,
40
40
  comment: %(DEPRECATED - This class is superseded by gr:Individual. Replace all occurrences of gr:ActualProductOrServiceInstance by gr:Individual, if possible.).freeze,
41
+ equivalentClass: "gr:Individual".freeze,
42
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
41
43
  label: "Actual product or service instance (DEPRECATED)".freeze,
42
- :"owl:deprecated" => %(true).freeze,
43
- :"owl:equivalentClass" => %(gr:Individual).freeze,
44
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
44
+ "owl:deprecated": "true".freeze,
45
45
  subClassOf: "gr:ProductOrService".freeze,
46
46
  type: "owl:Class".freeze
47
47
  term :Brand,
48
48
  comment: %(A brand is the identity of a specific product, service, or business. Use foaf:logo for attaching a brand logo and gr:name or rdfs:label for attaching the brand name.
49
49
 
50
50
  \(Source: Wikipedia, the free encyclopedia, see http://en.wikipedia.org/wiki/Brand\)).freeze,
51
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
51
52
  label: "Brand".freeze,
52
- :"owl:disjointWith" => [%(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:ProductOrService).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
53
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
53
+ "owl:disjointWith": ["gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
54
54
  type: "owl:Class".freeze
55
55
  term :BusinessEntity,
56
56
  comment: %(An instance of this class represents the legal agent making \(or seeking\) a particular offering. This can be a legal body or a person. A business entity has at least a primary mailing address and contact details. For this, typical address standards \(vCard\) and location data \(geo, WGS84\) can be attached. Note that the location of the business entity is not necessarily the location from which the product or service is being available \(e.g. the branch or store\). Use gr:Location for stores and branches.
@@ -59,17 +59,27 @@ Example: Siemens Austria AG, Volkswagen Ltd., Peter Miller's Cell phone Shop LLC
59
59
 
60
60
  Compatibility with schema.org: This class is equivalent to the union of http://schema.org/Person and http://schema.org/Organization.
61
61
  ).freeze,
62
+ equivalentClass: term(
63
+ type: "owl:Class".freeze,
64
+ unionOf: list(term(
65
+ subClassOf: "gr:BusinessEntity".freeze,
66
+ type: "owl:Class".freeze
67
+ ), term(
68
+ subClassOf: "gr:BusinessEntity".freeze,
69
+ type: "owl:Class".freeze
70
+ ))
71
+ ),
72
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
62
73
  label: "Business entity".freeze,
63
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
64
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
74
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
65
75
  type: "owl:Class".freeze
66
76
  term :BusinessEntityType,
67
77
  comment: %(A business entity type is a conceptual entity representing the legal form, the size, the main line of business, the position in the value chain, or any combination thereof, of a gr:BusinessEntity. From the ontological point of view, business entity types are mostly roles that a business entity has in the market. Business entity types are important for specifying eligible customers, since a gr:Offering is often valid only for business entities of a certain size, legal structure, or role in the value chain.
68
78
 
69
79
  Examples: Consumers, Retailers, Wholesalers, or Public Institutions).freeze,
80
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
70
81
  label: "Business entity type".freeze,
71
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:ProductOrService).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
72
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
82
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
73
83
  type: "owl:Class".freeze
74
84
  term :BusinessFunction,
75
85
  comment: %(The business function specifies the type of activity or access \(i.e., the bundle of rights\) offered by the gr:BusinessEntity on the gr:ProductOrService through the gr:Offering. Typical are sell, rental or lease, maintenance or repair, manufacture / produce, recycle / dispose, engineering / construction, or installation.
@@ -77,17 +87,17 @@ Examples: Consumers, Retailers, Wholesalers, or Public Institutions).freeze,
77
87
  Licenses and other proprietary specifications of access rights are also instances of this class.
78
88
 
79
89
  Examples: A particular offering made by Miller Rentals Ltd. says that they \(1\) sell Volkswagen Golf convertibles, \(2\) lease out a particular Ford pick-up truck, and \(3\) dispose car wrecks of any make and model.).freeze,
90
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
80
91
  label: "Business function".freeze,
81
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:ProductOrService).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
82
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
92
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
83
93
  type: "owl:Class".freeze
84
94
  term :DayOfWeek,
85
95
  comment: %(The day of the week, used to specify to which day the opening hours of a gr:OpeningHoursSpecification refer.
86
96
 
87
97
  Examples: Monday, Tuesday, Wednesday,...).freeze,
98
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
88
99
  label: "Day of week".freeze,
89
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:ProductOrService).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
90
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
100
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
91
101
  type: "owl:Class".freeze
92
102
  term :DeliveryChargeSpecification,
93
103
  comment: %(A delivery charge specification is a conceptual entity that specifies the additional costs asked for the delivery of a given gr:Offering using a particular gr:DeliveryMethod by the respective gr:BusinessEntity. A delivery charge specification is characterized by \(1\) a monetary amount per order, specified as a literal value of type float in combination with a currency, \(2\) the delivery method, \(3\) the target country or region, and \(4\) whether this charge includes local sales taxes, namely VAT.
@@ -100,25 +110,25 @@ The total amount of this charge is specified as a float value of the gr:hasCurre
100
110
  If the price can only be given as a range, use gr:hasMaxCurrencyValue and gr:hasMinCurrencyValue for the upper and lower bounds.
101
111
 
102
112
  Important: When querying for the price, always use gr:hasMaxCurrencyValue and gr:hasMinCurrencyValue.).freeze,
113
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
103
114
  label: "Delivery charge specification".freeze,
104
- :"owl:disjointWith" => [%(gr:PaymentChargeSpecification).freeze, %(gr:UnitPriceSpecification).freeze],
105
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
115
+ "owl:disjointWith": ["gr:PaymentChargeSpecification".freeze, "gr:UnitPriceSpecification".freeze],
106
116
  subClassOf: "gr:PriceSpecification".freeze,
107
117
  type: "owl:Class".freeze
108
118
  term :DeliveryMethod,
109
119
  comment: %(A delivery method is a standardized procedure for transferring the product or service to the destination of fulfilment chosen by the customer. Delivery methods are characterized by the means of transportation used, and by the organization or group that is the contracting party for the sending gr:BusinessEntity \(this is important, since the contracted party may subcontract the fulfilment to smaller, regional businesses\).
110
120
 
111
121
  Examples: Delivery by mail, delivery by direct download, delivery by UPS).freeze,
122
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
112
123
  label: "Delivery method".freeze,
113
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:ProductOrService).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
114
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
124
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
115
125
  type: "owl:Class".freeze
116
126
  term :DeliveryModeParcelService,
117
127
  comment: %(A private parcel service as the delivery mode available for a certain offering.
118
128
 
119
129
  Examples: UPS, DHL).freeze,
130
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
120
131
  label: "Delivery mode parcel service".freeze,
121
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
122
132
  subClassOf: "gr:DeliveryMethod".freeze,
123
133
  type: "owl:Class".freeze
124
134
  term :Individual,
@@ -130,18 +140,18 @@ Note 1: In many cases, product or service instances are not explicitly exposed o
130
140
  Note 2: This class is the new, shorter form of the former gr:ActualProductOrServiceInstance.
131
141
 
132
142
  Compatibility with schema.org: This class is a subclass of http://schema.org/Product.).freeze,
143
+ equivalentClass: "gr:ActualProductOrServiceInstance".freeze,
144
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
133
145
  label: "Individual".freeze,
134
- :"owl:disjointWith" => [%(gr:ProductOrServiceModel).freeze, %(gr:SomeItems).freeze],
135
- :"owl:equivalentClass" => %(gr:ActualProductOrServiceInstance).freeze,
136
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
146
+ "owl:disjointWith": ["gr:ProductOrServiceModel".freeze, "gr:SomeItems".freeze],
137
147
  subClassOf: ["gr:ProductOrService".freeze, "schema:Product".freeze],
138
148
  type: "owl:Class".freeze
139
149
  term :License,
140
150
  comment: %(A license is the specification of a bundle of rights that determines the type of activity or access offered by the gr:BusinessEntity on the gr:ProductOrService through the gr:Offering.
141
151
 
142
152
  Licenses can be standardized \(e.g. LPGL, Creative Commons, ...\), vendor-specific, or individually defined for a single offer or product. Whether there is a fee for obtaining the license is specified using the gr:UnitPriceSpecification attached to the gr:Offering. Use foaf:page for linking to a document containing the license, e.g. in PDF or HTML.).freeze,
153
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
143
154
  label: "License".freeze,
144
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
145
155
  subClassOf: "gr:BusinessFunction".freeze,
146
156
  type: "owl:Class".freeze
147
157
  term :Location,
@@ -152,24 +162,24 @@ Example: A rental car company may offer the Business Function Lease Out of cars
152
162
  Note: Typical address standards \(vcard\) and location data \(geo, WGC84\) should be attached to a gr:Location node. Since there already exist established vocabularies for this, the GoodRelations ontology does not provide respective attributes. Instead, the use of respective vocabularies is recommended. However, the gr:hasGlobalLocationNumber property is provided for linking to public identifiers for business locations.
153
163
 
154
164
  Compatibility with schema.org: This class is equivalent to http://schema.org/Place.).freeze,
165
+ equivalentClass: "gr:LocationOfSalesOrServiceProvisioning".freeze,
166
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
155
167
  label: "Location".freeze,
156
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
157
- :"owl:equivalentClass" => %(gr:LocationOfSalesOrServiceProvisioning).freeze,
158
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
168
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
159
169
  type: "owl:Class".freeze
160
170
  term :LocationOfSalesOrServiceProvisioning,
161
171
  comment: %(DEPRECATED - This class is superseded by gr:Location. Replace all occurrences of gr:LocationOfSalesOrServiceProvisioning by gr:Location, if possible.).freeze,
172
+ equivalentClass: "gr:Location".freeze,
173
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
162
174
  label: "Location of sales or service provisioning (DEPRECATED)".freeze,
163
- :"owl:deprecated" => %(true).freeze,
164
- :"owl:equivalentClass" => %(gr:Location).freeze,
165
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
175
+ "owl:deprecated": "true".freeze,
166
176
  type: "owl:Class".freeze
167
177
  term :"N-Ary-Relations",
168
178
  comment: %(This is the superclass for all classes that are placeholders for n-ary relations, which OWL cannot represent.
169
179
  DEPRECATED. Do not use this class in data or queries.).freeze,
180
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
170
181
  label: "N-ary relations (DEPRECATED)".freeze,
171
- :"owl:deprecated" => %(true).freeze,
172
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
182
+ "owl:deprecated": "true".freeze,
173
183
  type: "owl:Class".freeze
174
184
  term :Offering,
175
185
  comment: %(An offering represents the public, not necessarily binding, not necessarily exclusive, announcement by a gr:BusinessEntity to provide \(or seek\) a certain gr:BusinessFunction for a certain gr:ProductOrService to a specified target audience. An offering is specified by the type of product or service or bundle it refers to, what business function is being offered \(sales, rental, ...\), and a set of commercial properties. It can either refer to
@@ -182,15 +192,15 @@ An offering may be constrained in terms of the eligible type of business partner
182
192
  Example: Peter Miller offers to repair TV sets made by Siemens, Volkswagen Innsbruck sells a particular instance of a Volkswagen Golf at $10,000.
183
193
 
184
194
  Compatibility with schema.org: This class is a superclass to http://schema.org/Offer, since gr:Offering can also represent demand.).freeze,
195
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
185
196
  label: "Offering".freeze,
186
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:ProductOrService).freeze, %(gr:QualitativeValue).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
187
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
197
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:QualitativeValue".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
188
198
  type: "owl:Class".freeze
189
199
  term :OpeningHoursSpecification,
190
200
  comment: %(This is a conceptual entity that holds together all information about the opening hours on a given day \(gr:DayOfWeek\).).freeze,
201
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
191
202
  label: "Opening hours specification".freeze,
192
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:ProductOrService).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
193
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
203
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
194
204
  type: "owl:Class".freeze
195
205
  term :PaymentChargeSpecification,
196
206
  comment: %(A payment charge specification is a conceptual entity that specifies the additional costs asked for settling the payment after accepting a given gr:Offering using a particular gr:PaymentMethod. A payment charge specification is characterized by \(1\) a monetary amount per order specified as a literal value of type float in combination with a Currency, \(2\) the payment method, and \(3\) a whether this charge includes local sales taxes, namely VAT.
@@ -203,32 +213,32 @@ The total amount of this surcharge is specified as a float value of the gr:hasCu
203
213
  If the price can only be given as a range, use gr:hasMaxCurrencyValue and gr:hasMinCurrencyValue for the upper and lower bounds.
204
214
 
205
215
  Important: When querying for the price, always use gr:hasMaxCurrencyValue and gr:hasMinCurrencyValue.).freeze,
216
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
206
217
  label: "Payment charge specification".freeze,
207
- :"owl:disjointWith" => [%(gr:DeliveryChargeSpecification).freeze, %(gr:UnitPriceSpecification).freeze],
208
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
218
+ "owl:disjointWith": ["gr:DeliveryChargeSpecification".freeze, "gr:UnitPriceSpecification".freeze],
209
219
  subClassOf: "gr:PriceSpecification".freeze,
210
220
  type: "owl:Class".freeze
211
221
  term :PaymentMethod,
212
222
  comment: %(A payment method is a standardized procedure for transferring the monetary amount for a purchase. Payment methods are characterized by the legal and technical structures used, and by the organization or group carrying out the transaction. This element is mostly used for specifying the types of payment accepted by a gr:BusinessEntity.
213
223
 
214
224
  Examples: VISA, MasterCard, Diners, cash, or bank transfer in advance.).freeze,
225
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
215
226
  label: "Payment method".freeze,
216
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PriceSpecification).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
217
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
227
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PriceSpecification".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
218
228
  type: "owl:Class".freeze
219
229
  term :PaymentMethodCreditCard,
220
230
  comment: %(The subclass of gr:PaymentMethod represents all variants and brands of credit or debit cards as a standardized procedure for transferring the monetary amount for a purchase. It is mostly used for specifying the types of payment accepted by a gr:Business Entity.
221
231
 
222
232
  Examples: VISA, MasterCard, or American Express.).freeze,
233
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
223
234
  label: "Payment method credit card".freeze,
224
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
225
235
  subClassOf: "gr:PaymentMethod".freeze,
226
236
  type: "owl:Class".freeze
227
237
  term :PriceSpecification,
228
238
  comment: %(The superclass of all price specifications.).freeze,
239
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
229
240
  label: "Price specification".freeze,
230
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:ProductOrService).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
231
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
241
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:ProductOrService".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
232
242
  type: "owl:Class".freeze
233
243
  term :ProductOrService,
234
244
  comment: %(The superclass of all classes describing products or services types, either by nature or purpose. Examples for such subclasses are "TV set", "vacuum cleaner", etc. An instance of this class can be either an actual product or service \(gr:Individual\), a placeholder instance for unknown instances of a mass-produced commodity \(gr:SomeItems\), or a model / prototype specification \(gr:ProductOrServiceModel\). When in doubt, use gr:SomeItems.
@@ -241,9 +251,9 @@ c\) dummyCellPhone123 as a placeholder for actual instances of a certain kind of
241
251
  Note: Your first choice for specializations of gr:ProductOrService should be http://www.productontology.org.
242
252
 
243
253
  Compatibility with schema.org: This class is \(approximately\) equivalent to http://schema.org/Product.).freeze,
254
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
244
255
  label: "Product or service".freeze,
245
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PriceSpecification).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
246
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
256
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PriceSpecification".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
247
257
  type: "owl:Class".freeze
248
258
  term :ProductOrServiceModel,
249
259
  comment: %(A product or service model is a intangible entity that specifies some characteristics of a group of similar, usually mass-produced products, in the sense of a prototype. In case of mass-produced products, there exists a relation gr:hasMakeAndModel between the actual product or service \(gr:Individual or gr:SomeItems\) and the prototype \(gr:ProductOrServiceModel\). GoodRelations treats product or service models as "prototypes" instead of a completely separate kind of entities, because this allows using the same domain-specific properties \(e.g. gr:weight\) for describing makes and models and for describing actual products.
@@ -253,17 +263,17 @@ Examples: Ford T, Volkswagen Golf, Sony Ericsson W123 cell phone
253
263
  Note: An actual product or service \(gr:Individual\) by default shares the features of its model \(e.g. the weight\). However, this requires non-standard reasoning. See http://wiki.goodrelations-vocabulary.org/Axioms for respective rule sets.
254
264
 
255
265
  Compatibility with schema.org: This class is \(approximately\) a subclass of http://schema.org/Product.).freeze,
266
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
256
267
  label: "Product or service model".freeze,
257
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:Individual).freeze, %(gr:SomeItems).freeze],
258
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
268
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:Individual".freeze, "gr:SomeItems".freeze],
259
269
  subClassOf: ["gr:ProductOrService".freeze, "schema:Product".freeze],
260
270
  type: "owl:Class".freeze
261
271
  term :ProductOrServicesSomeInstancesPlaceholder,
262
272
  comment: %(DEPRECATED - This class is superseded by gr:SomeItems. Replace all occurrences of gr:ProductOrServicesSomeInstancesPlaceholder by gr:SomeItems, if possible.).freeze,
273
+ equivalentClass: "gr:SomeItems".freeze,
274
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
263
275
  label: "Product or services some instances placeholder (DEPRECATED)".freeze,
264
- :"owl:deprecated" => %(true).freeze,
265
- :"owl:equivalentClass" => %(gr:SomeItems).freeze,
266
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
276
+ "owl:deprecated": "true".freeze,
267
277
  subClassOf: "gr:ProductOrService".freeze,
268
278
  type: "owl:Class".freeze
269
279
  term :QualitativeValue,
@@ -274,9 +284,9 @@ Examples: the color "green" or the power cord plug type "US"; the garment sizes
274
284
  Note: Value sets are supported by creating subclasses of this class. Ordinal relations between values \(gr:greater, gr:lesser, ...\) are provided directly by GoodRelations.
275
285
 
276
286
  Compatibility with schema.org: This class is equivalent to http://schema.org/Enumeration.).freeze,
287
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
277
288
  label: "Qualitative value".freeze,
278
- :"owl:disjointWith" => [%(gr:Offering).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze],
279
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
289
+ "owl:disjointWith": ["gr:Offering".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze],
280
290
  type: "owl:Class".freeze
281
291
  term :QuantitativeValue,
282
292
  comment: %(A quantitative value is a numerical interval that represents the range of a certain gr:quantitativeProductOrServiceProperty in terms of the lower and upper bounds for a particular gr:ProductOrService. It is to be interpreted in combination with the respective unit of measurement. Most quantitative values are intervals even if they are in practice often treated as a single point value.
@@ -284,9 +294,9 @@ Compatibility with schema.org: This class is equivalent to http://schema.org/Enu
284
294
  Example: a weight between 10 and 25 kilogramms, a length between 10 and 15 milimeters.
285
295
 
286
296
  Compatibility with schema.org: This class is equivalent to http://schema.org/Quantity.).freeze,
297
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
287
298
  label: "Quantitative value".freeze,
288
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:ProductOrService).freeze, %(gr:QualitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
289
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
299
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:QualitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
290
300
  type: "owl:Class".freeze
291
301
  term :QuantitativeValueFloat,
292
302
  comment: %(An instance of this class is an actual float value for a quantitative property of a product. This instance is usually characterized by a minimal value, a maximal value, and a unit of measurement.
@@ -294,9 +304,9 @@ Compatibility with schema.org: This class is equivalent to http://schema.org/Qua
294
304
  Examples: The intervals "between 10.0 and 25.4 kilogramms" or "10.2 and 15.5 milimeters".
295
305
 
296
306
  Compatibility with schema.org: This class is a subclass of http://schema.org/Quantity.).freeze,
307
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
297
308
  label: "Quantitative value float".freeze,
298
- :"owl:disjointWith" => %(gr:QuantitativeValueInteger).freeze,
299
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
309
+ "owl:disjointWith": "gr:QuantitativeValueInteger".freeze,
300
310
  subClassOf: "gr:QuantitativeValue".freeze,
301
311
  type: "owl:Class".freeze
302
312
  term :QuantitativeValueInteger,
@@ -307,9 +317,9 @@ Example: A seating capacity between 1 and 8 persons.
307
317
  Note: Users must keep in mind that ranges in here mean that ALL possible values in this interval are covered. \(Sometimes, the actual commitment may be less than that: "We sell cars from 2 - 12 seats" does often not really mean that they have cars with 2,3,4,...12 seats.\). Someone renting out two types of rowing boats, one that fits for 1 or 2 people, and another that must be operated by 4 people cannot claim to rent boats with a seating capacity between 1 and 4 people. He or she is offering two boat types for 1-2 and 4 persons.
308
318
 
309
319
  Compatibility with schema.org: This class is a subclass of http://schema.org/Quantity.).freeze,
320
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
310
321
  label: "Quantitative value integer".freeze,
311
- :"owl:disjointWith" => %(gr:QuantitativeValueFloat).freeze,
312
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
322
+ "owl:disjointWith": "gr:QuantitativeValueFloat".freeze,
313
323
  subClassOf: "gr:QuantitativeValue".freeze,
314
324
  type: "owl:Class".freeze
315
325
  term :SomeItems,
@@ -320,19 +330,19 @@ Example: An instance of this class can represent an anonymous set of green Sieme
320
330
  Note: This class is the new, shorter form of the former gr:ProductOrServicesSomeInstancesPlaceholder.
321
331
 
322
332
  Compatibility with schema.org: This class is \(approximately\) a subclass of http://schema.org/Product.).freeze,
333
+ equivalentClass: "gr:ProductOrServicesSomeInstancesPlaceholder".freeze,
334
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
323
335
  label: "Some items".freeze,
324
- :"owl:disjointWith" => [%(gr:Individual).freeze, %(gr:ProductOrServiceModel).freeze],
325
- :"owl:equivalentClass" => %(gr:ProductOrServicesSomeInstancesPlaceholder).freeze,
326
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
336
+ "owl:disjointWith": ["gr:Individual".freeze, "gr:ProductOrServiceModel".freeze],
327
337
  subClassOf: ["gr:ProductOrService".freeze, "schema:Product".freeze],
328
338
  type: "owl:Class".freeze
329
339
  term :TypeAndQuantityNode,
330
340
  comment: %(This class collates all the information about a gr:ProductOrService included in a bundle. If a gr:Offering contains just one item, you can directly link from the gr:Offering to the gr:ProductOrService using gr:includes. If the offering contains multiple items, use an instance of this class for each component to indicate the quantity, unit of measurement, and type of product, and link from the gr:Offering via gr:includesObject.
331
341
 
332
342
  Example: An offering may include of 100g of Butter and 1 kg of potatoes, or 1 cell phone and 2 headsets.).freeze,
343
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
333
344
  label: "Type and quantity node".freeze,
334
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:ProductOrService).freeze, %(gr:QualitativeValue).freeze, %(gr:QuantitativeValue).freeze, %(gr:WarrantyPromise).freeze, %(gr:WarrantyScope).freeze],
335
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
345
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:QualitativeValue".freeze, "gr:QuantitativeValue".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze],
336
346
  type: "owl:Class".freeze
337
347
  term :UnitPriceSpecification,
338
348
  comment: %(A unit price specification is a conceptual entity that specifies the price asked for a given gr:Offering by the respective gr:Business Entity. An offering may be linked to multiple unit price specifications that specify alternative prices for non-overlapping sets of conditions \(e.g. quantities or sales regions\) or with differing validity periods.
@@ -361,9 +371,9 @@ Note 1: Due to the complexity of pricing scenarios in various industries, it may
361
371
 
362
372
  Note 2: For Google, attaching a gr:validThrough statement to a gr:UnitPriceSpecification is mandatory.
363
373
  ).freeze,
374
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
364
375
  label: "Unit price specification".freeze,
365
- :"owl:disjointWith" => [%(gr:DeliveryChargeSpecification).freeze, %(gr:PaymentChargeSpecification).freeze],
366
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
376
+ "owl:disjointWith": ["gr:DeliveryChargeSpecification".freeze, "gr:PaymentChargeSpecification".freeze],
367
377
  subClassOf: "gr:PriceSpecification".freeze,
368
378
  type: "owl:Class".freeze
369
379
  term :WarrantyPromise,
@@ -372,60 +382,81 @@ Note 2: For Google, attaching a gr:validThrough statement to a gr:UnitPriceSpeci
372
382
  A Warranty promise is an entity representing the duration and scope of services that will be provided to a customer free of charge in case of a defect or malfunction of the gr:ProductOrService. A warranty promise is characterized by its temporal duration \(usually starting with the date of purchase\) and its gr:WarrantyScope. The warranty scope represents the types of services provided \(e.g. labor and parts, just parts\) of the warranty included in an gr:Offering. The actual services may be provided by the gr:BusinessEntity making the offering, by the manufacturer of the product, or by a third party. There may be multiple warranty promises associated with a particular offering, which differ in duration and scope \(e.g. pick-up service during the first 12 months, just parts and labor for 36 months\).
373
383
 
374
384
  Examples: 12 months parts and labor, 36 months parts).freeze,
385
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
375
386
  label: "Warranty promise".freeze,
376
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:ProductOrService).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyScope).freeze],
377
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
387
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyScope".freeze],
378
388
  type: "owl:Class".freeze
379
389
  term :WarrantyScope,
380
390
  comment: %(The warranty scope represents types of services that will be provided free of charge by the vendor or manufacturer in the case of a defect \(e.g. labor and parts, just parts\), as part of the warranty included in an gr:Offering. The actual services may be provided by the gr:BusinessEntity making the offering, by the manufacturer of the product, or by a third party.
381
391
 
382
392
  Examples: Parts and Labor, Parts).freeze,
393
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
383
394
  label: "Warranty scope".freeze,
384
- :"owl:disjointWith" => [%(gr:Brand).freeze, %(gr:BusinessEntity).freeze, %(gr:BusinessEntityType).freeze, %(gr:BusinessFunction).freeze, %(gr:DayOfWeek).freeze, %(gr:DeliveryMethod).freeze, %(gr:Location).freeze, %(gr:Offering).freeze, %(gr:OpeningHoursSpecification).freeze, %(gr:PaymentMethod).freeze, %(gr:PriceSpecification).freeze, %(gr:ProductOrService).freeze, %(gr:QuantitativeValue).freeze, %(gr:TypeAndQuantityNode).freeze, %(gr:WarrantyPromise).freeze],
385
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
395
+ "owl:disjointWith": ["gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryMethod".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:WarrantyPromise".freeze],
386
396
  type: "owl:Class".freeze
387
397
 
388
398
  # Property definitions
389
399
  property :acceptedPaymentMethods,
390
400
  comment: %(The gr:PaymentMethod or methods accepted by the gr:BusinessEntity for the given gr:Offering.).freeze,
401
+ domain: term(
402
+ type: "owl:Class".freeze,
403
+ unionOf: list("gr:Offering".freeze, term(
404
+ subClassOf: "gr:Offering".freeze,
405
+ type: "owl:Class".freeze
406
+ ))
407
+ ),
408
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
391
409
  label: "accepted payment methods (0..*)".freeze,
392
410
  range: "gr:PaymentMethod".freeze,
393
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
394
411
  type: "owl:ObjectProperty".freeze
395
412
  property :addOn,
396
413
  comment: %(This property points from a gr:Offering to additional offerings that can only be obtained in combination with the first offering. This can be used to model supplements and extensions that are available for a surcharge. Any gr:PriceSpecification attached to the secondary offering is to be understood as an additional charge.).freeze,
414
+ domain: term(
415
+ type: "owl:Class".freeze,
416
+ unionOf: list("gr:Offering".freeze, term(
417
+ subClassOf: "gr:Offering".freeze,
418
+ type: "owl:Class".freeze
419
+ ))
420
+ ),
421
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
397
422
  label: "add-on (0..*)".freeze,
398
423
  range: "gr:Offering".freeze,
399
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
400
424
  type: "owl:ObjectProperty".freeze
401
425
  property :advanceBookingRequirement,
402
426
  comment: %(The minimal and maximal amount of time that is required between accepting the gr:Offering and the actual usage of the resource or service. This is mostly relevant for offers regarding hotel rooms, the rental of objects, or the provisioning of services. The duration is specified relatively to the beginning of the usage of the contracted object. It is represented by attaching an instance of the class gr:QuantitativeValueInteger. The lower and upper boundaries are specified using the properties gr:hasMinValueInteger and gr:hasMaxValueInteger to that instance. The unit of measurement is specified using the property gr:hasUnitOfMeasurement with a string holding a UN/CEFACT code suitable for durations, e.g. MON \(months\), DAY \(days\), HUR \(hours\), or MIN \(minutes\).
403
427
 
404
428
  The difference to the gr:validFrom and gr:validThrough properties is that those specify the interval during which the gr:Offering is valid, while gr:advanceBookingRequirement specifies the acceptable relative amount of time between accepting the offer and the fulfilment or usage.).freeze,
429
+ domain: term(
430
+ type: "owl:Class".freeze,
431
+ unionOf: list("gr:Offering".freeze, term(
432
+ subClassOf: "gr:Offering".freeze,
433
+ type: "owl:Class".freeze
434
+ ))
435
+ ),
436
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
405
437
  label: "advance booking requirement (0..1)".freeze,
406
438
  range: "gr:QuantitativeValueInteger".freeze,
407
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
408
439
  type: "owl:ObjectProperty".freeze
409
440
  property :amountOfThisGood,
410
441
  comment: %(This property specifies the quantity of the goods included in the gr:Offering via this gr:TypeAndQuantityNode. The quantity is given in the unit of measurement attached to the gr:TypeAndQuantityNode.).freeze,
411
442
  domain: "gr:TypeAndQuantityNode".freeze,
443
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
412
444
  label: "amount of this good (1..1)".freeze,
413
445
  range: "xsd:float".freeze,
414
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
415
446
  type: "owl:DatatypeProperty".freeze
416
447
  property :appliesToDeliveryMethod,
417
448
  comment: %(This property specifies the gr:DeliveryMethod to which the gr:DeliveryChargeSpecification applies.).freeze,
418
449
  domain: "gr:DeliveryChargeSpecification".freeze,
450
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
419
451
  label: "applies to delivery method (0..*)".freeze,
420
452
  range: "gr:DeliveryMethod".freeze,
421
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
422
453
  type: "owl:ObjectProperty".freeze
423
454
  property :appliesToPaymentMethod,
424
455
  comment: %(This property specifies the gr:PaymentMethod to which the gr:PaymentChargeSpecification applies.).freeze,
425
456
  domain: "gr:PaymentChargeSpecification".freeze,
457
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
426
458
  label: "applies to payment method (1..*)".freeze,
427
459
  range: "gr:PaymentMethod".freeze,
428
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
429
460
  type: "owl:ObjectProperty".freeze
430
461
  property :availabilityEnds,
431
462
  comment: %(This property specifies the end of the availability of the gr:ProductOrService included in the gr:Offering.
@@ -446,9 +477,16 @@ or
446
477
  2008-05-30T09:30:10+09:00.
447
478
 
448
479
  Note: There is another property gr:availableAtOrFrom, which is used to indicate the gr:Location \(e.g. store or shop\) from which the goods would be available.).freeze,
480
+ domain: term(
481
+ type: "owl:Class".freeze,
482
+ unionOf: list("gr:Offering".freeze, term(
483
+ subClassOf: "gr:Offering".freeze,
484
+ type: "owl:Class".freeze
485
+ ))
486
+ ),
487
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
449
488
  label: "availability ends (0..1)".freeze,
450
489
  range: "xsd:dateTime".freeze,
451
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
452
490
  type: "owl:DatatypeProperty".freeze
453
491
  property :availabilityStarts,
454
492
  comment: %(This property specifies the beginning of the availability of the gr:ProductOrService included in the gr:Offering.
@@ -469,21 +507,42 @@ or
469
507
  2008-05-30T09:30:10+09:00.
470
508
 
471
509
  Note: There is another property gr:availableAtOrFrom, which is used to indicate the gr:Location \(e.g. store or shop\) from which the goods would be available.).freeze,
510
+ domain: term(
511
+ type: "owl:Class".freeze,
512
+ unionOf: list("gr:Offering".freeze, term(
513
+ subClassOf: "gr:Offering".freeze,
514
+ type: "owl:Class".freeze
515
+ ))
516
+ ),
517
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
472
518
  label: "availability starts (0..1)".freeze,
473
519
  range: "xsd:dateTime".freeze,
474
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
475
520
  type: "owl:DatatypeProperty".freeze
476
521
  property :availableAtOrFrom,
477
522
  comment: %(This states that a particular gr:Offering is available at or from the given gr:Location \(e.g. shop or branch\).).freeze,
523
+ domain: term(
524
+ type: "owl:Class".freeze,
525
+ unionOf: list("gr:Offering".freeze, term(
526
+ subClassOf: "gr:Offering".freeze,
527
+ type: "owl:Class".freeze
528
+ ))
529
+ ),
530
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
478
531
  label: "available at or from (0..*)".freeze,
479
532
  range: "gr:Location".freeze,
480
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
481
533
  type: "owl:ObjectProperty".freeze
482
534
  property :availableDeliveryMethods,
483
535
  comment: %(This specifies the gr:DeliveryMethod or methods available for a given gr:Offering.).freeze,
536
+ domain: term(
537
+ type: "owl:Class".freeze,
538
+ unionOf: list("gr:Offering".freeze, term(
539
+ subClassOf: "gr:Offering".freeze,
540
+ type: "owl:Class".freeze
541
+ ))
542
+ ),
543
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
484
544
  label: "available delivery methods (0..*)".freeze,
485
545
  range: "gr:DeliveryMethod".freeze,
486
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
487
546
  type: "owl:ObjectProperty".freeze
488
547
  property :billingIncrement,
489
548
  comment: %(This property specifies the minimal quantity and rounding increment that will be the basis for the billing.
@@ -495,9 +554,9 @@ Examples:
495
554
 
496
555
  This property makes sense only for instances of gr:Offering that include not more than one type of good or service.).freeze,
497
556
  domain: "gr:UnitPriceSpecification".freeze,
557
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
498
558
  label: "billing increment (0..1)".freeze,
499
559
  range: "xsd:float".freeze,
500
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
501
560
  type: "owl:DatatypeProperty".freeze
502
561
  property :category,
503
562
  comment: %(The name of a category to which this gr:ProductOrService, gr:Offering, gr:BusinessEntity, or gr:Location belongs.
@@ -505,9 +564,25 @@ This property makes sense only for instances of gr:Offering that include not mor
505
564
  Note 1: For products, it is better to add an rdf:type statement referring to a GoodRelations-compliant ontology for vertical industries instead, but if you just have a short text label, gr:category is simpler.
506
565
  Note 2: You can use greater signs or slashes to informally indicate a category hierarchy, e.g. "restaurants/asian_restaurants" or "cables > usb_cables"
507
566
  ).freeze,
567
+ domain: term(
568
+ type: "owl:Class".freeze,
569
+ unionOf: list("gr:ProductOrService".freeze, "gr:Offering".freeze, "gr:Location".freeze, "gr:BusinessEntity".freeze, term(
570
+ subClassOf: "gr:Offering".freeze,
571
+ type: "owl:Class".freeze
572
+ ), term(
573
+ type: "owl:Class".freeze,
574
+ equivalentClass: "gr:ProductOrService".freeze
575
+ ), term(
576
+ type: "owl:Class".freeze,
577
+ equivalentClass: "gr:Location".freeze
578
+ ), term(
579
+ subClassOf: "gr:BusinessEntity".freeze,
580
+ type: "owl:Class".freeze
581
+ ))
582
+ ),
583
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
508
584
  label: "category (0..*)".freeze,
509
585
  range: "rdfs:Literal".freeze,
510
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
511
586
  type: "owl:DatatypeProperty".freeze
512
587
  property :closes,
513
588
  comment: %(The closing hour of the gr:Location on the given gr:DayOfWeek.
@@ -527,144 +602,228 @@ Note 1: Use 00:00:00 for the first second of the respective day and 23:59:59 for
527
602
  Note 2: If a store opens at 17:00 on Saturdays and closes at 03:00:00 a.m. next morning, use two instances of this class, one with 17:00:00 - 23:59:59 for Saturday and another one with 00:00:00 - 03:00:00 for Sunday.
528
603
  Note 3: If the shop re-opens on the same day of the week or set of days of the week, you must create a second instance of gr:OpeningHoursSpecification.).freeze,
529
604
  domain: "gr:OpeningHoursSpecification".freeze,
605
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
530
606
  label: "closes (1..1)".freeze,
531
607
  range: "xsd:time".freeze,
532
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
533
608
  type: "owl:DatatypeProperty".freeze
534
609
  property :color,
535
610
  comment: %(The color of the product.).freeze,
611
+ domain: term(
612
+ type: "owl:Class".freeze,
613
+ unionOf: list("gr:ProductOrService".freeze, term(
614
+ type: "owl:Class".freeze,
615
+ equivalentClass: "gr:ProductOrService".freeze
616
+ ))
617
+ ),
618
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
536
619
  label: "color (0..1)".freeze,
537
620
  range: "rdfs:Literal".freeze,
538
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
539
621
  subPropertyOf: "gr:datatypeProductOrServiceProperty".freeze,
540
622
  type: "owl:DatatypeProperty".freeze
541
623
  property :condition,
542
624
  comment: %(A textual description of the condition of the product or service, or the products or services included in the offer \(when attached to a gr:Offering\)).freeze,
625
+ domain: term(
626
+ type: "owl:Class".freeze,
627
+ unionOf: list("gr:Offering".freeze, "gr:ProductOrService".freeze, term(
628
+ type: "owl:Class".freeze,
629
+ equivalentClass: "gr:ProductOrService".freeze
630
+ ))
631
+ ),
632
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
543
633
  label: "condition (0..1)".freeze,
544
634
  range: "rdfs:Literal".freeze,
545
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
546
635
  type: "owl:DatatypeProperty".freeze
547
636
  property :datatypeProductOrServiceProperty,
548
637
  comment: %(This property is the super property for all pure datatype properties that can be used to describe a gr:ProductOrService.
549
638
 
550
639
  In products and services ontologies, only such properties that are no quantitative properties and that have no predefined gr:QualitativeValue instances are subproperties of this property. In practice, this refers to a few integer properties for which the integer value represents qualitative aspects, for string datatypes \(as long as no predefined values exist\), for boolean datatype properties, and for dates and times.).freeze,
640
+ domain: term(
641
+ type: "owl:Class".freeze,
642
+ unionOf: list("gr:ProductOrService".freeze, term(
643
+ type: "owl:Class".freeze,
644
+ equivalentClass: "gr:ProductOrService".freeze
645
+ ))
646
+ ),
647
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
551
648
  label: "datatype product or service property (0..*)".freeze,
552
649
  range: "rdfs:Literal".freeze,
553
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
554
650
  type: "owl:DatatypeProperty".freeze
555
651
  property :deliveryLeadTime,
556
652
  comment: %(This property can be used to indicate the promised delay between the receipt of the order and the goods leaving the warehouse.
557
653
 
558
654
  The duration is specified by attaching an instance of gr:QuantitativeValueInteger. The lower and upper boundaries are specified using the properties gr:hasMinValueInteger and gr:hasMaxValueInteger to that instance. A point value can be modeled with the gr:hasValueInteger property. The unit of measurement is specified using the property gr:hasUnitOfMeasurement with a string holding a UN/CEFACT code suitable for durations, e.g. MON \(months\), DAY \(days\), HUR \(hours\), or MIN \(minutes\).).freeze,
655
+ domain: term(
656
+ type: "owl:Class".freeze,
657
+ unionOf: list("gr:Offering".freeze, term(
658
+ subClassOf: "gr:Offering".freeze,
659
+ type: "owl:Class".freeze
660
+ ))
661
+ ),
662
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
559
663
  label: "delivery lead time (0..1)".freeze,
560
664
  range: "gr:QuantitativeValueInteger".freeze,
561
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
562
665
  type: "owl:ObjectProperty".freeze
563
666
  property :depth,
564
667
  comment: %(The depth of the product.
565
668
  Typical unit code\(s\): CMT for centimeters, INH for inches).freeze,
669
+ domain: term(
670
+ type: "owl:Class".freeze,
671
+ unionOf: list("gr:ProductOrService".freeze, term(
672
+ type: "owl:Class".freeze,
673
+ equivalentClass: "gr:ProductOrService".freeze
674
+ ))
675
+ ),
676
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
566
677
  label: "depth (0..1)".freeze,
567
678
  range: "gr:QuantitativeValue".freeze,
568
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
569
679
  subPropertyOf: "gr:quantitativeProductOrServiceProperty".freeze,
570
680
  type: "owl:ObjectProperty".freeze
571
681
  property :description,
572
682
  comment: %(A short textual description of the resource.
573
683
 
574
684
  This property is semantically equivalent to rdfs:comment and just meant as a handy shortcut for marking up data.).freeze,
685
+ domain: term(
686
+ type: "owl:Class".freeze,
687
+ unionOf: list("owl:Thing".freeze, "gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryChargeSpecification".freeze, "gr:DeliveryMethod".freeze, "gr:DeliveryModeParcelService".freeze, "gr:Individual".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentChargeSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PaymentMethodCreditCard".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:ProductOrServiceModel".freeze, "gr:QualitativeValue".freeze, "gr:QuantitativeValue".freeze, "gr:QuantitativeValueFloat".freeze, "gr:QuantitativeValueInteger".freeze, "gr:SomeItems".freeze, "gr:TypeAndQuantityNode".freeze, "gr:UnitPriceSpecification".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze)
688
+ ),
689
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
575
690
  label: "description (0..1)".freeze,
576
691
  range: "rdfs:Literal".freeze,
577
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
578
692
  type: "owl:DatatypeProperty".freeze
579
693
  property :displayPosition,
580
694
  comment: %(The position at which the option or element should be listed in a menu or user dialog, lower numbers come first.
581
695
 
582
696
  The main usage of this property are the days of the week \(gr:DayOfWeek\), but it is also possible to apply it e.g. to product features or any other conceptual element.
583
697
  Note: Rely on this property only for data originating from a single RDF graph; otherwise, unpredictable results are possible.).freeze,
698
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
584
699
  label: "display position (0..1)".freeze,
585
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
586
700
  type: "owl:AnnotationProperty".freeze
587
701
  property :durationOfWarrantyInMonths,
588
702
  comment: %(This property specifies the duration of the gr:WarrantyPromise in months.).freeze,
589
703
  domain: "gr:WarrantyPromise".freeze,
704
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
590
705
  label: "duration of warranty in months (0..1)".freeze,
591
706
  range: "xsd:int".freeze,
592
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
593
707
  type: "owl:DatatypeProperty".freeze
594
708
  property :eligibleCustomerTypes,
595
709
  comment: %(The types of customers \(gr:BusinessEntityType\) for which the given gr:Offering is valid.).freeze,
710
+ domain: term(
711
+ type: "owl:Class".freeze,
712
+ unionOf: list("gr:Offering".freeze, term(
713
+ subClassOf: "gr:Offering".freeze,
714
+ type: "owl:Class".freeze
715
+ ))
716
+ ),
717
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
596
718
  label: "eligible customer types (0..*)".freeze,
597
719
  range: "gr:BusinessEntityType".freeze,
598
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
599
720
  type: "owl:ObjectProperty".freeze
600
721
  property :eligibleDuration,
601
722
  comment: %(The minimal and maximal duration for which the given gr:Offering or gr:License is valid. This is mostly used for offers regarding accommodation, the rental of objects, or software licenses. The duration is specified by attaching an instance of gr:QuantitativeValue. The lower and upper boundaries are specified using the properties gr:hasMinValue and gr:hasMaxValue to that instance. If they are the same, use the gr:hasValue property. The unit of measurement is specified using the property gr:hasUnitOfMeasurement with a string holding a UN/CEFACT code suitable for durations, e.g. MON \(months\), DAY \(days\), HUR \(hours\), or MIN \(minutes\).
602
723
 
603
724
  The difference to the gr:validFrom and gr:validThrough properties is that those specify the absiolute interval during which the gr:Offering or gr:License is valid, while gr:eligibleDuration specifies the acceptable duration of the contract or usage.).freeze,
725
+ domain: term(
726
+ type: "owl:Class".freeze,
727
+ unionOf: list("gr:Offering".freeze, "gr:License".freeze, term(
728
+ subClassOf: "gr:Offering".freeze,
729
+ type: "owl:Class".freeze
730
+ ))
731
+ ),
732
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
604
733
  label: "eligible duration (0..1)".freeze,
605
734
  range: "gr:QuantitativeValue".freeze,
606
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
607
735
  type: "owl:ObjectProperty".freeze
608
736
  property :eligibleRegions,
609
737
  comment: %(This property specifies the geo-political region or regions for which the gr:Offering, gr:License, or gr:DeliveryChargeSpecification is valid using the two-character version of ISO 3166-1 \(ISO 3166-1 alpha-2\) for regions or ISO 3166-2 , which breaks down the countries from ISO 3166-1 into administrative subdivisions.
610
738
 
611
739
  Important: Do NOT use 3-letter ISO 3166-1 codes!).freeze,
740
+ domain: term(
741
+ type: "owl:Class".freeze,
742
+ unionOf: list("gr:DeliveryChargeSpecification".freeze, "gr:Offering".freeze, "gr:License".freeze, term(
743
+ subClassOf: "gr:Offering".freeze,
744
+ type: "owl:Class".freeze
745
+ ))
746
+ ),
747
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
612
748
  label: "eligible regions (0..*)".freeze,
613
749
  range: "xsd:string".freeze,
614
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
615
750
  type: "owl:DatatypeProperty".freeze
616
751
  property :eligibleTransactionVolume,
617
752
  comment: %(This property can be used to indicate the transaction volume, in a monetary unit, for which the gr:Offering or gr:PriceSpecification is valid. This is mostly used to specify a minimal purchasing volume, to express free shipping above a certain order volume, or to limit the acceptance of credit cards to purchases above a certain amount.
618
753
 
619
754
  The object is a gr:PriceSpecification that uses the properties gr:hasMaxCurrencyValue and gr:hasMinCurrencyValue to indicate the lower and upper boundaries and gr:hasCurrency to indicate the currency using the ISO 4217 standard \(3 characters\).).freeze,
755
+ domain: term(
756
+ type: "owl:Class".freeze,
757
+ unionOf: list("gr:Offering".freeze, "gr:PriceSpecification".freeze, term(
758
+ subClassOf: "gr:Offering".freeze,
759
+ type: "owl:Class".freeze
760
+ ))
761
+ ),
762
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
620
763
  label: "eligible transaction volume (0..1)".freeze,
621
764
  range: "gr:PriceSpecification".freeze,
622
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
623
765
  type: "owl:ObjectProperty".freeze
624
766
  property :equal,
625
767
  comment: %(This ordering relation for qualitative values indicates that the subject is equal to the object.).freeze,
626
768
  domain: "gr:QualitativeValue".freeze,
769
+ inverseOf: "gr:equal".freeze,
770
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
627
771
  label: "equal (0..*)".freeze,
628
- :"owl:inverseOf" => %(gr:equal).freeze,
629
772
  range: "gr:QualitativeValue".freeze,
630
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
631
773
  type: ["owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze, "owl:TransitiveProperty".freeze]
632
774
  property :greater,
633
775
  comment: %(This ordering relation for qualitative values indicates that the subject is greater than the object.).freeze,
634
776
  domain: "gr:QualitativeValue".freeze,
777
+ inverseOf: "gr:lesser".freeze,
778
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
635
779
  label: "greater (0..*)".freeze,
636
- :"owl:inverseOf" => %(gr:lesser).freeze,
637
780
  range: "gr:QualitativeValue".freeze,
638
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
639
781
  type: ["owl:ObjectProperty".freeze, "owl:TransitiveProperty".freeze]
640
782
  property :greaterOrEqual,
641
783
  comment: %(This ordering relation for qualitative values indicates that the subject is greater than or equal to the object.).freeze,
642
784
  domain: "gr:QualitativeValue".freeze,
785
+ inverseOf: "gr:lesserOrEqual".freeze,
786
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
643
787
  label: "greater or equal (0..*)".freeze,
644
- :"owl:inverseOf" => %(gr:lesserOrEqual).freeze,
645
788
  range: "gr:QualitativeValue".freeze,
646
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
647
789
  type: ["owl:ObjectProperty".freeze, "owl:TransitiveProperty".freeze]
648
790
  property :hasBrand,
649
791
  comment: %(This specifies the brand or brands \(gr:Brand\) associated with a gr:ProductOrService, or the brand or brands maintained by a gr:BusinessEntity.).freeze,
792
+ domain: term(
793
+ type: "owl:Class".freeze,
794
+ unionOf: list("gr:BusinessEntity".freeze, "gr:ProductOrService".freeze, term(
795
+ subClassOf: "gr:BusinessEntity".freeze,
796
+ type: "owl:Class".freeze
797
+ ), term(
798
+ type: "owl:Class".freeze,
799
+ equivalentClass: "gr:ProductOrService".freeze
800
+ ))
801
+ ),
802
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
650
803
  label: "has brand (0..*)".freeze,
651
804
  range: "gr:Brand".freeze,
652
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
653
805
  type: "owl:ObjectProperty".freeze
654
806
  property :hasBusinessFunction,
655
807
  comment: %(This specifies the business function of the gr:Offering, i.e. whether the gr:BusinessEntity is offering to sell, to lease, or to repair the particular type of product. In the case of bundles, it is also possible to attach individual business functions to each gr:TypeAndQuantityNode. The business function of the main gr:Offering determines the business function for all included objects or services, unless a business function attached to a gr:TypeAndQuantityNode overrides it.
656
808
 
657
809
  Note: While it is possible that an entity is offering multiple types of business functions for the same set of objects \(e.g. rental and sales\), this should usually not be stated by attaching multiple business functions to the same gr:Offering, since the gr:UnitPriceSpecification for the varying business functions will typically be very different.).freeze,
810
+ domain: term(
811
+ type: "owl:Class".freeze,
812
+ unionOf: list("gr:Offering".freeze, "gr:TypeAndQuantityNode".freeze, term(
813
+ subClassOf: "gr:Offering".freeze,
814
+ type: "owl:Class".freeze
815
+ ))
816
+ ),
817
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
658
818
  label: "has business function (1..*)".freeze,
659
819
  range: "gr:BusinessFunction".freeze,
660
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
661
820
  type: "owl:ObjectProperty".freeze
662
821
  property :hasCurrency,
663
822
  comment: %(The currency for all prices in the gr:PriceSpecification given using the ISO 4217 standard \(3 characters\).).freeze,
664
823
  domain: "gr:PriceSpecification".freeze,
824
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
665
825
  label: "has currency (1..1)".freeze,
666
826
  range: "xsd:string".freeze,
667
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
668
827
  type: "owl:DatatypeProperty".freeze
669
828
  property :hasCurrencyValue,
670
829
  comment: %(This property specifies the amount of money for a price per unit, shipping charges, or payment charges. The currency and other relevant details are attached to the respective gr:PriceSpecification etc.
@@ -675,70 +834,132 @@ GoodRelations also supports giving price information as intervals only. If this
675
834
 
676
835
  Using gr:hasCurrencyValue sets the upper and lower bounds to the same given value, i.e., x gr:hasCurrencyValue y implies x gr:hasMinCurrencyValue y, x gr:hasMaxCurrencyValue y.).freeze,
677
836
  domain: "gr:PriceSpecification".freeze,
837
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
678
838
  label: "has currency value (0..1)".freeze,
679
839
  range: "xsd:float".freeze,
680
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
681
840
  subPropertyOf: ["gr:hasMaxCurrencyValue".freeze, "gr:hasMinCurrencyValue".freeze],
682
841
  type: "owl:DatatypeProperty".freeze
683
842
  property :hasDUNS,
684
843
  comment: %(The Dun & Bradstreet DUNS number for identifying a gr:BusinessEntity. The Dun & Bradstreet DUNS is a nine-digit number used to identify legal entities \(but usually not branches or locations of logistical importance only\).).freeze,
844
+ domain: term(
845
+ type: "owl:Class".freeze,
846
+ unionOf: list("gr:BusinessEntity".freeze, term(
847
+ subClassOf: "gr:BusinessEntity".freeze,
848
+ type: "owl:Class".freeze
849
+ ))
850
+ ),
851
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
685
852
  label: "has DUNS (0..1)".freeze,
686
853
  range: "xsd:string".freeze,
687
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
688
854
  type: "owl:DatatypeProperty".freeze
689
855
  property :"hasEAN_UCC-13",
690
856
  comment: %(The EAN·UCC-13 code of the given gr:ProductOrService or gr:Offering. This code is now officially called GTIN-13 \(Global Trade Identifier Number\) or EAN·UCC-13. Former 12-digit UPC codes can be converted into EAN·UCC-13 code by simply adding a preceeding zero.
691
857
 
692
858
  Note 1: When using this property for searching by 12-digit UPC codes, you must add a preceeding zero digit.
693
859
  Note 2: As of January 1, 2007, the former ISBN numbers for books etc. have been integrated into the EAN·UCC-13 code. For each old ISBN-10 code, there exists a proper translation into EAN·UCC-13 by adding "978" or "979" as prefix. Since the old ISBN-10 is now deprecated, GoodRelations does not provide a property for ISBNs.).freeze,
860
+ domain: term(
861
+ type: "owl:Class".freeze,
862
+ unionOf: list("gr:Offering".freeze, "gr:ProductOrService".freeze, term(
863
+ type: "owl:Class".freeze,
864
+ equivalentClass: "gr:ProductOrService".freeze
865
+ ))
866
+ ),
867
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
694
868
  label: "has EAN/UCC-13 (0..*)".freeze,
695
869
  range: "xsd:string".freeze,
696
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
697
870
  subPropertyOf: "schema:productID".freeze,
698
871
  type: "owl:DatatypeProperty".freeze
699
872
  property :hasEligibleQuantity,
700
873
  comment: %(This specifies the interval and unit of measurement of ordering quantities for which the gr:Offering or gr:PriceSpecification is valid. This allows e.g. specifying that a certain freight charge is valid only for a certain quantity.
701
874
  Note that if an offering is a bundle, i.e. it consists of more than one unit of a single type of good, or if the unit of measurement for the good is different from unit \(Common Code C62\), then gr:hasEligibleQuantity refers to units of this bundle. In other words, "C62" for "Units or pieces" is usually the appropriate unit of measurement.).freeze,
875
+ domain: term(
876
+ type: "owl:Class".freeze,
877
+ unionOf: list("gr:Offering".freeze, "gr:PriceSpecification".freeze, term(
878
+ subClassOf: "gr:Offering".freeze,
879
+ type: "owl:Class".freeze
880
+ ))
881
+ ),
882
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
702
883
  label: "has eligible quantity (0..1)".freeze,
703
884
  range: "gr:QuantitativeValue".freeze,
704
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
705
885
  type: "owl:ObjectProperty".freeze
706
886
  property :"hasGTIN-14",
707
887
  comment: %(The Global Trade Item Number \(GTIN-14\) of the given gr:ProductOrService or gr:Offering.).freeze,
888
+ domain: term(
889
+ type: "owl:Class".freeze,
890
+ unionOf: list("gr:Offering".freeze, "gr:ProductOrService".freeze, term(
891
+ type: "owl:Class".freeze,
892
+ equivalentClass: "gr:ProductOrService".freeze
893
+ ))
894
+ ),
895
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
708
896
  label: "has GTIN-14 (0..*)".freeze,
709
897
  range: "xsd:string".freeze,
710
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
711
898
  subPropertyOf: "schema:productID".freeze,
712
899
  type: "owl:DatatypeProperty".freeze
713
900
  property :"hasGTIN-8",
714
901
  comment: %(The 8-digit Global Trade Item Number \(GTIN-8\) of the given gr:ProductOrService or gr:Offering, also known as EAN/UCC-8 \(8-digit EAN\).).freeze,
902
+ domain: term(
903
+ type: "owl:Class".freeze,
904
+ unionOf: list("gr:Offering".freeze, "gr:ProductOrService".freeze, term(
905
+ type: "owl:Class".freeze,
906
+ equivalentClass: "gr:ProductOrService".freeze
907
+ ))
908
+ ),
909
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
715
910
  label: "has GTIN-8 (0..*)".freeze,
716
911
  range: "xsd:string".freeze,
717
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
718
912
  subPropertyOf: "schema:productID".freeze,
719
913
  type: "owl:DatatypeProperty".freeze
720
914
  property :hasGlobalLocationNumber,
721
915
  comment: %(The Global Location Number \(GLN, sometimes also referred to as International Location Number or ILN\) of the respective gr:BusinessEntity or gr:Location.
722
916
  The Global Location Number is a thirteen-digit number used to identify parties and physical locations.).freeze,
917
+ domain: term(
918
+ type: "owl:Class".freeze,
919
+ unionOf: list("gr:BusinessEntity".freeze, "gr:Location".freeze, term(
920
+ type: "owl:Class".freeze,
921
+ equivalentClass: "gr:Location".freeze
922
+ ), term(
923
+ subClassOf: "gr:BusinessEntity".freeze,
924
+ type: "owl:Class".freeze
925
+ ))
926
+ ),
927
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
723
928
  label: "has Global Location Number (0..1)".freeze,
724
929
  range: "xsd:string".freeze,
725
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
726
930
  type: "owl:DatatypeProperty".freeze
727
931
  property :hasISICv4,
728
932
  comment: %(The International Standard of Industrial Classification of All Economic Activities \(ISIC\), Revision 4 code for a particular gr:BusinessEntity or gr:Location. See http://unstats.un.org/unsd/cr/registry/isic-4.asp for more information.
729
933
 
730
934
  Note: While ISIC codes are sometimes misused for classifying products or services, they are designed and suited only for classifying business establishments.).freeze,
935
+ domain: term(
936
+ type: "owl:Class".freeze,
937
+ unionOf: list("gr:BusinessEntity".freeze, "gr:Location".freeze, term(
938
+ subClassOf: "gr:BusinessEntity".freeze,
939
+ type: "owl:Class".freeze
940
+ ), term(
941
+ type: "owl:Class".freeze,
942
+ equivalentClass: "gr:Location".freeze
943
+ ))
944
+ ),
945
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
731
946
  label: "has ISIC v4 (0..*)".freeze,
732
947
  range: "xsd:int".freeze,
733
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
734
948
  type: "owl:DatatypeProperty".freeze
735
949
  property :hasInventoryLevel,
736
950
  comment: %(This property specifies the current approximate inventory level for gr:SomeItems. The unit of measurement and the point value or interval are indicated using the attached gr:QuantitativeValueFloat instance.
737
951
 
738
952
  This property can also be attached to a gr:Offering in cases where the included products are not modeled in more detail.).freeze,
953
+ domain: term(
954
+ type: "owl:Class".freeze,
955
+ unionOf: list("gr:Offering".freeze, "gr:SomeItems".freeze, term(
956
+ subClassOf: "gr:Offering".freeze,
957
+ type: "owl:Class".freeze
958
+ ))
959
+ ),
960
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
739
961
  label: "has inventory level (0..1)".freeze,
740
962
  range: "gr:QuantitativeValueFloat".freeze,
741
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
742
963
  type: "owl:ObjectProperty".freeze
743
964
  property :hasMPN,
744
965
  comment: %(The Manufacturer Part Number or MPN is a unique identifier for a product, service, or bundle from the perspective of a particular manufacturer. MPNs can be assigned to products or product datasheets, or bundles. Accordingly, the domain of this property is the union of gr:ProductOrService \(the common superclass of goods and datasheets\), and gr:Offering.
@@ -748,24 +969,45 @@ Important: Be careful when assuming two products or services instances or offeri
748
969
  Usually, the properties gr:hasEAN_UCC-13 and gr:hasGTIN-14 are much more reliable identifiers, because they are globally unique.
749
970
 
750
971
  See also http://en.wikipedia.org/wiki/Part_number).freeze,
972
+ domain: term(
973
+ type: "owl:Class".freeze,
974
+ unionOf: list("gr:Offering".freeze, "gr:ProductOrService".freeze, term(
975
+ type: "owl:Class".freeze,
976
+ equivalentClass: "gr:ProductOrService".freeze
977
+ ))
978
+ ),
979
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
751
980
  label: "has MPN (0..*)".freeze,
752
981
  range: "xsd:string".freeze,
753
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
754
982
  subPropertyOf: "schema:productID".freeze,
755
983
  type: "owl:DatatypeProperty".freeze
756
984
  property :hasMakeAndModel,
757
985
  comment: %(This states that an actual product instance \(gr:Individual\) or a placeholder instance for multiple, unidentified such instances \(gr:SomeItems\) is one occurence of a particular gr:ProductOrServiceModel.
758
986
 
759
987
  Example: myFordT hasMakeAndModel FordT.).freeze,
988
+ domain: term(
989
+ type: "owl:Class".freeze,
990
+ unionOf: list("gr:Individual".freeze, "gr:SomeItems".freeze, term(
991
+ type: "owl:Class".freeze,
992
+ equivalentClass: "gr:ProductOrService".freeze
993
+ ))
994
+ ),
995
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
760
996
  label: "has make and model (0..1)".freeze,
761
997
  range: "gr:ProductOrServiceModel".freeze,
762
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
763
998
  type: "owl:ObjectProperty".freeze
764
999
  property :hasManufacturer,
765
1000
  comment: %(This object property links a gr:ProductOrService to the gr:BusinessEntity that produces it. Mostly used with gr:ProductOrServiceModel.).freeze,
1001
+ domain: term(
1002
+ type: "owl:Class".freeze,
1003
+ unionOf: list("gr:ProductOrService".freeze, term(
1004
+ type: "owl:Class".freeze,
1005
+ equivalentClass: "gr:ProductOrService".freeze
1006
+ ))
1007
+ ),
1008
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
766
1009
  label: "has manufacturer (0..1)".freeze,
767
1010
  range: "gr:BusinessEntity".freeze,
768
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
769
1011
  type: "owl:ObjectProperty".freeze
770
1012
  property :hasMaxCurrencyValue,
771
1013
  comment: %(This property specifies the UPPER BOUND of the amount of money for a price RANGE per unit, shipping charges, or payment charges. The currency and other relevant details are attached to the respective gr:PriceSpecification etc.
@@ -773,31 +1015,31 @@ For a gr:UnitPriceSpecification, this is the UPPER BOUND for the price for one u
773
1015
 
774
1016
  Using gr:hasCurrencyValue sets the upper and lower bounds to the same given value, i.e., x gr:hasCurrencyValue y implies x gr:hasMinCurrencyValue y, x gr:hasMaxCurrencyValue y.).freeze,
775
1017
  domain: "gr:PriceSpecification".freeze,
1018
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
776
1019
  label: "has max currency value (1..1)".freeze,
777
1020
  range: "xsd:float".freeze,
778
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
779
1021
  type: "owl:DatatypeProperty".freeze
780
1022
  property :hasMaxValue,
781
1023
  comment: %(This property captures the upper limit of a gr:QuantitativeValue instance.).freeze,
782
1024
  domain: "gr:QuantitativeValue".freeze,
1025
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
783
1026
  label: "has max value (0..1)".freeze,
784
1027
  range: "rdfs:Literal".freeze,
785
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
786
1028
  type: "owl:DatatypeProperty".freeze
787
1029
  property :hasMaxValueFloat,
788
1030
  comment: %(This property captures the upper limit of a gr:QuantitativeValueFloat instance.).freeze,
789
1031
  domain: "gr:QuantitativeValueFloat".freeze,
1032
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
790
1033
  label: "has max value float (1..1)".freeze,
791
1034
  range: "xsd:float".freeze,
792
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
793
1035
  subPropertyOf: "gr:hasMaxValue".freeze,
794
1036
  type: "owl:DatatypeProperty".freeze
795
1037
  property :hasMaxValueInteger,
796
1038
  comment: %(This property captures the upper limit of a gr:QuantitativeValueInteger instance.).freeze,
797
1039
  domain: "gr:QuantitativeValueInteger".freeze,
1040
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
798
1041
  label: "has max value integer (1..1)".freeze,
799
1042
  range: "xsd:int".freeze,
800
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
801
1043
  subPropertyOf: "gr:hasMaxValue".freeze,
802
1044
  type: "owl:DatatypeProperty".freeze
803
1045
  property :hasMinCurrencyValue,
@@ -806,31 +1048,31 @@ For a gr:UnitPriceSpecification, this is the LOWER BOUND for the price for one u
806
1048
 
807
1049
  Using gr:hasCurrencyValue sets the upper and lower bounds to the same given value, i.e., x gr:hasCurrencyValue y implies x gr:hasMinCurrencyValue y, x gr:hasMaxCurrencyValue y.).freeze,
808
1050
  domain: "gr:PriceSpecification".freeze,
1051
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
809
1052
  label: "has min currency value (1..1)".freeze,
810
1053
  range: "xsd:float".freeze,
811
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
812
1054
  type: "owl:DatatypeProperty".freeze
813
1055
  property :hasMinValue,
814
1056
  comment: %(This property captures the lower limit of a gr:QuantitativeValue instance.).freeze,
815
1057
  domain: "gr:QuantitativeValue".freeze,
1058
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
816
1059
  label: "has min value (0..1)".freeze,
817
1060
  range: "rdfs:Literal".freeze,
818
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
819
1061
  type: "owl:DatatypeProperty".freeze
820
1062
  property :hasMinValueFloat,
821
1063
  comment: %(This property captures the lower limit of a gr:QuantitativeValueFloat instance.).freeze,
822
1064
  domain: "gr:QuantitativeValueFloat".freeze,
1065
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
823
1066
  label: "has min value float (1..1)".freeze,
824
1067
  range: "xsd:float".freeze,
825
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
826
1068
  subPropertyOf: "gr:hasMinValue".freeze,
827
1069
  type: "owl:DatatypeProperty".freeze
828
1070
  property :hasMinValueInteger,
829
1071
  comment: %(This property captures the lower limit of a gr:QuantitativeValueInteger instance.).freeze,
830
1072
  domain: "gr:QuantitativeValueInteger".freeze,
1073
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
831
1074
  label: "has min value integer (1..1)".freeze,
832
1075
  range: "xsd:int".freeze,
833
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
834
1076
  subPropertyOf: "gr:hasMinValue".freeze,
835
1077
  type: "owl:DatatypeProperty".freeze
836
1078
  property :hasNAICS,
@@ -838,9 +1080,16 @@ Using gr:hasCurrencyValue sets the upper and lower bounds to the same given valu
838
1080
  See http://www.census.gov/eos/www/naics/ for more details.
839
1081
 
840
1082
  Note: While NAICS codes are sometimes misused for classifying products or services, they are designed and suited only for classifying business establishments.).freeze,
1083
+ domain: term(
1084
+ type: "owl:Class".freeze,
1085
+ unionOf: list("gr:BusinessEntity".freeze, term(
1086
+ subClassOf: "gr:BusinessEntity".freeze,
1087
+ type: "owl:Class".freeze
1088
+ ))
1089
+ ),
1090
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
841
1091
  label: "has NAICS (0..*)".freeze,
842
1092
  range: "xsd:int".freeze,
843
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
844
1093
  type: "owl:DatatypeProperty".freeze
845
1094
  property :hasNext,
846
1095
  comment: %(This ordering relation for gr:DayOfWeek indicates that the subject is directly followed by the object.
@@ -849,31 +1098,45 @@ Example: Monday hasNext Tuesday
849
1098
 
850
1099
  Since days of the week are a cycle, this property is not transitive.).freeze,
851
1100
  domain: "gr:DayOfWeek".freeze,
1101
+ inverseOf: "gr:hasPrevious".freeze,
1102
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
852
1103
  label: "has next (0..1)".freeze,
853
- :"owl:inverseOf" => %(gr:hasPrevious).freeze,
854
1104
  range: "gr:DayOfWeek".freeze,
855
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
856
1105
  type: "owl:ObjectProperty".freeze
857
1106
  property :hasOpeningHoursDayOfWeek,
858
1107
  comment: %(This specifies the gr:DayOfWeek to which the gr:OpeningHoursSpecification is related.
859
1108
 
860
1109
  Note: Use multiple instances of gr:OpeningHoursSpecification for specifying the opening hours for multiple days if the opening hours differ.).freeze,
861
1110
  domain: "gr:OpeningHoursSpecification".freeze,
1111
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
862
1112
  label: "has opening hours day of week (1..*)".freeze,
863
1113
  range: "gr:DayOfWeek".freeze,
864
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
865
1114
  type: "owl:ObjectProperty".freeze
866
1115
  property :hasOpeningHoursSpecification,
867
1116
  comment: %(This property links a gr:Location to a gr:OpeningHoursSpecification.).freeze,
1117
+ domain: term(
1118
+ type: "owl:Class".freeze,
1119
+ unionOf: list("gr:Location".freeze, term(
1120
+ type: "owl:Class".freeze,
1121
+ equivalentClass: "gr:Location".freeze
1122
+ ))
1123
+ ),
1124
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
868
1125
  label: "has opening hours specification (0..*)".freeze,
869
1126
  range: "gr:OpeningHoursSpecification".freeze,
870
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
871
1127
  type: "owl:ObjectProperty".freeze
872
1128
  property :hasPOS,
873
1129
  comment: %(This property states that the respective gr:Location is a point of sale for the respective gr:BusinessEntity. It allows linking those two types of entities without the need for a particular gr:Offering.).freeze,
1130
+ domain: term(
1131
+ type: "owl:Class".freeze,
1132
+ unionOf: list("gr:BusinessEntity".freeze, term(
1133
+ subClassOf: "gr:BusinessEntity".freeze,
1134
+ type: "owl:Class".freeze
1135
+ ))
1136
+ ),
1137
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
874
1138
  label: "has POS (0..*)".freeze,
875
1139
  range: "gr:Location".freeze,
876
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
877
1140
  type: "owl:ObjectProperty".freeze
878
1141
  property :hasPrevious,
879
1142
  comment: %(This ordering relation for gr:DayOfWeek indicates that the subject is directly preceeded by the object.
@@ -882,18 +1145,25 @@ Example: Tuesday hasPrevious Monday
882
1145
 
883
1146
  Since days of the week are a cycle, this property is not transitive.).freeze,
884
1147
  domain: "gr:DayOfWeek".freeze,
1148
+ inverseOf: "gr:hasNext".freeze,
1149
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
885
1150
  label: "has previous (0..1)".freeze,
886
- :"owl:inverseOf" => %(gr:hasNext).freeze,
887
1151
  range: "gr:DayOfWeek".freeze,
888
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
889
1152
  type: "owl:ObjectProperty".freeze
890
1153
  property :hasPriceSpecification,
891
1154
  comment: %(This links a gr:Offering to a gr:PriceSpecification or specifications. There can be unit price specifications, payment charge specifications, and delivery charge specifications. For each type, multiple specifications for the same gr:Offering are possible, e.g. for different quantity ranges or for different currencies, or for different combinations of gr:DeliveryMethod and target destinations.
892
1155
 
893
1156
  Recommended retail prices etc. can be marked by the gr:priceType property of the gr:UnitPriceSpecification.).freeze,
1157
+ domain: term(
1158
+ type: "owl:Class".freeze,
1159
+ unionOf: list("gr:Offering".freeze, term(
1160
+ subClassOf: "gr:Offering".freeze,
1161
+ type: "owl:Class".freeze
1162
+ ))
1163
+ ),
1164
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
894
1165
  label: "has price specification (0..*)".freeze,
895
1166
  range: "gr:PriceSpecification".freeze,
896
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
897
1167
  type: "owl:ObjectProperty".freeze
898
1168
  property :hasStockKeepingUnit,
899
1169
  comment: %(The Stock Keeping Unit, or SKU is a unique identifier for a product, service, or bundle from the perspective of a particular supplier, i.e. SKUs are mostly assigned and serialized at the merchant level.
@@ -908,60 +1178,88 @@ Important: Be careful when assuming two products or services instances or offeri
908
1178
  Usually, the properties gr:hasEAN_UCC-13 and gr:hasGTIN-14 are much more reliable identifiers, because they are globally unique.
909
1179
 
910
1180
  See also http://en.wikipedia.org/wiki/Stock_Keeping_Unit.).freeze,
1181
+ domain: term(
1182
+ type: "owl:Class".freeze,
1183
+ unionOf: list("gr:Offering".freeze, "gr:ProductOrService".freeze, term(
1184
+ subClassOf: "gr:Offering".freeze,
1185
+ type: "owl:Class".freeze
1186
+ ), term(
1187
+ type: "owl:Class".freeze,
1188
+ equivalentClass: "gr:ProductOrService".freeze
1189
+ ))
1190
+ ),
1191
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
911
1192
  label: "has Stock Keeping Unit (0..*)".freeze,
912
1193
  range: "xsd:string".freeze,
913
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
914
1194
  subPropertyOf: "schema:productID".freeze,
915
1195
  type: "owl:DatatypeProperty".freeze
916
1196
  property :hasUnitOfMeasurement,
917
1197
  comment: %(The unit of measurement for a gr:QuantitativeValue, a gr:UnitPriceSpecification, or a gr:TypeAndQuantityNode given using the UN/CEFACT Common Code \(3 characters\).).freeze,
1198
+ domain: term(
1199
+ type: "owl:Class".freeze,
1200
+ unionOf: list("gr:QuantitativeValue".freeze, "gr:TypeAndQuantityNode".freeze, "gr:UnitPriceSpecification".freeze)
1201
+ ),
1202
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
918
1203
  label: "has unit of measurement (1..1)".freeze,
919
1204
  range: "xsd:string".freeze,
920
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
921
1205
  type: "owl:DatatypeProperty".freeze
922
1206
  property :hasValue,
923
1207
  comment: %(This subproperty specifies that the upper and lower limit of the given gr:QuantitativeValue are identical and have the respective value. It is a shortcut for such cases where a quantitative property is \(at least practically\) a single point value and not an interval.).freeze,
924
1208
  domain: "gr:QuantitativeValue".freeze,
1209
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
925
1210
  label: "has value (0..1)".freeze,
926
1211
  range: "rdfs:Literal".freeze,
927
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
928
1212
  subPropertyOf: ["gr:hasMaxValue".freeze, "gr:hasMinValue".freeze],
929
1213
  type: "owl:DatatypeProperty".freeze
930
1214
  property :hasValueFloat,
931
1215
  comment: %(This subproperty specifies that the upper and lower limit of the given gr:QuantitativeValueFloat are identical and have the respective float value. It is a shortcut for such cases where a quantitative property is \(at least practically\) a single point value and not an interval.).freeze,
932
1216
  domain: "gr:QuantitativeValueFloat".freeze,
1217
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
933
1218
  label: "has value float (0..1)".freeze,
934
1219
  range: "xsd:float".freeze,
935
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
936
1220
  subPropertyOf: ["gr:hasMaxValueFloat".freeze, "gr:hasMinValueFloat".freeze],
937
1221
  type: "owl:DatatypeProperty".freeze
938
1222
  property :hasValueInteger,
939
1223
  comment: %(This subproperty specifies that the upper and lower limit of the given gr:QuantitativeValueInteger are identical and have the respective integer value. It is a shortcut for such cases where a quantitative property is \(at least practically\) a single point value and not an interval.).freeze,
940
1224
  domain: "gr:QuantitativeValueInteger".freeze,
1225
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
941
1226
  label: "has value integer (0..1)".freeze,
942
1227
  range: "xsd:int".freeze,
943
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
944
1228
  subPropertyOf: ["gr:hasMaxValueInteger".freeze, "gr:hasMinValueInteger".freeze],
945
1229
  type: "owl:DatatypeProperty".freeze
946
1230
  property :hasWarrantyPromise,
947
1231
  comment: %(This specifies the gr:WarrantyPromise made by the gr:BusinessEntity for the given gr:Offering.).freeze,
1232
+ domain: term(
1233
+ type: "owl:Class".freeze,
1234
+ unionOf: list("gr:Offering".freeze, term(
1235
+ subClassOf: "gr:Offering".freeze,
1236
+ type: "owl:Class".freeze
1237
+ ))
1238
+ ),
1239
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
948
1240
  label: "has warranty promise (0..*)".freeze,
949
1241
  range: "gr:WarrantyPromise".freeze,
950
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
951
1242
  type: "owl:ObjectProperty".freeze
952
1243
  property :hasWarrantyScope,
953
1244
  comment: %(This states the gr:WarrantyScope of a given gr:WarrantyPromise.).freeze,
954
1245
  domain: "gr:WarrantyPromise".freeze,
1246
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
955
1247
  label: "has warranty scope (0..1)".freeze,
956
1248
  range: "gr:WarrantyScope".freeze,
957
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
958
1249
  type: "owl:ObjectProperty".freeze
959
1250
  property :height,
960
1251
  comment: %(The height of the product.
961
1252
  Typical unit code\(s\): CMT for centimeters, INH for inches).freeze,
1253
+ domain: term(
1254
+ type: "owl:Class".freeze,
1255
+ unionOf: list("gr:ProductOrService".freeze, term(
1256
+ type: "owl:Class".freeze,
1257
+ equivalentClass: "gr:ProductOrService".freeze
1258
+ ))
1259
+ ),
1260
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
962
1261
  label: "height (0..1)".freeze,
963
1262
  range: "gr:QuantitativeValue".freeze,
964
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
965
1263
  subPropertyOf: "gr:quantitativeProductOrServiceProperty".freeze,
966
1264
  type: "owl:ObjectProperty".freeze
967
1265
  property :includes,
@@ -974,42 +1272,70 @@ When linking to a gr:ProductOrServiceModel, it is equivalent to
974
1272
  2. linking that blank node via gr:hasMakeAndModel to the gr:ProductOrServiceModel, and
975
1273
  3. linking from the gr:Offering to that blank node using another blank node of type gr:TypeAndQuantityNode with gr:hasUnitOfMeasurement="C62"^^xsd:string and gr:amountOfThisGood="1.0"^^xsd:float for that good.).freeze,
976
1274
  domain: "gr:Offering".freeze,
1275
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
977
1276
  label: "includes (0..1)".freeze,
978
1277
  range: "gr:ProductOrService".freeze,
979
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
980
1278
  type: "owl:ObjectProperty".freeze
981
1279
  property :includesObject,
982
1280
  comment: %(This object property links a gr:Offering to one or multiple gr:TypeAndQuantityNode or nodes that specify the components that are included in the respective offer.).freeze,
1281
+ domain: term(
1282
+ type: "owl:Class".freeze,
1283
+ unionOf: list("gr:Offering".freeze, term(
1284
+ subClassOf: "gr:Offering".freeze,
1285
+ type: "owl:Class".freeze
1286
+ ))
1287
+ ),
1288
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
983
1289
  label: "includes object (0..*)".freeze,
984
1290
  range: "gr:TypeAndQuantityNode".freeze,
985
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
986
1291
  type: "owl:ObjectProperty".freeze
987
1292
  property :isAccessoryOrSparePartFor,
988
1293
  comment: %(This states that a particular gr:ProductOrService is an accessory or spare part for another product or service.).freeze,
1294
+ domain: term(
1295
+ type: "owl:Class".freeze,
1296
+ unionOf: list("gr:ProductOrService".freeze, term(
1297
+ type: "owl:Class".freeze,
1298
+ equivalentClass: "gr:ProductOrService".freeze
1299
+ ))
1300
+ ),
1301
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
989
1302
  label: "is accessory or spare part for (0..*)".freeze,
990
1303
  range: "gr:ProductOrService".freeze,
991
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
992
1304
  type: "owl:ObjectProperty".freeze
993
1305
  property :isConsumableFor,
994
1306
  comment: %(This states that a particular gr:ProductOrService is a consumable for another product or service.).freeze,
1307
+ domain: term(
1308
+ type: "owl:Class".freeze,
1309
+ unionOf: list("gr:ProductOrService".freeze, term(
1310
+ type: "owl:Class".freeze,
1311
+ equivalentClass: "gr:ProductOrService".freeze
1312
+ ))
1313
+ ),
1314
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
995
1315
  label: "is consumable for (0..*)".freeze,
996
1316
  range: "gr:ProductOrService".freeze,
997
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
998
1317
  type: "owl:ObjectProperty".freeze
999
1318
  property :isListPrice,
1000
1319
  comment: %(This boolean attribute indicates whether a gr:UnitPriceSpecification is a list price \(usually a vendor recommendation\) or not. "true" indicates it is a list price, "false" indicates it is not.
1001
1320
  DEPRECATED. Use the gr:priceType property instead.).freeze,
1002
1321
  domain: "gr:UnitPriceSpecification".freeze,
1322
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1003
1323
  label: "is list price (DEPRECATED)".freeze,
1004
- :"owl:deprecated" => %(true).freeze,
1324
+ "owl:deprecated": "true".freeze,
1005
1325
  range: "xsd:boolean".freeze,
1006
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1007
1326
  type: "owl:DatatypeProperty".freeze
1008
1327
  property :isSimilarTo,
1009
1328
  comment: %(This states that a given gr:ProductOrService is similar to another product or service. Of course, this is a subjective statement; when interpreting it, the trust in the origin of the statement should be taken into account.).freeze,
1329
+ domain: term(
1330
+ type: "owl:Class".freeze,
1331
+ unionOf: list("gr:ProductOrService".freeze, term(
1332
+ type: "owl:Class".freeze,
1333
+ equivalentClass: "gr:ProductOrService".freeze
1334
+ ))
1335
+ ),
1336
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1010
1337
  label: "is similar to (0..*)".freeze,
1011
1338
  range: "gr:ProductOrService".freeze,
1012
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1013
1339
  type: "owl:ObjectProperty".freeze
1014
1340
  property :isVariantOf,
1015
1341
  comment: %(This states that a particular gr:ProductOrServiceModel is a variant of another product or service model. It is pretty safe to infer that the variant inherits all gr:quantitativeProductOrServiceProperty, gr:qualitativeProductOrServiceProperty, and gr:datatypeProductOrServiceProperty values that are defined for the first gr:ProductOrServiceModel.
@@ -1017,53 +1343,71 @@ DEPRECATED. Use the gr:priceType property instead.).freeze,
1017
1343
  Example:
1018
1344
  foo:Red_Ford_T_Model gr:isVariantOf foo:Ford_T_Model).freeze,
1019
1345
  domain: "gr:ProductOrServiceModel".freeze,
1346
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1020
1347
  label: "is variant of (0..1)".freeze,
1021
1348
  range: "gr:ProductOrServiceModel".freeze,
1022
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1023
1349
  type: "owl:ObjectProperty".freeze
1024
1350
  property :legalName,
1025
1351
  comment: %(The legal name of the gr:BusinessEntity.).freeze,
1352
+ domain: term(
1353
+ type: "owl:Class".freeze,
1354
+ unionOf: list("gr:BusinessEntity".freeze, term(
1355
+ subClassOf: "gr:BusinessEntity".freeze,
1356
+ type: "owl:Class".freeze
1357
+ ))
1358
+ ),
1359
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1026
1360
  label: "legal name (0..1)".freeze,
1027
1361
  range: "rdfs:Literal".freeze,
1028
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1029
1362
  type: "owl:DatatypeProperty".freeze
1030
1363
  property :lesser,
1031
1364
  comment: %(This ordering relation for gr:QualitativeValue pairs indicates that the subject is lesser than the object.).freeze,
1032
1365
  domain: "gr:QualitativeValue".freeze,
1366
+ inverseOf: "gr:greater".freeze,
1367
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1033
1368
  label: "lesser (0..*)".freeze,
1034
- :"owl:inverseOf" => %(gr:greater).freeze,
1035
1369
  range: "gr:QualitativeValue".freeze,
1036
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1037
1370
  type: ["owl:ObjectProperty".freeze, "owl:TransitiveProperty".freeze]
1038
1371
  property :lesserOrEqual,
1039
1372
  comment: %(This ordering relation for gr:QualitativeValue pairs indicates that the subject is lesser than or equal to the object.).freeze,
1040
1373
  domain: "gr:QualitativeValue".freeze,
1374
+ inverseOf: "gr:greaterOrEqual".freeze,
1375
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1041
1376
  label: "lesser or equal (0..*)".freeze,
1042
- :"owl:inverseOf" => %(gr:greaterOrEqual).freeze,
1043
1377
  range: "gr:QualitativeValue".freeze,
1044
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1045
1378
  type: ["owl:ObjectProperty".freeze, "owl:TransitiveProperty".freeze]
1046
1379
  property :name,
1047
1380
  comment: %(A short text describing the respective resource.
1048
1381
 
1049
1382
  This property is semantically equivalent to dcterms:title and rdfs:label and just meant as a handy shortcut for marking up data.).freeze,
1383
+ domain: term(
1384
+ type: "owl:Class".freeze,
1385
+ unionOf: list("owl:Thing".freeze, "gr:Brand".freeze, "gr:BusinessEntity".freeze, "gr:BusinessEntityType".freeze, "gr:BusinessFunction".freeze, "gr:DayOfWeek".freeze, "gr:DeliveryChargeSpecification".freeze, "gr:DeliveryMethod".freeze, "gr:DeliveryModeParcelService".freeze, "gr:Individual".freeze, "gr:Location".freeze, "gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PaymentChargeSpecification".freeze, "gr:PaymentMethod".freeze, "gr:PaymentMethodCreditCard".freeze, "gr:PriceSpecification".freeze, "gr:ProductOrService".freeze, "gr:ProductOrServiceModel".freeze, "gr:QualitativeValue".freeze, "gr:QuantitativeValue".freeze, "gr:QuantitativeValueFloat".freeze, "gr:QuantitativeValueInteger".freeze, "gr:SomeItems".freeze, "gr:TypeAndQuantityNode".freeze, "gr:UnitPriceSpecification".freeze, "gr:WarrantyPromise".freeze, "gr:WarrantyScope".freeze)
1386
+ ),
1387
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1050
1388
  label: "name (0..1)".freeze,
1051
1389
  range: "rdfs:Literal".freeze,
1052
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1053
1390
  type: "owl:DatatypeProperty".freeze
1054
1391
  property :nonEqual,
1055
1392
  comment: %(This ordering relation for gr:QualitativeValue pairs indicates that the subject is not equal to the object.).freeze,
1056
1393
  domain: "gr:QualitativeValue".freeze,
1394
+ inverseOf: "gr:nonEqual".freeze,
1395
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1057
1396
  label: "non equal (0..*)".freeze,
1058
- :"owl:inverseOf" => %(gr:nonEqual).freeze,
1059
1397
  range: "gr:QualitativeValue".freeze,
1060
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1061
1398
  type: ["owl:ObjectProperty".freeze, "owl:SymmetricProperty".freeze]
1062
1399
  property :offers,
1063
1400
  comment: %(This links a gr:BusinessEntity to the offers \(gr:Offering\) it makes. If you want to express interest in receiving offers, use gr:seeks instead.).freeze,
1401
+ domain: term(
1402
+ type: "owl:Class".freeze,
1403
+ unionOf: list("gr:BusinessEntity".freeze, term(
1404
+ subClassOf: "gr:BusinessEntity".freeze,
1405
+ type: "owl:Class".freeze
1406
+ ))
1407
+ ),
1408
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1064
1409
  label: "offers (0..*)".freeze,
1065
1410
  range: "gr:Offering".freeze,
1066
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1067
1411
  type: "owl:ObjectProperty".freeze
1068
1412
  property :opens,
1069
1413
  comment: %(The opening hour of the gr:Location on the given gr:DayOfWeek.
@@ -1085,9 +1429,9 @@ Note 1: Use 00:00:00 for the first second of the respective day and 23:59:59 for
1085
1429
  Note 2: If a store opens at 17:00 on Saturdays and closes at 03:00:00 a.m. next morning, use 17:00:00 - 23:59:59 for Saturday and 00:00:00 - 03:00:00 for Sunday.
1086
1430
  Note 3: If the shop re-opens on the same day of the week or set of days of the week, you must create a second instance of gr:OpeningHoursSpecification.).freeze,
1087
1431
  domain: "gr:OpeningHoursSpecification".freeze,
1432
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1088
1433
  label: "opens (1..1)".freeze,
1089
1434
  range: "xsd:time".freeze,
1090
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1091
1435
  type: "owl:DatatypeProperty".freeze
1092
1436
  property :owns,
1093
1437
  comment: %(This property indicates that a particular person or business owns a particular product. It can be used to expose the products in one's posession in order to empower recommender systems to suggest matching offers.
@@ -1095,9 +1439,19 @@ Note 3: If the shop re-opens on the same day of the week or set of days of the w
1095
1439
  Note that the product must be an instance of the class gr:Individual.
1096
1440
 
1097
1441
  This property can also be safely applied to foaf:Agent instances.).freeze,
1442
+ domain: term(
1443
+ type: "owl:Class".freeze,
1444
+ unionOf: list("gr:BusinessEntity".freeze, term(
1445
+ subClassOf: "gr:BusinessEntity".freeze,
1446
+ type: "owl:Class".freeze
1447
+ ), term(
1448
+ subClassOf: "gr:BusinessEntity".freeze,
1449
+ type: "owl:Class".freeze
1450
+ ))
1451
+ ),
1452
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1098
1453
  label: "owns (0..*)".freeze,
1099
1454
  range: "gr:Individual".freeze,
1100
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1101
1455
  type: "owl:ObjectProperty".freeze
1102
1456
  property :predecessorOf,
1103
1457
  comment: %(This property indicates that the subject is a previous, often discontinued variant of the gr:ProductOrServiceModel used as the object.
@@ -1106,10 +1460,10 @@ Example: Golf III predecessorOf Golf IV
1106
1460
 
1107
1461
  This relation is transitive.).freeze,
1108
1462
  domain: "gr:ProductOrServiceModel".freeze,
1463
+ inverseOf: "gr:successorOf".freeze,
1464
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1109
1465
  label: "predecessor of (0..*)".freeze,
1110
- :"owl:inverseOf" => %(gr:successorOf).freeze,
1111
1466
  range: "gr:ProductOrServiceModel".freeze,
1112
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1113
1467
  type: ["owl:ObjectProperty".freeze, "owl:TransitiveProperty".freeze]
1114
1468
  property :priceType,
1115
1469
  comment: %(This attribute can be used to distinguish multiple different price specifications for the same gr:Offering. It supersedes the former gr:isListPrice property. The following values are recommended:
@@ -1120,42 +1474,73 @@ SRP: "suggested retail price" - applicable for all sorts of a non-binding retail
1120
1474
 
1121
1475
  INVOICE: The invoice price, mostly used in the car industry - this is the price a dealer pays to the manufacturer, excluding rebates and charges.).freeze,
1122
1476
  domain: "gr:UnitPriceSpecification".freeze,
1477
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1123
1478
  label: "price type (0..1)".freeze,
1124
1479
  range: "xsd:string".freeze,
1125
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1126
1480
  type: "owl:DatatypeProperty".freeze
1127
1481
  property :qualitativeProductOrServiceProperty,
1128
1482
  comment: %(This is the super property of all qualitative properties for products and services. All properties in product or service ontologies for which gr:QualitativeValue instances are specified are subproperties of this property.).freeze,
1483
+ domain: term(
1484
+ type: "owl:Class".freeze,
1485
+ unionOf: list("gr:ProductOrService".freeze, term(
1486
+ type: "owl:Class".freeze,
1487
+ equivalentClass: "gr:ProductOrService".freeze
1488
+ ))
1489
+ ),
1490
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1129
1491
  label: "qualitative product or service property (0..*)".freeze,
1130
1492
  range: "gr:QualitativeValue".freeze,
1131
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1132
1493
  type: "owl:ObjectProperty".freeze
1133
1494
  property :quantitativeProductOrServiceProperty,
1134
1495
  comment: %(This is the super property of all quantitative properties for products and services. All properties in product or service ontologies that specify quantitative characteristics, for which an interval is at least theoretically an appropriate value, are subproperties of this property.).freeze,
1496
+ domain: term(
1497
+ type: "owl:Class".freeze,
1498
+ unionOf: list("gr:ProductOrService".freeze, term(
1499
+ type: "owl:Class".freeze,
1500
+ equivalentClass: "gr:ProductOrService".freeze
1501
+ ))
1502
+ ),
1503
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1135
1504
  label: "quantitative product or service property (0..*)".freeze,
1136
1505
  range: "gr:QuantitativeValue".freeze,
1137
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1138
1506
  type: "owl:ObjectProperty".freeze
1139
1507
  property :relatedWebService,
1140
1508
  comment: %(The URI of a SOAP or REST Web Service from which additional information about the gr:BusinessEntity, gr:Offering, gr:PriceSpecification, or gr:ProductOrService, or any other element, can be obtained. The recommended range is xsd:anyURI i.e., the URI of a SOAP or REST Web Service.
1141
1509
 
1142
1510
  In principle, any existing or upcoming vocabulary for Web Services can be used in combination with GoodRelations, because the association between \(a\) the service description and \(b\) the GoodRelations description can be found via the Web Service URI value used with this gr:relatedWebService property.).freeze,
1511
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1143
1512
  label: "related Web Service (0..*)".freeze,
1144
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1145
1513
  type: "owl:AnnotationProperty".freeze
1146
1514
  property :seeks,
1147
1515
  comment: %(This links a gr:BusinessEntity to gr:Offering nodes that describe what the business entity is interested in \(i.e., the buy side\). If you want to express interest in offering something, use gr:offers instead. Note that this substitutes the former gr:BusinessFunction gr:Buy, which is now deprecated.).freeze,
1516
+ domain: term(
1517
+ type: "owl:Class".freeze,
1518
+ unionOf: list("gr:BusinessEntity".freeze, term(
1519
+ subClassOf: "gr:BusinessEntity".freeze,
1520
+ type: "owl:Class".freeze
1521
+ ), term(
1522
+ subClassOf: "gr:BusinessEntity".freeze,
1523
+ type: "owl:Class".freeze
1524
+ ))
1525
+ ),
1526
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1148
1527
  label: "seeks (0..*)".freeze,
1149
1528
  range: "gr:Offering".freeze,
1150
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1151
1529
  type: "owl:ObjectProperty".freeze
1152
1530
  property :serialNumber,
1153
1531
  comment: %(The serial number or any alphanumeric identifier of a particular product. Note that serial number are unique only for the same brand or the same model, so you cannot infer from two occurrences of the same serial number that the objects to which they are attached are identical.
1154
1532
 
1155
1533
  This property can also be attached to a gr:Offering in cases where the included products are not modeled in more detail.).freeze,
1534
+ domain: term(
1535
+ type: "owl:Class".freeze,
1536
+ unionOf: list("gr:Individual".freeze, "gr:Offering".freeze, term(
1537
+ type: "owl:Class".freeze,
1538
+ equivalentClass: "gr:ProductOrService".freeze
1539
+ ))
1540
+ ),
1541
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1156
1542
  label: "serial number (0..*)".freeze,
1157
1543
  range: "xsd:string".freeze,
1158
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1159
1544
  type: "owl:DatatypeProperty".freeze
1160
1545
  property :successorOf,
1161
1546
  comment: %(This property indicates that the subject is a newer, often updated or improved variant of the gr:ProductOrServiceModel used as the object.
@@ -1164,22 +1549,36 @@ Example: Golf III successorOf Golf II
1164
1549
 
1165
1550
  This relation is transitive.).freeze,
1166
1551
  domain: "gr:ProductOrServiceModel".freeze,
1552
+ inverseOf: "gr:predecessorOf".freeze,
1553
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1167
1554
  label: "successor of (0..*)".freeze,
1168
- :"owl:inverseOf" => %(gr:predecessorOf).freeze,
1169
1555
  range: "gr:ProductOrServiceModel".freeze,
1170
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1171
1556
  type: ["owl:ObjectProperty".freeze, "owl:TransitiveProperty".freeze]
1172
1557
  property :taxID,
1173
1558
  comment: %(The Tax / Fiscal ID of the gr:BusinessEntity, e.g. the TIN in the US or the CIF/NIF in Spain. It is usually assigned by the country of residence).freeze,
1559
+ domain: term(
1560
+ type: "owl:Class".freeze,
1561
+ unionOf: list("gr:BusinessEntity".freeze, term(
1562
+ subClassOf: "gr:BusinessEntity".freeze,
1563
+ type: "owl:Class".freeze
1564
+ ), term(
1565
+ subClassOf: "gr:BusinessEntity".freeze,
1566
+ type: "owl:Class".freeze
1567
+ ))
1568
+ ),
1569
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1174
1570
  label: "Tax ID (0..1)".freeze,
1175
1571
  range: "xsd:string".freeze,
1176
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1177
1572
  type: "owl:DatatypeProperty".freeze
1178
1573
  property :typeOfGood,
1179
1574
  comment: %(This specifies the gr:ProductOrService that the gr:TypeAndQuantityNode is referring to.).freeze,
1180
1575
  domain: "gr:TypeAndQuantityNode".freeze,
1576
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1181
1577
  label: "type of good (1..1)".freeze,
1182
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1578
+ range: term(
1579
+ type: "owl:Class".freeze,
1580
+ unionOf: list("gr:Individual".freeze, "gr:SomeItems".freeze)
1581
+ ),
1183
1582
  type: "owl:ObjectProperty".freeze
1184
1583
  property :validFrom,
1185
1584
  comment: %(This property specifies the beginning of the validity of the gr:Offering, gr:PriceSpecification, gr:License, or gr:OpeningHoursSpecification.
@@ -1198,9 +1597,16 @@ or
1198
1597
  Note: If multiple contradicting instances of a gr:Offering, gr:PriceSpecification, or gr:OpeningHoursSpecification exist, it is a good heuristics to assume that
1199
1598
  1. Information with validity information for the respective period of time ranks higher than information without validity information.
1200
1599
  2. Among conflicting nodes both having validity information, the one with the shorter validity span ranks higher.).freeze,
1600
+ domain: term(
1601
+ type: "owl:Class".freeze,
1602
+ unionOf: list("gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PriceSpecification".freeze, "gr:License".freeze, term(
1603
+ subClassOf: "gr:Offering".freeze,
1604
+ type: "owl:Class".freeze
1605
+ ))
1606
+ ),
1607
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1201
1608
  label: "valid from (0..1)".freeze,
1202
1609
  range: "xsd:dateTime".freeze,
1203
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1204
1610
  type: "owl:DatatypeProperty".freeze
1205
1611
  property :validThrough,
1206
1612
  comment: %(This property specifies the end of the validity of the gr:Offering, gr:PriceSpecification, gr:License, or gr:OpeningHoursSpecification.
@@ -1220,227 +1626,266 @@ Note 1: If multiple contradicting instances of a gr:Offering, gr:PriceSpecificat
1220
1626
  2. Among conflicting nodes both having validity information, the one with the shorter validity span ranks higher.
1221
1627
  Note 2: For Google, attaching a gr:validThrough statement to a gr:UnitPriceSpecification is mandatory.
1222
1628
  ).freeze,
1629
+ domain: term(
1630
+ type: "owl:Class".freeze,
1631
+ unionOf: list("gr:Offering".freeze, "gr:OpeningHoursSpecification".freeze, "gr:PriceSpecification".freeze, "gr:License".freeze, term(
1632
+ subClassOf: "gr:Offering".freeze,
1633
+ type: "owl:Class".freeze
1634
+ ))
1635
+ ),
1636
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1223
1637
  label: "valid through (0..1)".freeze,
1224
1638
  range: "xsd:dateTime".freeze,
1225
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1226
1639
  type: "owl:DatatypeProperty".freeze
1227
1640
  property :valueAddedTaxIncluded,
1228
1641
  comment: %(This property specifies whether the applicable value-added tax \(VAT\) is included in the price of the gr:PriceSpecification or not.
1229
1642
 
1230
1643
  Note: This is a simple representation which may not properly reflect all details of local taxation.).freeze,
1231
1644
  domain: "gr:PriceSpecification".freeze,
1645
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1232
1646
  label: "value added tax included (0..1)".freeze,
1233
1647
  range: "xsd:boolean".freeze,
1234
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1235
1648
  type: "owl:DatatypeProperty".freeze
1236
1649
  property :valueReference,
1237
1650
  comment: %(The superclass of properties that link a gr:QuantitativeValue or a gr:QualitativeValue to a second gr:QuantitativeValue or a gr:QualitativeValue that provides additional information on the original value. A good modeling practice is to define specializations of this property \(e.g. foo:referenceTemperature\) for your particular domain.).freeze,
1651
+ domain: term(
1652
+ type: "owl:Class".freeze,
1653
+ unionOf: list("gr:QualitativeValue".freeze, "gr:QuantitativeValue".freeze)
1654
+ ),
1655
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1238
1656
  label: "value reference (0..*)".freeze,
1239
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1657
+ range: term(
1658
+ type: "owl:Class".freeze,
1659
+ unionOf: list("gr:QualitativeValue".freeze, "gr:QuantitativeValue".freeze)
1660
+ ),
1240
1661
  type: "owl:ObjectProperty".freeze
1241
1662
  property :vatID,
1242
1663
  comment: %(The Value-added Tax ID of the gr:BusinessEntity. See http://en.wikipedia.org/wiki/Value_added_tax_identification_number for details.).freeze,
1664
+ domain: term(
1665
+ type: "owl:Class".freeze,
1666
+ unionOf: list("gr:BusinessEntity".freeze, term(
1667
+ subClassOf: "gr:BusinessEntity".freeze,
1668
+ type: "owl:Class".freeze
1669
+ ), term(
1670
+ subClassOf: "gr:BusinessEntity".freeze,
1671
+ type: "owl:Class".freeze
1672
+ ))
1673
+ ),
1674
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1243
1675
  label: "VAT ID (0..1)".freeze,
1244
1676
  range: "xsd:string".freeze,
1245
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1246
1677
  type: "owl:DatatypeProperty".freeze
1247
1678
  property :weight,
1248
1679
  comment: %(The weight of the gr:ProductOrService.
1249
1680
  Typical unit code\(s\): GRM for gram, KGM for kilogram, LBR for pound).freeze,
1681
+ domain: term(
1682
+ type: "owl:Class".freeze,
1683
+ unionOf: list("gr:ProductOrService".freeze, term(
1684
+ type: "owl:Class".freeze,
1685
+ equivalentClass: "gr:ProductOrService".freeze
1686
+ ))
1687
+ ),
1688
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1250
1689
  label: "weight (0..1)".freeze,
1251
1690
  range: "gr:QuantitativeValue".freeze,
1252
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1253
1691
  subPropertyOf: "gr:quantitativeProductOrServiceProperty".freeze,
1254
1692
  type: "owl:ObjectProperty".freeze
1255
1693
  property :width,
1256
1694
  comment: %(The width of the gr:ProductOrService.
1257
1695
  Typical unit code\(s\): CMT for centimeters, INH for inches).freeze,
1696
+ domain: term(
1697
+ type: "owl:Class".freeze,
1698
+ unionOf: list("gr:ProductOrService".freeze, term(
1699
+ type: "owl:Class".freeze,
1700
+ equivalentClass: "gr:ProductOrService".freeze
1701
+ ))
1702
+ ),
1703
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1258
1704
  label: "width (0..1)".freeze,
1259
1705
  range: "gr:QuantitativeValue".freeze,
1260
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1261
1706
  subPropertyOf: "gr:quantitativeProductOrServiceProperty".freeze,
1262
1707
  type: "owl:ObjectProperty".freeze
1263
1708
 
1264
1709
  # Extra definitions
1265
1710
  term :AmericanExpress,
1266
1711
  comment: %(Payment by credit or debit cards issued by the American Express network.).freeze,
1712
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1267
1713
  label: "American Express (payment method)".freeze,
1268
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1269
1714
  type: "gr:PaymentMethodCreditCard".freeze
1270
1715
  term :Business,
1271
1716
  comment: %(The gr:BusinessEntityType representing such agents that are themselves offering commercial services or products on the market. Usually, businesses are characterized by the fact that they are officially registered with the public administration and strive for profits by their activities.).freeze,
1717
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1272
1718
  label: "Business (business entity type)".freeze,
1273
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1274
1719
  type: "gr:BusinessEntityType".freeze
1275
1720
  term :Buy,
1276
1721
  comment: %(This gr:BusinessFunction indicates that the gr:BusinessEntity is in general interested in purchasing the specified gr:ProductOrService.
1277
1722
  DEPRECATED. Use gr:seeks instead.).freeze,
1723
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1278
1724
  label: "Buy (business function, DEPRECATED)".freeze,
1279
- :"owl:deprecated" => %(true).freeze,
1280
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1725
+ "owl:deprecated": "true".freeze,
1281
1726
  type: "gr:BusinessFunction".freeze
1282
1727
  term :ByBankTransferInAdvance,
1283
1728
  comment: %(Payment by bank transfer in advance, i.e., the offering gr:BusinessEntity will inform the buying party about their bank account details and will deliver the goods upon receipt of the due amount.
1284
1729
  This is equivalent to payment by wire transfer.).freeze,
1730
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1285
1731
  label: "By bank transfer in advance (payment method)".freeze,
1286
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1287
1732
  type: "gr:PaymentMethod".freeze
1288
1733
  term :ByInvoice,
1289
1734
  comment: %(Payment by bank transfer after delivery, i.e., the offering gr:BusinessEntity will deliver first, inform the buying party about the due amount and their bank account details, and expect payment shortly after delivery.).freeze,
1735
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1290
1736
  label: "By invoice (payment method)".freeze,
1291
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1292
1737
  type: "gr:PaymentMethod".freeze
1293
1738
  term :COD,
1294
1739
  comment: %(Collect on delivery / Cash on delivery - A payment method where the recipient of goods pays at the time of delivery. Usually, the amount of money is collected by the transportation company handling the goods.).freeze,
1740
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1295
1741
  label: "COD (payment method)".freeze,
1296
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1297
1742
  type: "gr:PaymentMethod".freeze
1298
1743
  term :Cash,
1299
1744
  comment: %(Payment by cash upon delivery or pickup.).freeze,
1745
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1300
1746
  label: "Cash (payment method)".freeze,
1301
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1302
1747
  type: "gr:PaymentMethod".freeze
1303
1748
  term :CheckInAdvance,
1304
1749
  comment: %(Payment by sending a check in advance, i.e., the offering gr:BusinessEntity will deliver the goods upon receipt of a check over the due amount. There are variations in handling payment by check - sometimes, shipment will be upon receipt of the check as a document, sometimes the shipment will take place only upon successful crediting of the check.).freeze,
1750
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1305
1751
  label: "Check in advance (payment method)".freeze,
1306
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1307
1752
  type: "gr:PaymentMethod".freeze
1308
1753
  term :ConstructionInstallation,
1309
1754
  comment: %(This gr:BusinessFunction indicates that the gr:BusinessEntity offers \(or seeks\) the construction and/or installation of the specified gr:ProductOrService at the customer's location.).freeze,
1755
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1310
1756
  label: "Construction / installation (business function)".freeze,
1311
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1312
1757
  type: "gr:BusinessFunction".freeze
1313
1758
  term :DHL,
1314
1759
  comment: %(Delivery via the parcel service DHL.).freeze,
1760
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1315
1761
  label: "DHL (delivery method)".freeze,
1316
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1317
1762
  type: "gr:DeliveryModeParcelService".freeze
1318
1763
  term :DeliveryModeDirectDownload,
1319
1764
  comment: %(Delivery of the goods via direct download from the Internet, i.e., the offering gr:BusinessEntity provides the buying party with details on how to retrieve the goods online. Connection fees and other costs of using the infrastructure are to be carried by the buying party.).freeze,
1765
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1320
1766
  label: "Delivery mode direct download (delivery method)".freeze,
1321
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1322
1767
  type: "gr:DeliveryMethod".freeze
1323
1768
  term :DeliveryModeFreight,
1324
1769
  comment: %(Delivery by an unspecified air, sea, or ground freight carrier or cargo company.).freeze,
1770
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1325
1771
  label: "Delivery mode freight (delivery method)".freeze,
1326
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1327
1772
  type: "gr:DeliveryMethod".freeze
1328
1773
  term :DeliveryModeMail,
1329
1774
  comment: %(Delivery via regular mail service \(private or public postal services\).).freeze,
1775
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1330
1776
  label: "Delivery mode mail (delivery method)".freeze,
1331
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1332
1777
  type: "gr:DeliveryMethod".freeze
1333
1778
  term :DeliveryModeOwnFleet,
1334
1779
  comment: %(Delivery of the goods by using a fleet of vehicles either owned and operated or subcontracted by the gr:BusinessEntity.).freeze,
1780
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1335
1781
  label: "Delivery mode own fleet (delivery method)".freeze,
1336
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1337
1782
  type: "gr:DeliveryMethod".freeze
1338
1783
  term :DeliveryModePickUp,
1339
1784
  comment: %(Delivery of the goods by picking them up at one of the stores etc. \(gr:Location\) during the opening hours as specified by respective instances of gr:OpeningHoursSpecification.).freeze,
1785
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1340
1786
  label: "Delivery mode pick up (delivery method)".freeze,
1341
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1342
1787
  type: "gr:DeliveryMethod".freeze
1343
1788
  term :DinersClub,
1344
1789
  comment: %(Payment by credit or debit cards issued by the Diner's Club network.).freeze,
1790
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1345
1791
  label: "Diners Club (payment method)".freeze,
1346
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1347
1792
  type: "gr:PaymentMethodCreditCard".freeze
1348
1793
  term :DirectDebit,
1349
1794
  comment: %(Payment by direct debit, i.e., the buying party will inform the offering gr:BusinessEntity about its bank account details and authorizes the gr:BusinessEntity to collect the agreed amount directly from that account.).freeze,
1795
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1350
1796
  label: "Direct debit (payment method)".freeze,
1351
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1352
1797
  type: "gr:PaymentMethod".freeze
1353
1798
  term :Discover,
1354
1799
  comment: %(Payment by credit or debit cards issued by the Discover network.).freeze,
1800
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1355
1801
  label: "Discover (payment method)".freeze,
1356
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1357
1802
  type: "gr:PaymentMethodCreditCard".freeze
1358
1803
  term :Dispose,
1359
1804
  comment: %(This gr:BusinessFunction indicates that the gr:BusinessEntity offers \(or seeks\) the acceptance of the specified gr:ProductOrService for proper disposal, recycling, or any other kind of allowed usages, freeing the current owner from all rights and obligations of ownership.).freeze,
1805
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1360
1806
  label: "Dispose (business function)".freeze,
1361
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1362
1807
  type: "gr:BusinessFunction".freeze
1363
1808
  term :Enduser,
1364
1809
  comment: %(The gr:BusinessEntityType representing such agents that are purchasing the good or service for private consumption, in particular not for resale or for usage within an industrial enterprise. By default, a Business Entity is an Enduser.).freeze,
1810
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1365
1811
  label: "Enduser (business entity type)".freeze,
1366
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1367
1812
  type: "gr:BusinessEntityType".freeze
1368
1813
  term :FederalExpress,
1369
1814
  comment: %(Delivery via the parcel service Federal Express.).freeze,
1815
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1370
1816
  label: "Federal Express (delivery method)".freeze,
1371
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1372
1817
  type: "gr:DeliveryModeParcelService".freeze
1373
1818
  term :Friday,
1374
1819
  comment: %(Friday as a day of the week.).freeze,
1375
- :"gr:displayPosition" => %(5).freeze,
1376
- :"gr:hasNext" => %(gr:Saturday).freeze,
1377
- :"gr:hasPrevious" => %(gr:Thursday).freeze,
1820
+ "gr:displayPosition": "5".freeze,
1821
+ "gr:hasNext": "gr:Saturday".freeze,
1822
+ "gr:hasPrevious": "gr:Thursday".freeze,
1823
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1378
1824
  label: "Friday (day of week)".freeze,
1379
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1380
1825
  type: "gr:DayOfWeek".freeze
1381
1826
  term :GoogleCheckout,
1382
1827
  comment: %(Payment via the Google Checkout payment service.).freeze,
1828
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1383
1829
  label: "Google Checkout (payment method)".freeze,
1384
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1385
1830
  type: "gr:PaymentMethod".freeze
1386
1831
  term :JCB,
1387
1832
  comment: %(Payment by credit or debit cards issued by the JCB network.).freeze,
1833
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1388
1834
  label: "JCB (payment method)".freeze,
1389
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1390
1835
  type: "gr:PaymentMethodCreditCard".freeze
1391
1836
  term :"Labor-BringIn",
1392
1837
  comment: %(In case of a defect or malfunction, the buying party has the right to transport the good to a service location determined by the the selling gr:BusinessEntity and will be charged only for parts and materials needed to fix the problem. Labor will be covered by the selling business entity or one of its partnering business entities.
1393
1838
 
1394
1839
  Note: This is just a rough classification for filtering offers. It is up to the buying party to check the exact scope and terms and conditions of the gr:WarrantyPromise.).freeze,
1840
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1395
1841
  label: "Labor / bring-in (warranty scope)".freeze,
1396
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1397
1842
  type: "gr:WarrantyScope".freeze
1398
1843
  term :LeaseOut,
1399
1844
  comment: %(This gr:BusinessFunction indicates that the gr:BusinessEntity offers \(or seeks\) the temporary right to use the specified gr:ProductOrService.).freeze,
1845
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1400
1846
  label: "Lease Out (business function)".freeze,
1401
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1402
1847
  type: "gr:BusinessFunction".freeze
1403
1848
  term :Maintain,
1404
1849
  comment: %(This gr:BusinessFunction indicates that the gr:BusinessEntity offers \(or seeks\) typical maintenance tasks for the specified gr:ProductOrService. Maintenance tasks are actions that undo or compensate for wear or other deterioriation caused by regular usage, in order to restore the originally intended function of the product, or to prevent outage or malfunction.).freeze,
1850
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1405
1851
  label: "Maintain (business function)".freeze,
1406
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1407
1852
  type: "gr:BusinessFunction".freeze
1408
1853
  term :MasterCard,
1409
1854
  comment: %(Payment by credit or debit cards issued by the MasterCard network.).freeze,
1855
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1410
1856
  label: "MasterCard (payment method)".freeze,
1411
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1412
1857
  type: "gr:PaymentMethodCreditCard".freeze
1413
1858
  term :Monday,
1414
1859
  comment: %(Monday as a day of the week.).freeze,
1415
- :"gr:displayPosition" => %(1).freeze,
1416
- :"gr:hasNext" => %(gr:Tuesday).freeze,
1417
- :"gr:hasPrevious" => %(gr:Sunday).freeze,
1860
+ "gr:displayPosition": "1".freeze,
1861
+ "gr:hasNext": "gr:Tuesday".freeze,
1862
+ "gr:hasPrevious": "gr:Sunday".freeze,
1863
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1418
1864
  label: "Monday (day of week)".freeze,
1419
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1420
1865
  type: "gr:DayOfWeek".freeze
1421
1866
  term :"PartsAndLabor-BringIn",
1422
1867
  comment: %(In case of a defect or malfunction, the buying party has the right to transport the good to a service location determined by the the selling gr:BusinessEntity and will not be be charged for labor, parts, and materials needed to fix the problem. All those costs will be covered by the selling business entity or one of its partnering business entities.
1423
1868
 
1424
1869
  Note: This is just a rough classification for filtering offers. It is up to the buying party to check the exact scope and terms and conditions of the gr:WarrantyPromise.).freeze,
1870
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1425
1871
  label: "Parts and labor / bring-in (warranty scope)".freeze,
1426
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1427
1872
  type: "gr:WarrantyScope".freeze
1428
1873
  term :"PartsAndLabor-PickUp",
1429
1874
  comment: %(In case of a defect or malfunction, the buying party has the right to request from the selling gr:Business Entity to pick-up the good from its current location to a suitable service location, where the functionality of the good will be restored. All transportation, labor, parts, and materials needed to fix the problem will be covered by the selling business entity or one of its partnering business entities.
1430
1875
 
1431
1876
  Note: This is just a rough classification for filtering offers. It is up to the buying party to check the exact scope and terms and conditions of the gr:WarrantyPromise.).freeze,
1877
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1432
1878
  label: "Parts and labor / pick up (warranty scope)".freeze,
1433
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1434
1879
  type: "gr:WarrantyScope".freeze
1435
1880
  term :PayPal,
1436
1881
  comment: %(Payment via the PayPal payment service.).freeze,
1882
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1437
1883
  label: "PayPal (payment method)".freeze,
1438
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1439
1884
  type: "gr:PaymentMethod".freeze
1440
1885
  term :PaySwarm,
1441
1886
  comment: %(Payment via the PaySwarm distributed micropayment service.).freeze,
1887
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1442
1888
  label: "PaySwarm (payment method)".freeze,
1443
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1444
1889
  type: "gr:PaymentMethod".freeze
1445
1890
  term :ProvideService,
1446
1891
  comment: %(This gr:BusinessFunction indicates that the gr:BusinessEntity offers \(or seeks\) the respective type of service.
@@ -1448,84 +1893,84 @@ Note: This is just a rough classification for filtering offers. It is up to the
1448
1893
  Note: Maintain and Repair are also types of Services. However, products and services ontologies often provide classes for tangible products as well as for types of services. The business function gr:ProvideService is to be used with such goods that are services, while gr:Maintain and gr:Repair can be used with goods for which only the class of product exists in the ontology, but not the respective type of service.
1449
1894
 
1450
1895
  Example: Car maintenance could be expressed both as "provide the service car maintenance" or "maintain cars".).freeze,
1896
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1451
1897
  label: "Provide service (business function)".freeze,
1452
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1453
1898
  type: "gr:BusinessFunction".freeze
1454
1899
  term :PublicHolidays,
1455
1900
  comment: %(A placeholder for all official public holidays at the gr:Location. This allows specifying the opening hours on public holidays. If a given day is a public holiday, this specification supersedes the opening hours for the respective day of the week.).freeze,
1456
- :"gr:displayPosition" => %(8).freeze,
1901
+ "gr:displayPosition": "8".freeze,
1902
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1457
1903
  label: "Public holidays (day of week)".freeze,
1458
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1459
1904
  type: "gr:DayOfWeek".freeze
1460
1905
  term :PublicInstitution,
1461
1906
  comment: %(The gr:BusinessEntityType representing such agents that are part of the adminstration or owned by the public.).freeze,
1907
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1462
1908
  label: "Public institution (business entity type)".freeze,
1463
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1464
1909
  type: "gr:BusinessEntityType".freeze
1465
1910
  term :Repair,
1466
1911
  comment: %(This gr:BusinessFunction indicates that the gr:BusinessEntity offers \(or seeks\) the evaluation of the chances for repairing, and, if positive, repair of the specified gr:ProductOrService. Repairing means actions that restore the originally intended function of a product that suffers from outage or malfunction.).freeze,
1912
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1467
1913
  label: "Repair (business function)".freeze,
1468
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1469
1914
  type: "gr:BusinessFunction".freeze
1470
1915
  term :Reseller,
1471
1916
  comment: %(The gr:BusinessEntityType representing such agents that are purchasing the scope of products included in the gr:Offering for resale on the market. Resellers are also businesses, i.e., they are officially registered with the public administration and strive for profits by their activities.).freeze,
1917
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1472
1918
  label: "Reseller (business entity type)".freeze,
1473
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1474
1919
  type: "gr:BusinessEntityType".freeze
1475
1920
  term :Saturday,
1476
1921
  comment: %(Saturday as a day of the week.).freeze,
1477
- :"gr:displayPosition" => %(6).freeze,
1478
- :"gr:hasNext" => %(gr:Sunday).freeze,
1479
- :"gr:hasPrevious" => %(gr:Friday).freeze,
1922
+ "gr:displayPosition": "6".freeze,
1923
+ "gr:hasNext": "gr:Sunday".freeze,
1924
+ "gr:hasPrevious": "gr:Friday".freeze,
1925
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1480
1926
  label: "Saturday (day of week)".freeze,
1481
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1482
1927
  type: "gr:DayOfWeek".freeze
1483
1928
  term :Sell,
1484
1929
  comment: %(This gr:BusinessFunction indicates that the gr:BusinessEntity offers to permanently transfer all property rights on the specified gr:ProductOrService.).freeze,
1930
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1485
1931
  label: "Sell (business function)".freeze,
1486
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1487
1932
  type: "gr:BusinessFunction".freeze
1488
1933
  term :Sunday,
1489
1934
  comment: %(Sunday as a day of the week.).freeze,
1490
- :"gr:displayPosition" => %(7).freeze,
1491
- :"gr:hasNext" => %(gr:Monday).freeze,
1492
- :"gr:hasPrevious" => %(gr:Saturday).freeze,
1935
+ "gr:displayPosition": "7".freeze,
1936
+ "gr:hasNext": "gr:Monday".freeze,
1937
+ "gr:hasPrevious": "gr:Saturday".freeze,
1938
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1493
1939
  label: "Sunday (day of week)".freeze,
1494
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1495
1940
  type: "gr:DayOfWeek".freeze
1496
1941
  term :Thursday,
1497
1942
  comment: %(Thursday as a day of the week.).freeze,
1498
- :"gr:displayPosition" => %(4).freeze,
1499
- :"gr:hasNext" => %(gr:Friday).freeze,
1500
- :"gr:hasPrevious" => %(gr:Wednesday).freeze,
1943
+ "gr:displayPosition": "4".freeze,
1944
+ "gr:hasNext": "gr:Friday".freeze,
1945
+ "gr:hasPrevious": "gr:Wednesday".freeze,
1946
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1501
1947
  label: "Thursday (day of week)".freeze,
1502
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1503
1948
  type: "gr:DayOfWeek".freeze
1504
1949
  term :Tuesday,
1505
1950
  comment: %(Tuesday as a day of the week.).freeze,
1506
- :"gr:displayPosition" => %(2).freeze,
1507
- :"gr:hasNext" => %(gr:Wednesday).freeze,
1508
- :"gr:hasPrevious" => %(gr:Monday).freeze,
1951
+ "gr:displayPosition": "2".freeze,
1952
+ "gr:hasNext": "gr:Wednesday".freeze,
1953
+ "gr:hasPrevious": "gr:Monday".freeze,
1954
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1509
1955
  label: "Tuesday (day of week)".freeze,
1510
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1511
1956
  type: "gr:DayOfWeek".freeze
1512
1957
  term :UPS,
1513
1958
  comment: %(Delivery via the parcel service UPS.).freeze,
1959
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1514
1960
  label: "UPS (delivery method)".freeze,
1515
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1516
1961
  type: "gr:DeliveryModeParcelService".freeze
1517
1962
  term :VISA,
1518
1963
  comment: %(Payment by credit or debit cards issued by the VISA network.).freeze,
1964
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1519
1965
  label: "VISA (payment method)".freeze,
1520
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1521
1966
  type: "gr:PaymentMethodCreditCard".freeze
1522
1967
  term :Wednesday,
1523
1968
  comment: %(Wednesday as a day of the week.).freeze,
1524
- :"gr:displayPosition" => %(3).freeze,
1525
- :"gr:hasNext" => %(gr:Thursday).freeze,
1526
- :"gr:hasPrevious" => %(gr:Tuesday).freeze,
1969
+ "gr:displayPosition": "3".freeze,
1970
+ "gr:hasNext": "gr:Thursday".freeze,
1971
+ "gr:hasPrevious": "gr:Tuesday".freeze,
1972
+ isDefinedBy: "http://purl.org/goodrelations/v1".freeze,
1527
1973
  label: "Wednesday (day of week)".freeze,
1528
- :"rdfs:isDefinedBy" => %(http://purl.org/goodrelations/v1).freeze,
1529
1974
  type: "gr:DayOfWeek".freeze
1530
1975
  end
1531
1976
  end