Switch to unified view

a/mappings/gestBarragens2sensorDSO.ttl b/mappings/gestBarragens2sensorDSO.ttl
...
...
220
220
221
  #assign a QuantityType to the TotalResistance
221
  #assign a QuantityType to the TotalResistance
222
map:TotalResistance_QuantityType a d2rq:PropertyBridge;
222
map:TotalResistance_QuantityType a d2rq:PropertyBridge;
223
    d2rq:belongsToClassMap map:TotalResistance;
223
    d2rq:belongsToClassMap map:TotalResistance;
224
    d2rq:property sensor:hasQuantityType;
224
    d2rq:property sensor:hasQuantityType;
225
  d2rq:refersToClassMap map:QuantityType;
225
  d2rq:refersToClassMap map:TotalResistance_QuantityType_TotalResistance;
226
  .
227
  
228
  #assign TotalResistance_Quantity Type a real QuantityType
229
map:TotalResistance_QuantityType_TotalResistance a d2rq:ClassMap;
230
    d2rq:dataStorage map:database;
231
  d2rq:uriPattern "QuantityType/TotalResistance";
232
  d2rq:class sensor:QuantityType;
233
    d2rq:additionalProperty map:QuantityType_TotalResistance
234
  .
235
236
map:QuantityType_TotalResistance a d2rq:AdditionalProperty;
237
    d2rq:propertyName sensor:hasType;
238
    d2rq:propertyValue "TotalResistance"
226
    .
239
    .
227
    
240
    
228
    
241
    
229
# RelativeResistence
242
# RelativeResistence
230
map:RelativeResistence a d2rq:ClassMap;
243
map:RelativeResistence a d2rq:ClassMap;
...
...
251
    d2rq:belongsToClassMap map:RelativeResistence;
264
    d2rq:belongsToClassMap map:RelativeResistence;
252
    d2rq:property sensor:hasQuantityType;
265
    d2rq:property sensor:hasQuantityType;
253
    d2rq:refersToClassMap map:QuantityType;
266
    d2rq:refersToClassMap map:QuantityType;
254
    .
267
    .
255
    
268
    
269
  
270
  #assign RelativeResistance_Quantity Type a real QuantityType
271
map:RelativeResistance_QuantityType_RelativeResistance a d2rq:ClassMap;
272
    d2rq:dataStorage map:database;
273
  d2rq:uriPattern "QuantityType/RelativeResistance";
274
  d2rq:class sensor:QuantityType;
275
    d2rq:additionalProperty map:QuantityType_RelativeResistance
276
  .
277
278
map:QuantityType_RelativeResistance a d2rq:AdditionalProperty;
279
    d2rq:propertyName sensor:hasType;
280
    d2rq:propertyValue "RelativeResistance"
281
  .
282
  
256
283
257
#Result 
284
#Result 
258
map:Result a d2rq:ClassMap;
285
map:Result a d2rq:ClassMap;
259
    d2rq:dataStorage map:database;
286
    d2rq:dataStorage map:database;
260
    d2rq:uriPattern "Readings/@@EXTRESISTENCIALEIT.ID@@/Result/";
287
    d2rq:uriPattern "Readings/@@EXTRESISTENCIALEIT.ID@@/Result/";
...
...
298
325
299
  #assign a QuantityType to the Temperature
326
  #assign a QuantityType to the Temperature
300
map:Temperature_QuantityType a d2rq:PropertyBridge;
327
map:Temperature_QuantityType a d2rq:PropertyBridge;
301
    d2rq:belongsToClassMap map:Temperature;
328
    d2rq:belongsToClassMap map:Temperature;
302
    d2rq:property sensor:hasQuantityType;
329
    d2rq:property sensor:hasQuantityType;
303
    d2rq:refersToClassMap map:QuantityType;
330
    d2rq:refersToClassMap map:Temperature_QuantityType_Temperature;
304
  .
305
    
331
    .
332
333
  #assign Temperature_Quantity Type a real QuantityType
334
map:Temperature_QuantityType_Temperature a d2rq:ClassMap;
335
    d2rq:dataStorage map:database;
336
  d2rq:uriPattern "QuantityType/Temperature";
337
  d2rq:class sensor:QuantityType;
338
    d2rq:additionalProperty map:QuantityType_Temperature 
339
  .
340
341
map:QuantityType_Temperature a d2rq:AdditionalProperty;
342
    d2rq:propertyName sensor:hasType;
343
    d2rq:propertyValue "Temperature"
344
  .
306
    
345
    
307
    
346
    
308
# Extension
347
# Extension
309
map:Extension a d2rq:ClassMap;
348
map:Extension a d2rq:ClassMap;
310
    d2rq:dataStorage map:database;
349
    d2rq:dataStorage map:database;
...
...
328
367
329
  #assign a QuantityType to the Extension
368
  #assign a QuantityType to the Extension
330
map:Extension_QuantityType a d2rq:PropertyBridge;
369
map:Extension_QuantityType a d2rq:PropertyBridge;
331
    d2rq:belongsToClassMap map:Extension;
370
    d2rq:belongsToClassMap map:Extension;
332
    d2rq:property sensor:hasQuantityType;
371
    d2rq:property sensor:hasQuantityType;
333
    d2rq:refersToClassMap map:QuantityType;
372
    d2rq:refersToClassMap map:Extension_QuantityType_Extension;
334
    .
373
    .
335
374
375
  #assign Extension_Quantity Type a real QuantityType
376
map:Extension_QuantityType_Extension a d2rq:ClassMap;
377
    d2rq:dataStorage map:database;
378
  d2rq:uriPattern "QuantityType/Extension";
379
  d2rq:class sensor:QuantityType;
380
    d2rq:additionalProperty map:QuantityType_Extension 
381
  .
336
382
383
map:QuantityType_Extension a d2rq:AdditionalProperty;
384
    d2rq:propertyName sensor:hasType;
385
    d2rq:propertyValue "Extension"
386
  .
337
387
338
# Table OBRA
388
# Table OBRA
339
map:Dam a d2rq:ClassMap;
389
map:Dam a d2rq:ClassMap;
340
    d2rq:dataStorage map:database;
390
    d2rq:dataStorage map:database;
341
    d2rq:uriPattern "Dam/@@OBRA.ID@@";
391
    d2rq:uriPattern "Dam/@@OBRA.ID@@";