|
1 | 1 | from rdflib import Literal |
2 | | -from .namespaces import A, OWL, RDFS, BRICK, VCARD, QUDT, SDO, RDF, BSH, XSD, REC |
| 2 | +from .namespaces import A, OWL, RDFS, BRICK, VCARD, QUDT, SDO, RDF, BSH, XSD, REC, SH |
3 | 3 | from .env import env |
4 | 4 |
|
5 | 5 | """ |
|
17 | 17 | "domain": BRICK.Entity, |
18 | 18 | }, |
19 | 19 | "hasSubstance": { |
20 | | - A: [OWL.AsymmetricProperty, OWL.IrreflexiveProperty], |
| 20 | + A: [OWL.ObjectProperty, OWL.AsymmetricProperty, OWL.IrreflexiveProperty], |
21 | 21 | RDFS.label: Literal("Has Substance", lang="en"), |
22 | 22 | "range": BRICK.Substance, |
23 | 23 | "domain": [BRICK.Point, BRICK.Meter], |
24 | 24 | }, |
25 | 25 | "hasQuantity": { |
26 | | - A: [OWL.AsymmetricProperty, OWL.IrreflexiveProperty], |
| 26 | + A: [OWL.ObjectProperty, OWL.AsymmetricProperty, OWL.IrreflexiveProperty], |
27 | 27 | RDFS.label: Literal("Has Quantity", lang="en"), |
28 | 28 | RDFS.subPropertyOf: QUDT.hasQuantityKind, |
29 | 29 | "range": [BRICK.Quantity, QUDT.QuantityKind], |
|
135 | 135 | "isTagOf": { |
136 | 136 | A: [OWL.ObjectProperty, OWL.AsymmetricProperty, OWL.IrreflexiveProperty], |
137 | 137 | "domain": BRICK.Tag, |
138 | | - "range": OWL.Class, |
| 138 | + "range": [BRICK.Entity, BRICK.Measurable], |
139 | 139 | RDFS.label: Literal("Is tag of", lang="en"), |
140 | 140 | }, |
141 | 141 | "hasAssociatedTag": { |
|
197 | 197 | "hasAmbientTemperature": { |
198 | 198 | A: [OWL.ObjectProperty, OWL.AsymmetricProperty, OWL.IrreflexiveProperty], |
199 | 199 | }, |
| 200 | + "aliasOf": { |
| 201 | + A: [OWL.ObjectProperty, OWL.AsymmetricProperty, OWL.IrreflexiveProperty], |
| 202 | + "range": BRICK.Entity, |
| 203 | + "domain": BRICK.Entity, |
| 204 | + }, |
| 205 | + "deprecation": { |
| 206 | + A: [OWL.ObjectProperty, OWL.AsymmetricProperty, OWL.IrreflexiveProperty], |
| 207 | + "range": [BSH.DeprecationRule], |
| 208 | + }, |
200 | 209 | "deprecationMitigationMessage": { |
201 | 210 | A: [OWL.DatatypeProperty, OWL.AsymmetricProperty, OWL.IrreflexiveProperty], |
| 211 | + "range": XSD.string, |
202 | 212 | }, |
203 | 213 | "deprecatedInVersion": { |
204 | 214 | A: [OWL.DatatypeProperty, OWL.AsymmetricProperty, OWL.IrreflexiveProperty], |
| 215 | + "range": XSD.string, |
205 | 216 | }, |
206 | 217 | "deprecationMitigationRule": { |
207 | 218 | A: [OWL.ObjectProperty, OWL.AsymmetricProperty, OWL.IrreflexiveProperty], |
| 219 | + "range": [SH.PropertyShape], |
208 | 220 | }, |
209 | 221 | "aggregationFunction": { |
210 | 222 | A: [OWL.DatatypeProperty, OWL.AsymmetricProperty, OWL.IrreflexiveProperty], |
|
0 commit comments