-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVocabularyHelper.cs
171 lines (158 loc) · 12.5 KB
/
VocabularyHelper.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
using System;
/// <summary>
/// A set of often-used URIs, for easy reference.
/// </summary>
namespace SHACL2DTDL.VocabularyHelper
{
public static class O2O
{
public static readonly Uri included = new Uri("https://karlhammar.com/owl2oas/o2o.owl#included");
public static readonly Uri endpoint = new Uri("https://karlhammar.com/owl2oas/o2o.owl#endpoint");
}
public static class Brick
{
public static readonly Uri Entity = new Uri("https://brickschema.org/schema/Brick#Entity");
public static readonly Uri hasAssociatedTag = new Uri("https://brickschema.org/schema/Brick#hasAssociatedTag");
}
public static class QUDT
{
public static readonly Uri Unit = new Uri("http://qudt.org/schema/qudt/Unit");
public static readonly Uri hasQuantityKind = new Uri("http://qudt.org/schema/qudt/hasQuantityKind");
public static class UnitNS
{
public static readonly Uri A = new Uri("http://qudt.org/vocab/unit/A");
public static readonly Uri CentiM = new Uri("http://qudt.org/vocab/unit/CentiM");
public static readonly Uri DEG = new Uri("http://qudt.org/vocab/unit/DEG");
public static readonly Uri DEG_C = new Uri("http://qudt.org/vocab/unit/DEG_C");
public static readonly Uri HP = new Uri("http://qudt.org/vocab/unit/HP");
public static readonly Uri HR = new Uri("http://qudt.org/vocab/unit/HR");
public static readonly Uri KiloGM = new Uri("http://qudt.org/vocab/unit/KiloGM");
public static readonly Uri KiloGM_PER_HR = new Uri("http://qudt.org/vocab/unit/KiloGM-PER-HR");
public static readonly Uri KiloPA = new Uri("http://qudt.org/vocab/unit/KiloPA");
public static readonly Uri KiloW_HR = new Uri("http://qudt.org/vocab/unit/KiloW-HR");
public static readonly Uri KiloW = new Uri("http://qudt.org/vocab/unit/KiloW");
public static readonly Uri L = new Uri("http://qudt.org/vocab/unit/L");
public static readonly Uri L_PER_SEC = new Uri("http://qudt.org/vocab/unit/L-PER-SEC");
public static readonly Uri LUX = new Uri("http://qudt.org/vocab/unit/LUX");
public static readonly Uri M = new Uri("http://qudt.org/vocab/unit/M");
public static readonly Uri MilliM = new Uri("http://qudt.org/vocab/unit/MilliM");
public static readonly Uri MIN = new Uri("http://qudt.org/vocab/unit/MIN");
public static readonly Uri N = new Uri("http://qudt.org/vocab/unit/N");
public static readonly Uri M_PER_SEC = new Uri("http://qudt.org/vocab/unit/M-PER-SEC");
public static readonly Uri PSI = new Uri("http://qudt.org/vocab/unit/PSI");
public static readonly Uri REV_PER_MIN = new Uri("http://qudt.org/vocab/unit/REV-PER-MIN");
public static readonly Uri V = new Uri("http://qudt.org/vocab/unit/V");
public static readonly Uri W = new Uri("http://qudt.org/vocab/unit/W");
}
public static class QuantityKindNS
{
public static readonly Uri AngularVelocity = new Uri("http://qudt.org/vocab/quantitykind/AngularVelocity");
public static readonly Uri ElectricCurrent = new Uri("http://qudt.org/vocab/quantitykind/ElectricCurrent");
public static readonly Uri Illuminance = new Uri("http://qudt.org/vocab/quantitykind/Illuminance");
public static readonly Uri Angle = new Uri("http://qudt.org/vocab/quantitykind/Angle");
public static readonly Uri Energy = new Uri("http://qudt.org/vocab/quantitykind/Energy");
public static readonly Uri Force = new Uri("http://qudt.org/vocab/quantitykind/Force");
public static readonly Uri Power = new Uri("http://qudt.org/vocab/quantitykind/Power");
public static readonly Uri Length = new Uri("http://qudt.org/vocab/quantitykind/Length");
public static readonly Uri Mass = new Uri("http://qudt.org/vocab/quantitykind/Mass");
public static readonly Uri MassFlowRate = new Uri("http://qudt.org/vocab/quantitykind/MassFlowRate");
public static readonly Uri Pressure = new Uri("http://qudt.org/vocab/quantitykind/Pressure");
public static readonly Uri Time = new Uri("http://qudt.org/vocab/quantitykind/Time");
public static readonly Uri Temperature = new Uri("http://qudt.org/vocab/quantitykind/Temperature");
public static readonly Uri Velocity = new Uri("http://qudt.org/vocab/quantitykind/Velocity");
public static readonly Uri Voltage = new Uri("http://qudt.org/vocab/quantitykind/Voltage");
public static readonly Uri Volume = new Uri("http://qudt.org/vocab/quantitykind/Volume");
public static readonly Uri VolumeFlowRate = new Uri("http://qudt.org/vocab/quantitykind/VolumeFlowRate");
}
}
public static class DTDL
{
//public static readonly string dtdlContext = "dtmi:dtdl:context;2";
// TODO: Fix the Initialization class and initialValue property with correct DTMIs for this extension
public static readonly Uri Initialized = new Uri("dtmi:dtdl:class:Initialized;3");
public static readonly Uri initialValue = new Uri("dtmi:dtdl:property:initialValue;3");
public static readonly Uri _point = new Uri("dtmi:standard:schema:geospatial:point;3");
public static readonly Uri _polygon = new Uri("dtmi:standard:schema:geospatial:polygon;3");
public static readonly string dtdlContext = "dtmi:dtdl:context;3";
public static readonly string initializationContext = "dtmi:dtdl:extension:initialization;1";
public static readonly Uri Interface = new Uri("dtmi:dtdl:class:Interface;3");
public static readonly Uri Property = new Uri("dtmi:dtdl:class:Property;3");
public static readonly Uri Relationship = new Uri("dtmi:dtdl:class:Relationship;3");
public static readonly Uri Telemetry = new Uri("dtmi:dtdl:class:Telemetry;3");
public static readonly Uri Component = new Uri("dtmi:dtdl:class:Component;3");
public static readonly Uri Object = new Uri("dtmi:dtdl:class:Object;3");
public static readonly Uri name = new Uri("dtmi:dtdl:property:name;3");
public static readonly Uri contents = new Uri("dtmi:dtdl:property:contents;3");
public static readonly Uri displayName = new Uri("dtmi:dtdl:property:displayName;3");
public static readonly Uri description = new Uri("dtmi:dtdl:property:description;3");
public static readonly Uri extends = new Uri("dtmi:dtdl:property:extends;3");
public static readonly Uri maxMultiplicity = new Uri("dtmi:dtdl:property:maxMultiplicity;3");
public static readonly Uri minMultiplicity = new Uri("dtmi:dtdl:property:minMultiplicity;3");
public static readonly Uri target = new Uri("dtmi:dtdl:property:target;3");
public static readonly Uri schema = new Uri("dtmi:dtdl:property:schema;3");
public static readonly Uri fields = new Uri("dtmi:dtdl:property:fields;3");
public static readonly Uri Map = new Uri("dtmi:dtdl:class:Map;3");
public static readonly Uri Enum = new Uri("dtmi:dtdl:class:Enum;3");
public static readonly Uri EnumValue = new Uri("dtmi:dtdl:class:EnumValue;3");
public static readonly Uri Array = new Uri("dtmi:dtdl:class:Array;3");
public static readonly Uri valueSchema = new Uri("dtmi:dtdl:property:valueSchema;3");
public static readonly Uri enumValue = new Uri("dtmi:dtdl:property:enumValue;3");
public static readonly Uri enumValues = new Uri("dtmi:dtdl:property:enumValues;3");
public static readonly Uri elementSchema = new Uri("dtmi:dtdl:property:elementSchema;3");
public static readonly Uri comment = new Uri("dtmi:dtdl:property:comment;3");
public static readonly Uri writable = new Uri("dtmi:dtdl:property:writable;3");
public static readonly Uri unit = new Uri("dtmi:dtdl:property:unit;3");
public static readonly Uri properties = new Uri("dtmi:dtdl:property:properties;3");
public static readonly Uri mapKey = new Uri("dtmi:dtdl:property:mapKey;3");
public static readonly Uri mapValue = new Uri("dtmi:dtdl:property:mapValue;3");
public static readonly Uri _string = new Uri("dtmi:dtdl:instance:Schema:string;3");
public static readonly Uri _boolean = new Uri("dtmi:dtdl:instance:Schema:boolean;3");
public static readonly Uri _integer = new Uri("dtmi:dtdl:instance:Schema:integer;3");
public static readonly Uri _date = new Uri("dtmi:dtdl:instance:Schema:date;3");
public static readonly Uri _dateTime = new Uri("dtmi:dtdl:instance:Schema:dateTime;3");
public static readonly Uri _double = new Uri("dtmi:dtdl:instance:Schema:double;3");
public static readonly Uri _duration = new Uri("dtmi:dtdl:instance:Schema:duration;3");
public static readonly Uri _float = new Uri("dtmi:dtdl:instance:Schema:float;3");
public static readonly Uri _long = new Uri("dtmi:dtdl:instance:Schema:long;3");
public static readonly Uri ampere = new Uri("dtmi:standard:unit:ampere;3");
public static readonly Uri volt = new Uri("dtmi:standard:unit:volt;3");
public static readonly Uri centimetre = new Uri("dtmi:standard:unit:centimetre;3");
public static readonly Uri degreeCelsius = new Uri("dtmi:standard:unit:degreeCelsius;3");
public static readonly Uri degreeOfArc = new Uri("dtmi:standard:unit:degreeOfArc;3");
public static readonly Uri horsepower = new Uri("dtmi:standard:unit:horsepower;3");
public static readonly Uri hour = new Uri("dtmi:standard:unit:hour;3");
public static readonly Uri kilogram = new Uri("dtmi:standard:unit:kilogram;3");
public static readonly Uri kilogramPerHour = new Uri("dtmi:standard:unit:kilogramPerHour;3");
public static readonly Uri kilopascal = new Uri("dtmi:standard:unit:kilopascal;3");
public static readonly Uri kilowattHour = new Uri("dtmi:standard:unit:kilowattHour;3");
public static readonly Uri kilowatt = new Uri("dtmi:standard:unit:kilowatt;3");
public static readonly Uri litre = new Uri("dtmi:standard:unit:litre;3");
public static readonly Uri litrePerSecond = new Uri("dtmi:standard:unit:litrePerSecond;3");
public static readonly Uri lux = new Uri("dtmi:standard:unit:lux;3");
public static readonly Uri metre = new Uri("dtmi:standard:unit:metre;3");
public static readonly Uri metrePerSecond = new Uri("dtmi:standard:unit:metrePerSecond;3");
public static readonly Uri millimetre = new Uri("dtmi:standard:unit:millimetre;3");
public static readonly Uri minute = new Uri("dtmi:standard:unit:minute;3");
public static readonly Uri newton = new Uri("dtmi:standard:unit:newton;3");
public static readonly Uri poundPerSquareInch = new Uri("dtmi:standard:unit:poundPerSquareInch;3");
public static readonly Uri revolutionPerMinute = new Uri("dtmi:standard:unit:revolutionPerMinute;3");
public static readonly Uri watt = new Uri("dtmi:standard:unit:watt;3");
public static readonly Uri Angle = new Uri("dtmi:standard:class:Angle;3");
public static readonly Uri AngularVelocity = new Uri("dtmi:standard:class:AngularVelocity;3");
public static readonly Uri Current = new Uri("dtmi:standard:class:Current;3");
public static readonly Uri Energy = new Uri("dtmi:standard:class:Energy;3");
public static readonly Uri Force = new Uri("dtmi:standard:class:Force;3");
public static readonly Uri Illuminance = new Uri("dtmi:standard:class:Illuminance;3");
public static readonly Uri Voltage = new Uri("dtmi:standard:class:Voltage;3");
public static readonly Uri Power = new Uri("dtmi:standard:class:Power;3");
public static readonly Uri Pressure = new Uri("dtmi:standard:class:Pressure;3");
public static readonly Uri Length = new Uri("dtmi:standard:class:Length;3");
public static readonly Uri Mass = new Uri("dtmi:standard:class:Mass;3");
public static readonly Uri MassFlowRate = new Uri("dtmi:standard:class:MassFlowRate;3");
public static readonly Uri Temperature = new Uri("dtmi:standard:class:Temperature;3");
public static readonly Uri TimeSpan = new Uri("dtmi:standard:class:TimeSpan;3");
public static readonly Uri Volume = new Uri("dtmi:standard:class:Volume;3");
public static readonly Uri Velocity = new Uri("dtmi:standard:class:Velocity;3");
public static readonly Uri VolumeFlowRate = new Uri("dtmi:standard:class:VolumeFlowRate;3");
}
}