David Leal

Merge branch 'MPR_2013-06-19a'

...@@ -14,9 +14,12 @@ ...@@ -14,9 +14,12 @@
14 14
15 <http://www.reportinghub.no/ep/schema/1.0/production-well> 15 <http://www.reportinghub.no/ep/schema/1.0/production-well>
16 rdf:type owl:Ontology ; 16 rdf:type owl:Ontology ;
17 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/flow> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/well> ; 17 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/flow> ;
18 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 18 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
19 19
20 +<http://www.reportinghub.no/ep/schema/equipment#CasingLinerTubing>
21 + rdfs:subClassOf ep-well:TemporalPartOfASpatialPartOfAWellBore .
22 +
20 ep-material:Air-gas 23 ep-material:Air-gas
21 rdf:type ep-prodwell:InjectionFluidType . 24 rdf:type ep-prodwell:InjectionFluidType .
22 25
...@@ -339,13 +342,13 @@ ep-material:substance-T13dmcyPentane ...@@ -339,13 +342,13 @@ ep-material:substance-T13dmcyPentane
339 rdf:type ep-prodwell:ComponentMaterialType . 342 rdf:type ep-prodwell:ComponentMaterialType .
340 343
341 ep-prodwell:AbandonedWell 344 ep-prodwell:AbandonedWell
342 - rdf:type ep-prodwell:WellStatusType , owl:Class ; 345 + rdf:type owl:Class , ep-prodwell:WellStatusType ;
343 rdfs:comment "well or wellbore that has been abandoned"^^xsd:string ; 346 rdfs:comment "well or wellbore that has been abandoned"^^xsd:string ;
344 rdfs:label "abandoned well"^^xsd:string ; 347 rdfs:label "abandoned well"^^xsd:string ;
345 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore . 348 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
346 349
347 ep-prodwell:ClosedWell 350 ep-prodwell:ClosedWell
348 - rdf:type ep-prodwell:WellStatusType , owl:Class ; 351 + rdf:type owl:Class , ep-prodwell:WellStatusType ;
349 rdfs:comment "well or wellbore that has been closed"^^xsd:string ; 352 rdfs:comment "well or wellbore that has been closed"^^xsd:string ;
350 rdfs:label "closed well"^^xsd:string ; 353 rdfs:label "closed well"^^xsd:string ;
351 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore . 354 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
...@@ -363,7 +366,7 @@ ep-prodwell:FluidComponentKindType ...@@ -363,7 +366,7 @@ ep-prodwell:FluidComponentKindType
363 rdfs:subClassOf owl:Class . 366 rdfs:subClassOf owl:Class .
364 367
365 ep-prodwell:InjectingWell 368 ep-prodwell:InjectingWell
366 - rdf:type ep-prodwell:WellStatusType , owl:Class ; 369 + rdf:type owl:Class , ep-prodwell:WellStatusType ;
367 rdfs:comment "well or wellbore that is used for injecting"^^xsd:string ; 370 rdfs:comment "well or wellbore that is used for injecting"^^xsd:string ;
368 rdfs:label "injecting well"^^xsd:string ; 371 rdfs:label "injecting well"^^xsd:string ;
369 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore . 372 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
...@@ -375,37 +378,37 @@ ep-prodwell:InjectionFluidType ...@@ -375,37 +378,37 @@ ep-prodwell:InjectionFluidType
375 rdfs:subClassOf owl:Class . 378 rdfs:subClassOf owl:Class .
376 379
377 ep-prodwell:JunkedWell 380 ep-prodwell:JunkedWell
378 - rdf:type ep-prodwell:WellStatusType , owl:Class ; 381 + rdf:type owl:Class , ep-prodwell:WellStatusType ;
379 rdfs:comment "well or wellbore that has been junked"^^xsd:string ; 382 rdfs:comment "well or wellbore that has been junked"^^xsd:string ;
380 rdfs:label "junked well"^^xsd:string ; 383 rdfs:label "junked well"^^xsd:string ;
381 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore . 384 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
382 385
383 ep-prodwell:OperatingWell 386 ep-prodwell:OperatingWell
384 - rdf:type ep-prodwell:WellStatusType , owl:Class ; 387 + rdf:type owl:Class , ep-prodwell:WellStatusType ;
385 rdfs:comment "well or wellbore that is operating"^^xsd:string ; 388 rdfs:comment "well or wellbore that is operating"^^xsd:string ;
386 rdfs:label "operating well"^^xsd:string ; 389 rdfs:label "operating well"^^xsd:string ;
387 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore . 390 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
388 391
389 ep-prodwell:PluggedAndAbandonedWell 392 ep-prodwell:PluggedAndAbandonedWell
390 - rdf:type ep-prodwell:WellStatusType , owl:Class ; 393 + rdf:type owl:Class , ep-prodwell:WellStatusType ;
391 rdfs:comment "well or wellbore that has been plugged and abandoned"^^xsd:string ; 394 rdfs:comment "well or wellbore that has been plugged and abandoned"^^xsd:string ;
392 rdfs:label "plugged and abandoned well"^^xsd:string ; 395 rdfs:label "plugged and abandoned well"^^xsd:string ;
393 - rdfs:subClassOf ep-prodwell:PluggedWell , ep-prodwell:AbandonedWell . 396 + rdfs:subClassOf ep-prodwell:AbandonedWell , ep-prodwell:PluggedWell .
394 397
395 ep-prodwell:PluggedWell 398 ep-prodwell:PluggedWell
396 - rdf:type ep-prodwell:WellStatusType , owl:Class ; 399 + rdf:type owl:Class , ep-prodwell:WellStatusType ;
397 rdfs:comment "well or wellbore that has been plugged"^^xsd:string ; 400 rdfs:comment "well or wellbore that has been plugged"^^xsd:string ;
398 rdfs:label "plugged well"^^xsd:string ; 401 rdfs:label "plugged well"^^xsd:string ;
399 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore . 402 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
400 403
401 ep-prodwell:ProducingInjectingWell 404 ep-prodwell:ProducingInjectingWell
402 - rdf:type ep-prodwell:WellStatusType , owl:Class ; 405 + rdf:type owl:Class , ep-prodwell:WellStatusType ;
403 rdfs:comment "well or wellbore that <advice needed>"^^xsd:string ; 406 rdfs:comment "well or wellbore that <advice needed>"^^xsd:string ;
404 rdfs:label "producing injecting well"^^xsd:string ; 407 rdfs:label "producing injecting well"^^xsd:string ;
405 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore . 408 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
406 409
407 ep-prodwell:ProducingWell 410 ep-prodwell:ProducingWell
408 - rdf:type ep-prodwell:WellStatusType , owl:Class ; 411 + rdf:type owl:Class , ep-prodwell:WellStatusType ;
409 rdfs:comment "well or wellbore that is producing"^^xsd:string ; 412 rdfs:comment "well or wellbore that is producing"^^xsd:string ;
410 rdfs:label "producing well"^^xsd:string ; 413 rdfs:label "producing well"^^xsd:string ;
411 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore . 414 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
...@@ -417,13 +420,13 @@ ep-prodwell:RockFormation ...@@ -417,13 +420,13 @@ ep-prodwell:RockFormation
417 rdfs:subClassOf ep-core:PhysicalObject . 420 rdfs:subClassOf ep-core:PhysicalObject .
418 421
419 ep-prodwell:SuspendedAtTdWell 422 ep-prodwell:SuspendedAtTdWell
420 - rdf:type ep-prodwell:WellStatusType , owl:Class ; 423 + rdf:type owl:Class , ep-prodwell:WellStatusType ;
421 rdfs:comment "well or wellbore that <advice needed>"^^xsd:string ; 424 rdfs:comment "well or wellbore that <advice needed>"^^xsd:string ;
422 rdfs:label "suspended at td well"^^xsd:string ; 425 rdfs:label "suspended at td well"^^xsd:string ;
423 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore . 426 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
424 427
425 ep-prodwell:SuspendedWell 428 ep-prodwell:SuspendedWell
426 - rdf:type ep-prodwell:WellStatusType , owl:Class ; 429 + rdf:type owl:Class , ep-prodwell:WellStatusType ;
427 rdfs:comment "well or wellbore that has been suspended"^^xsd:string ; 430 rdfs:comment "well or wellbore that has been suspended"^^xsd:string ;
428 rdfs:label "suspended well"^^xsd:string ; 431 rdfs:label "suspended well"^^xsd:string ;
429 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore . 432 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
...@@ -448,8 +451,14 @@ ep-prodwell:WellCompletionAssembly ...@@ -448,8 +451,14 @@ ep-prodwell:WellCompletionAssembly
448 ep-core:seeReferenceData 451 ep-core:seeReferenceData
449 "http://posccaesar.org/rdl/page/RDS8015624975"^^xsd:string . 452 "http://posccaesar.org/rdl/page/RDS8015624975"^^xsd:string .
450 453
454 +ep-prodwell:WellHeadDownStreamChokeValve
455 + rdf:type owl:Class ;
456 + rdfs:comment "choke valve that is downstream in a wellhead"^^xsd:string ;
457 + rdfs:label "wellhead downstream choke valve"^^xsd:string ;
458 + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#ChokeValve> .
459 +
451 ep-prodwell:WellReclassedToDevelopment 460 ep-prodwell:WellReclassedToDevelopment
452 - rdf:type ep-prodwell:WellStatusType , owl:Class ; 461 + rdf:type owl:Class , ep-prodwell:WellStatusType ;
453 rdfs:comment "well or wellbore that has been reclassified as a development well"^^xsd:string ; 462 rdfs:comment "well or wellbore that has been reclassified as a development well"^^xsd:string ;
454 rdfs:label "well reclassed to development"^^xsd:string ; 463 rdfs:label "well reclassed to development"^^xsd:string ;
455 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore . 464 rdfs:subClassOf ep-prodwell:TemporalPartOfAWellOrWellBore .
...@@ -461,42 +470,42 @@ ep-prodwell:WellStatusType ...@@ -461,42 +470,42 @@ ep-prodwell:WellStatusType
461 rdfs:subClassOf owl:Class . 470 rdfs:subClassOf owl:Class .
462 471
463 ep-prodwell:completeLiquidPartOf 472 ep-prodwell:completeLiquidPartOf
464 - rdf:type owl:FunctionalProperty , owl:ObjectProperty ; 473 + rdf:type owl:ObjectProperty , owl:FunctionalProperty ;
465 rdfs:comment "all of a quantity of material that is liquid"^^xsd:string ; 474 rdfs:comment "all of a quantity of material that is liquid"^^xsd:string ;
466 rdfs:domain ep-material:QuantityOfMaterial ; 475 rdfs:domain ep-material:QuantityOfMaterial ;
467 rdfs:label "complete liquid part of"^^xsd:string ; 476 rdfs:label "complete liquid part of"^^xsd:string ;
468 rdfs:range ep-material:Liquid . 477 rdfs:range ep-material:Liquid .
469 478
470 ep-prodwell:depthOfBaseUsableWaterFromSurface 479 ep-prodwell:depthOfBaseUsableWaterFromSurface
471 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 480 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
472 rdfs:comment "length that is the lowest usable water depth as measured from the surface. (source: MPR-XSD)"^^xsd:string ; 481 rdfs:comment "length that is the lowest usable water depth as measured from the surface. (source: MPR-XSD)"^^xsd:string ;
473 rdfs:domain ep-material:Fluid ; 482 rdfs:domain ep-material:Fluid ;
474 rdfs:label "depth of base of usable water from surface"^^xsd:string ; 483 rdfs:label "depth of base of usable water from surface"^^xsd:string ;
475 rdfs:range ep-core:Length . 484 rdfs:range ep-core:Length .
476 485
477 ep-prodwell:depthOfFluidSurfaceFromTopOfWell 486 ep-prodwell:depthOfFluidSurfaceFromTopOfWell
478 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 487 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
479 rdfs:comment "length that is the fluid level achieved in the well. The value is given as length units from the top of the well. (source MPR-XSD)"^^xsd:string ; 488 rdfs:comment "length that is the fluid level achieved in the well. The value is given as length units from the top of the well. (source MPR-XSD)"^^xsd:string ;
480 rdfs:domain ep-material:Fluid ; 489 rdfs:domain ep-material:Fluid ;
481 rdfs:label "depth of fluid surface from top of well"^^xsd:string ; 490 rdfs:label "depth of fluid surface from top of well"^^xsd:string ;
482 rdfs:range ep-core:Length . 491 rdfs:range ep-core:Length .
483 492
484 ep-prodwell:pOverZ 493 ep-prodwell:pOverZ
485 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 494 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
486 rdfs:comment "The P/Z value at the point. This is P/Z, pressure over gas compressibility factor (z). Note that the uom is units of pressure, since Z is dimensionless. (source: MPR-XSD)"^^xsd:string ; 495 rdfs:comment "The P/Z value at the point. This is P/Z, pressure over gas compressibility factor (z). Note that the uom is units of pressure, since Z is dimensionless. (source: MPR-XSD)"^^xsd:string ;
487 rdfs:domain ep-material:Gas ; 496 rdfs:domain ep-material:Gas ;
488 rdfs:label "pressure over gas compressibility factor"^^xsd:string ; 497 rdfs:label "pressure over gas compressibility factor"^^xsd:string ;
489 rdfs:range ep-core:Pressure . 498 rdfs:range ep-core:Pressure .
490 499
491 ep-prodwell:potentialGasProduction 500 ep-prodwell:potentialGasProduction
492 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 501 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
493 rdfs:comment "volumetric flow rate that is the potential of the well to produce natural gas. This represents the flow rate that could be achieved under maximum drawdown. (source: MPR-XSD)"^^xsd:string ; 502 rdfs:comment "volumetric flow rate that is the potential of the well to produce natural gas. This represents the flow rate that could be achieved under maximum drawdown. (source: MPR-XSD)"^^xsd:string ;
494 rdfs:domain ep-prodwell:TemporalPartOfAWellOrWellBore ; 503 rdfs:domain ep-prodwell:TemporalPartOfAWellOrWellBore ;
495 rdfs:label "potential gas production"^^xsd:string ; 504 rdfs:label "potential gas production"^^xsd:string ;
496 rdfs:range ep-core:VolumetricFlowRate . 505 rdfs:range ep-core:VolumetricFlowRate .
497 506
498 ep-prodwell:potentialOilProduction 507 ep-prodwell:potentialOilProduction
499 - rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; 508 + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
500 rdfs:comment "volumetric flow rate is the the potential of a well or wellbore to produce crude oil. This represents the flow rate that could be achieved under maximum drawdown. (source: MPR-XSD)"^^xsd:string ; 509 rdfs:comment "volumetric flow rate is the the potential of a well or wellbore to produce crude oil. This represents the flow rate that could be achieved under maximum drawdown. (source: MPR-XSD)"^^xsd:string ;
501 rdfs:domain ep-prodwell:TemporalPartOfAWellOrWellBore ; 510 rdfs:domain ep-prodwell:TemporalPartOfAWellOrWellBore ;
502 rdfs:label "potential oil production"^^xsd:string ; 511 rdfs:label "potential oil production"^^xsd:string ;
......
1 +# baseURI: http://www.reportinghub.no/ep/schema/1.0/unnamed
2 +# imports: http://spinrdf.org/spin
3 +# imports: http://www.epim.no/schemas/mprml/1
4 +# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
5 +
6 +@prefix : <http://www.reportinghub.no/ep/schema/1.0/unnamed#> .
7 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
8 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
9 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
10 +@prefix sp: <http://spinrdf.org/sp#> .
11 +@prefix spin: <http://spinrdf.org/spin#> .
12 +@prefix spl: <http://spinrdf.org/spl#> .
13 +@prefix transhelp: <http://www.reportinghub.no/ep/transform/transform-helper-schema#> .
14 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
15 +
16 +<http://www.reportinghub.no/ep/schema/1.0/unnamed>
17 + rdf:type owl:Ontology ;
18 + owl:imports <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> ;
19 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
20 +
21 +<http://www.reportinghub.no/ep/schema/core#Pressure>
22 + transhelp:rangeOfPropertyMapsToMPREnumeration
23 + <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> , <http://www.epim.no/schemas/mprml/1#FP_annuluspressure> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> .
24 +
25 +<http://www.reportinghub.no/ep/schema/core#Temperature>
26 + transhelp:rangeOfPropertyMapsToMPREnumeration
27 + <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> .
28 +
29 +<http://www.reportinghub.no/ep/schema/equipment#Casing>
30 + transhelp:domainOfPropertyMapsToMPREnumeration
31 + <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> .
32 +
33 +<http://www.reportinghub.no/ep/schema/equipment#Tubing>
34 + transhelp:domainOfPropertyMapsToMPREnumeration
35 + <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> .
36 +
37 +<http://www.reportinghub.no/ep/schema/production-well#WellHeadDownStreamChokeValve>
38 + transhelp:domainOfPropertyMapsToMPREnumeration
39 + <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> .
40 +
41 +<http://www.reportinghub.no/ep/schema/well#WellBoreBottom>
42 + transhelp:domainOfPropertyMapsToMPREnumeration
43 + <http://www.epim.no/schemas/mprml/1#FP_bottomholepressure> , <http://www.epim.no/schemas/mprml/1#FP_bottomholetemperature> .
44 +
45 +<http://www.reportinghub.no/ep/schema/well#WellHead>
46 + transhelp:domainOfPropertyMapsToMPREnumeration
47 + <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> .
48 +
49 +rdf:type
50 + transhelp:propertyMapsToMPREnumeration
51 + <http://www.epim.no/schemas/mprml/1#FP_wellheadpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_tubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperatureDSCT> , <http://www.epim.no/schemas/mprml/1#FP_temperature> , <http://www.epim.no/schemas/mprml/1#FP_pressure> , <http://www.epim.no/schemas/mprml/1#FP_tubingtemperature> , <http://www.epim.no/schemas/mprml/1#FP_flowingtubingpressure> , <http://www.epim.no/schemas/mprml/1#FP_casingpressure> , <http://www.epim.no/schemas/mprml/1#FP_wellheadtemperature> , <http://www.epim.no/schemas/mprml/1#FP_wellheadpressureDSCP> .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
23 23
24 <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> 24 <http://www.reportinghub.no/ep/mpr/spin/1.1/lib>
25 rdf:type owl:Ontology ; 25 rdf:type owl:Ontology ;
26 - owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ; 26 + owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
27 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 27 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
28 28
29 ep-mpr-spin-lib:Function 29 ep-mpr-spin-lib:Function
...@@ -4659,6 +4659,31 @@ ep-mpr-spin-lib:selectProductionWellTestType ...@@ -4659,6 +4659,31 @@ ep-mpr-spin-lib:selectProductionWellTestType
4659 ]) 4659 ])
4660 ] . 4660 ] .
4661 4661
4662 +ep-mpr-spin-lib:selectQuantityTypeUomScale
4663 + rdf:type spin:Function ;
4664 + rdfs:subClassOf ep-mpr-spin-lib:Function ;
4665 + spin:body
4666 + [ rdf:type sp:Select ;
4667 + sp:resultVariables ([ sp:varName "myScale"^^xsd:string
4668 + ]) ;
4669 + sp:where ([ rdf:type sp:Bind ;
4670 + sp:expression
4671 + [ rdf:type sp:if ;
4672 + sp:arg1 [ rdf:type sp:eq ;
4673 + sp:arg1 spin:_arg1 ;
4674 + sp:arg2 <http://www.reportinghub.no/ep/schema/core#Temperature>
4675 + ] ;
4676 + sp:arg2 [ rdf:type ep-mpr-spin-lib:selectTemperatureScale ;
4677 + sp:arg1 spin:_arg2
4678 + ] ;
4679 + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
4680 + ] ;
4681 + sp:variable
4682 + [ sp:varName "myScale"^^xsd:string
4683 + ]
4684 + ])
4685 + ] .
4686 +
4662 ep-mpr-spin-lib:selectRatioScale 4687 ep-mpr-spin-lib:selectRatioScale
4663 rdf:type spin:Function ; 4688 rdf:type spin:Function ;
4664 rdfs:subClassOf ep-mpr-spin-lib:Function ; 4689 rdfs:subClassOf ep-mpr-spin-lib:Function ;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
15 <http://www.reportinghub.no/ep/transform/transform-helper-schema> 15 <http://www.reportinghub.no/ep/transform/transform-helper-schema>
16 rdf:type owl:Ontology ; 16 rdf:type owl:Ontology ;
17 rdfs:comment "The Transform Helper Schema is the set of properties and classes used for the creation of temporary data used as part of the ERH transformations. All instances of classes and uses of these properties is deleted before the triples are stored in the RDF database."^^xsd:string ; 17 rdfs:comment "The Transform Helper Schema is the set of properties and classes used for the creation of temporary data used as part of the ERH transformations. All instances of classes and uses of these properties is deleted before the triples are stored in the RDF database."^^xsd:string ;
18 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.epim.no/schemas/mprml/1> ; 18 + owl:imports <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://spinrdf.org/spin> ;
19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
20 20
21 transhelp:buildRdlURI 21 transhelp:buildRdlURI
...@@ -43,8 +43,13 @@ transhelp:buildRdlURI ...@@ -43,8 +43,13 @@ transhelp:buildRdlURI
43 transhelp:derivedFrom 43 transhelp:derivedFrom
44 rdf:type owl:ObjectProperty . 44 rdf:type owl:ObjectProperty .
45 45
46 +transhelp:domainOfPropertyMapsToMPREnumeration
47 + rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ;
48 + rdfs:label "domain of property maps to MPR enumeration"^^xsd:string ;
49 + rdfs:subPropertyOf transhelp:mapsTo .
50 +
46 transhelp:facilityIdentifier 51 transhelp:facilityIdentifier
47 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 52 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
48 53
49 transhelp:forComment 54 transhelp:forComment
50 rdf:type owl:ObjectProperty ; 55 rdf:type owl:ObjectProperty ;
...@@ -61,36 +66,46 @@ transhelp:hasEquivalentInRDL ...@@ -61,36 +66,46 @@ transhelp:hasEquivalentInRDL
61 rdfs:label "has equivalent in RDL"^^xsd:string . 66 rdfs:label "has equivalent in RDL"^^xsd:string .
62 67
63 transhelp:interval 68 transhelp:interval
64 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 69 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
65 70
66 transhelp:intervalEnd 71 transhelp:intervalEnd
67 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 72 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
68 73
69 transhelp:intervalIdentifier 74 transhelp:intervalIdentifier
70 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 75 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
71 76
72 transhelp:intervalStart 77 transhelp:intervalStart
73 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 78 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
74 79
75 transhelp:label 80 transhelp:label
76 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 81 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
77 82
78 transhelp:mapsTo 83 transhelp:mapsTo
79 rdf:type rdf:Property . 84 rdf:type rdf:Property .
80 85
81 transhelp:materialClassMapsToMPREnumeration 86 transhelp:materialClassMapsToMPREnumeration
82 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty , owl:FunctionalProperty ; 87 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
83 rdfs:label "material class maps to MPR enumeration"^^xsd:string ; 88 rdfs:label "material class maps to MPR enumeration"^^xsd:string ;
84 rdfs:subPropertyOf transhelp:mapsTo . 89 rdfs:subPropertyOf transhelp:mapsTo .
85 90
86 transhelp:nominalInstant 91 transhelp:nominalInstant
87 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 92 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
93 +
94 +transhelp:propertyMapsToMPREnumeration
95 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
96 + rdfs:label "property maps to MPR enumeration"^^xsd:string ;
97 + rdfs:subPropertyOf transhelp:mapsTo .
88 98
89 transhelp:quantitySpaceMapsToClassOfScale 99 transhelp:quantitySpaceMapsToClassOfScale
90 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty , owl:FunctionalProperty ; 100 + rdf:type owl:FunctionalProperty , owl:InverseFunctionalProperty , owl:ObjectProperty ;
91 rdfs:label "quantity space maps to class of scale"^^xsd:string ; 101 rdfs:label "quantity space maps to class of scale"^^xsd:string ;
92 rdfs:subPropertyOf transhelp:mapsTo . 102 rdfs:subPropertyOf transhelp:mapsTo .
93 103
104 +transhelp:rangeOfPropertyMapsToMPREnumeration
105 + rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ;
106 + rdfs:label "range of property maps to MPR enumeration"^^xsd:string ;
107 + rdfs:subPropertyOf transhelp:mapsTo .
108 +
94 transhelp:standardTempPres 109 transhelp:standardTempPres
95 rdf:type rdf:Property ; 110 rdf:type rdf:Property ;
96 rdfs:range <http://www.epim.no/schemas/mprml/1#StandardTempPress> . 111 rdfs:range <http://www.epim.no/schemas/mprml/1#StandardTempPress> .
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
13 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1 13 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1
14 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1 14 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1
15 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0 15 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0
16 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1
16 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumePeriod-v1.0 17 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumePeriod-v1.0
17 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0 18 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0
18 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1 19 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1
...@@ -32,6 +33,7 @@ ...@@ -32,6 +33,7 @@
32 @prefix TRANSFORM_mpr-operationalHSEReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1#> . 33 @prefix TRANSFORM_mpr-operationalHSEReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1#> .
33 @prefix TRANSFORM_mpr-organization-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1#> . 34 @prefix TRANSFORM_mpr-organization-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1#> .
34 @prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> . 35 @prefix TRANSFORM_mpr-productVolume-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0#> .
36 +@prefix TRANSFORM_mpr-productVolumeParameterSet-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1#> .
35 @prefix TRANSFORM_mpr-productVolumePeriod-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumePeriod-v1.0#> . 37 @prefix TRANSFORM_mpr-productVolumePeriod-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumePeriod-v1.0#> .
36 @prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> . 38 @prefix TRANSFORM_mpr-productVolumeReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0#> .
37 @prefix TRANSFORM_mpr-productionActivity-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1#> . 39 @prefix TRANSFORM_mpr-productionActivity-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1#> .
...@@ -55,5 +57,5 @@ ...@@ -55,5 +57,5 @@
55 57
56 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> 58 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
57 rdf:type owl:Ontology ; 59 rdf:type owl:Ontology ;
58 - owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-weather-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumePeriod-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1> ; 60 + owl:imports <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/mpr/wellTest> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1> , <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-organization-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-weather-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumePeriod-v1.0> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0> , <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-operationalHSEReport-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-installationReport-v1.1.1> ;
59 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 61 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
1 +# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1
2 +# imports: http://spinrdf.org/spin
3 +# imports: http://www.epim.no/schemas/mprml/1
4 +# imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib
5 +# imports: http://www.reportinghub.no/ep/schema/1.0/unnamed
6 +# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
7 +
8 +@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1#> .
9 +@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> .
10 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
11 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
12 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
13 +@prefix sp: <http://spinrdf.org/sp#> .
14 +@prefix spin: <http://spinrdf.org/spin#> .
15 +@prefix spl: <http://spinrdf.org/spl#> .
16 +@prefix unnamed: <http://www.reportinghub.no/ep/schema/1.0/unnamed#> .
17 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
18 +
19 +<http://www.epim.no/schemas/mprml/1#Cs_productVolumeParameterSet>
20 + spin:rule
21 + [ rdf:type sp:Construct ;
22 + rdfs:comment "STEP 80002b Measurement qualifier not specified"^^xsd:string ;
23 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/core#MeasuredState> ;
24 + sp:predicate rdf:type ;
25 + sp:subject
26 + [ sp:varName "temporalPart"^^xsd:string
27 + ]
28 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#ValidlyMeasuredState> ;
29 + sp:predicate rdf:type ;
30 + sp:subject
31 + [ sp:varName "temporalPart"^^xsd:string
32 + ]
33 + ]) ;
34 + sp:where ([ rdf:type sp:NotExists ;
35 + sp:elements ([ sp:object
36 + [ sp:varName "qualifierRef"^^xsd:string
37 + ] ;
38 + sp:predicate <http://www.epim.no/schemas/mprml/1#qualifierRef> ;
39 + sp:subject spin:_this
40 + ])
41 + ] [ sp:object
42 + [ sp:varName "parameterRef"^^xsd:string
43 + ] ;
44 + sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
45 + sp:subject spin:_this
46 + ] [ sp:object
47 + [ sp:varName "parameterRef"^^xsd:string
48 + ] ;
49 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
50 + sp:subject
51 + [ sp:varName "temporalPart"^^xsd:string
52 + ]
53 + ])
54 + ] ;
55 + spin:rule
56 + [ rdf:type sp:Construct ;
57 + rdfs:comment "STEP 80002a Measurement qualifier specified"^^xsd:string ;
58 + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/core#MeasuredState> ;
59 + sp:predicate rdf:type ;
60 + sp:subject
61 + [ sp:varName "temporalPart"^^xsd:string
62 + ]
63 + ] [ sp:object
64 + [ sp:varName "measuredQualityType"^^xsd:string
65 + ] ;
66 + sp:predicate rdf:type ;
67 + sp:subject
68 + [ sp:varName "temporalPart"^^xsd:string
69 + ]
70 + ]) ;
71 + sp:where ([ sp:object
72 + [ sp:varName "qualifierRef"^^xsd:string
73 + ] ;
74 + sp:predicate <http://www.epim.no/schemas/mprml/1#qualifierRef> ;
75 + sp:subject spin:_this
76 + ] [ sp:object
77 + [ sp:varName "parameterRef"^^xsd:string
78 + ] ;
79 + sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
80 + sp:subject spin:_this
81 + ] [ sp:object
82 + [ sp:varName "parameterRef"^^xsd:string
83 + ] ;
84 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
85 + sp:subject
86 + [ sp:varName "temporalPart"^^xsd:string
87 + ]
88 + ] [ rdf:type sp:Bind ;
89 + sp:expression
90 + [ rdf:type ep-mpr-spin-lib:selectMeasuredQualityType ;
91 + sp:arg1 [ sp:varName "qualifierRef"^^xsd:string
92 + ]
93 + ] ;
94 + sp:variable
95 + [ sp:varName "measuredQualityType"^^xsd:string
96 + ]
97 + ])
98 + ] ;
99 + spin:rule
100 + [ rdf:type sp:Construct ;
101 + rdfs:comment "STEP 80001b Set the times for the temporal part corresponding to the parameter period"^^xsd:string ;
102 + sp:templates ([ sp:object
103 + [ sp:varName "dTim"^^xsd:string
104 + ] ;
105 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
106 + sp:subject
107 + [ sp:varName "temporalPart"^^xsd:string
108 + ]
109 + ] [ sp:object
110 + [ sp:varName "dTimStart"^^xsd:string
111 + ] ;
112 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
113 + sp:subject
114 + [ sp:varName "temporalPart"^^xsd:string
115 + ]
116 + ] [ sp:object
117 + [ sp:varName "dateStart"^^xsd:string
118 + ] ;
119 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ;
120 + sp:subject
121 + [ sp:varName "temporalPart"^^xsd:string
122 + ]
123 + ] [ sp:object
124 + [ sp:varName "dTimEnd"^^xsd:string
125 + ] ;
126 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
127 + sp:subject
128 + [ sp:varName "temporalPart"^^xsd:string
129 + ]
130 + ] [ sp:object
131 + [ sp:varName "dateEnd"^^xsd:string
132 + ] ;
133 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#finishedAt> ;
134 + sp:subject
135 + [ sp:varName "temporalPart"^^xsd:string
136 + ]
137 + ]) ;
138 + sp:where ([ sp:object
139 + [ sp:varName "nameRef"^^xsd:string
140 + ] ;
141 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
142 + sp:subject spin:_this
143 + ] [ sp:object
144 + [ sp:varName "nameRef"^^xsd:string
145 + ] ;
146 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#domainOfPropertyMapsToMPREnumeration> ;
147 + sp:subject
148 + [ sp:varName "classOfSpatialPart"^^xsd:string
149 + ]
150 + ] [ sp:object
151 + [ sp:varName "parameterRef"^^xsd:string
152 + ] ;
153 + sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
154 + sp:subject spin:_this
155 + ] [ sp:object
156 + [ sp:varName "parameterRef"^^xsd:string
157 + ] ;
158 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
159 + sp:subject
160 + [ sp:varName "temporalPart"^^xsd:string
161 + ]
162 + ] [ rdf:type sp:Optional ;
163 + sp:elements ([ sp:object
164 + [ sp:varName "dTim"^^xsd:string
165 + ] ;
166 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ;
167 + sp:subject
168 + [ sp:varName "parameterRef"^^xsd:string
169 + ]
170 + ])
171 + ] [ rdf:type sp:Optional ;
172 + sp:elements ([ sp:object
173 + [ sp:varName "dTimStart"^^xsd:string
174 + ] ;
175 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
176 + sp:subject
177 + [ sp:varName "parameterRef"^^xsd:string
178 + ]
179 + ])
180 + ] [ rdf:type sp:Optional ;
181 + sp:elements ([ sp:object
182 + [ sp:varName "dTimEnd"^^xsd:string
183 + ] ;
184 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
185 + sp:subject
186 + [ sp:varName "parameterRef"^^xsd:string
187 + ]
188 + ])
189 + ] [ rdf:type sp:Optional ;
190 + sp:elements ([ sp:object
191 + [ sp:varName "dateStart"^^xsd:string
192 + ] ;
193 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
194 + sp:subject
195 + [ sp:varName "parameterRef"^^xsd:string
196 + ]
197 + ])
198 + ] [ rdf:type sp:Optional ;
199 + sp:elements ([ sp:object
200 + [ sp:varName "dateEnd"^^xsd:string
201 + ] ;
202 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
203 + sp:subject
204 + [ sp:varName "parameterRef"^^xsd:string
205 + ]
206 + ])
207 + ])
208 + ] ;
209 + spin:rule
210 + [ rdf:type sp:Construct ;
211 + rdfs:comment "STEP 80001c No temporal part corresponding to the parameter period is necessary"^^xsd:string ;
212 + sp:templates ([ sp:object
213 + [ sp:varName "parameterRef"^^xsd:string
214 + ] ;
215 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
216 + sp:subject
217 + [ sp:varName "spatialPart"^^xsd:string
218 + ]
219 + ]) ;
220 + sp:where ([ sp:object spin:_this ;
221 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
222 + sp:subject
223 + [ sp:varName "spatialPart"^^xsd:string
224 + ]
225 + ] [ sp:object
226 + [ sp:varName "parameterRef"^^xsd:string
227 + ] ;
228 + sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
229 + sp:subject spin:_this
230 + ] [ rdf:type sp:NotExists ;
231 + sp:elements ([ rdf:type sp:Union ;
232 + sp:elements (([ sp:object
233 + [ sp:varName "dTim"^^xsd:string
234 + ] ;
235 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ;
236 + sp:subject
237 + [ sp:varName "parameterRef"^^xsd:string
238 + ]
239 + ]) ([ sp:object
240 + [ sp:varName "dTimStart"^^xsd:string
241 + ] ;
242 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
243 + sp:subject
244 + [ sp:varName "parameterRef"^^xsd:string
245 + ]
246 + ]) ([ sp:object
247 + [ sp:varName "dTimEnd"^^xsd:string
248 + ] ;
249 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
250 + sp:subject
251 + [ sp:varName "parameterRef"^^xsd:string
252 + ]
253 + ]) ([ sp:object
254 + [ sp:varName "dateStart"^^xsd:string
255 + ] ;
256 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
257 + sp:subject
258 + [ sp:varName "parameterRef"^^xsd:string
259 + ]
260 + ]) ([ sp:object
261 + [ sp:varName "dateEnd"^^xsd:string
262 + ] ;
263 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
264 + sp:subject
265 + [ sp:varName "parameterRef"^^xsd:string
266 + ]
267 + ]))
268 + ])
269 + ])
270 + ] ;
271 + spin:rule
272 + [ rdf:type sp:Construct ;
273 + rdfs:comment "STEP 80003 Assign parameter value"^^xsd:string ;
274 + sp:templates ([ sp:object _:b1 ;
275 + sp:predicate
276 + [ sp:varName "propertyType"^^xsd:string
277 + ] ;
278 + sp:subject
279 + [ sp:varName "temporalPart"^^xsd:string
280 + ]
281 + ] [ sp:object
282 + [ sp:varName "quantityType"^^xsd:string
283 + ] ;
284 + sp:predicate rdf:type ;
285 + sp:subject _:b1
286 + ] [ sp:object
287 + [ sp:varName "measureValue"^^xsd:string
288 + ] ;
289 + sp:predicate
290 + [ sp:varName "measureScale"^^xsd:string
291 + ] ;
292 + sp:subject _:b1
293 + ]) ;
294 + sp:where ([ sp:object
295 + [ sp:varName "nameRef"^^xsd:string
296 + ] ;
297 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
298 + sp:subject spin:_this
299 + ] [ sp:object
300 + [ sp:varName "nameRef"^^xsd:string
301 + ] ;
302 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#propertyMapsToMPREnumeration> ;
303 + sp:subject
304 + [ sp:varName "propertyType"^^xsd:string
305 + ]
306 + ] [ sp:object
307 + [ sp:varName "nameRef"^^xsd:string
308 + ] ;
309 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#rangeOfPropertyMapsToMPREnumeration> ;
310 + sp:subject
311 + [ sp:varName "quantityType"^^xsd:string
312 + ]
313 + ] [ sp:object
314 + [ sp:varName "parameterRef"^^xsd:string
315 + ] ;
316 + sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
317 + sp:subject spin:_this
318 + ] [ sp:object
319 + [ sp:varName "parameterRef"^^xsd:string
320 + ] ;
321 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
322 + sp:subject
323 + [ sp:varName "temporalPart"^^xsd:string
324 + ]
325 + ] [ sp:object
326 + [ sp:varName "measureValueRef"^^xsd:string
327 + ] ;
328 + sp:predicate <http://www.epim.no/schemas/mprml/1#measureValueRef> ;
329 + sp:subject
330 + [ sp:varName "parameterRef"^^xsd:string
331 + ]
332 + ] [ sp:object
333 + [ sp:varName "measureValue"^^xsd:string
334 + ] ;
335 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
336 + sp:subject
337 + [ sp:varName "measureValueRef"^^xsd:string
338 + ]
339 + ] [ sp:object
340 + [ sp:varName "measureUomString"^^xsd:string
341 + ] ;
342 + sp:predicate <http://www.epim.no/schemas/mprml/1#uom> ;
343 + sp:subject
344 + [ sp:varName "measureValueRef"^^xsd:string
345 + ]
346 + ] [ rdf:type sp:Bind ;
347 + sp:expression
348 + [ rdf:type ep-mpr-spin-lib:selectQuantityTypeUomScale ;
349 + sp:arg1 [ sp:varName "quantityType"^^xsd:string
350 + ] ;
351 + sp:arg2 [ sp:varName "measureUomString"^^xsd:string
352 + ]
353 + ] ;
354 + sp:variable
355 + [ sp:varName "measureScale"^^xsd:string
356 + ]
357 + ])
358 + ] ;
359 + spin:rule
360 + [ rdf:type sp:Construct ;
361 + rdfs:comment "STEP 80001a Create temporal part corresponding to the parameter period"^^xsd:string ;
362 + sp:templates ([ sp:object
363 + [ sp:varName "spatialPart"^^xsd:string
364 + ] ;
365 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
366 + sp:subject _:b2
367 + ] [ sp:object
368 + [ sp:varName "classOfSpatialPart"^^xsd:string
369 + ] ;
370 + sp:predicate rdf:type ;
371 + sp:subject _:b2
372 + ] [ sp:object
373 + [ sp:varName "parameterRef"^^xsd:string
374 + ] ;
375 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
376 + sp:subject _:b2
377 + ]) ;
378 + sp:where ([ sp:object spin:_this ;
379 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
380 + sp:subject
381 + [ sp:varName "spatialPart"^^xsd:string
382 + ]
383 + ] [ sp:object
384 + [ sp:varName "nameRef"^^xsd:string
385 + ] ;
386 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
387 + sp:subject spin:_this
388 + ] [ sp:object
389 + [ sp:varName "nameRef"^^xsd:string
390 + ] ;
391 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#domainOfPropertyMapsToMPREnumeration> ;
392 + sp:subject
393 + [ sp:varName "classOfSpatialPart"^^xsd:string
394 + ]
395 + ] [ sp:object
396 + [ sp:varName "parameterRef"^^xsd:string
397 + ] ;
398 + sp:predicate <http://www.epim.no/schemas/mprml/1#parameterRef> ;
399 + sp:subject spin:_this
400 + ] [ rdf:type sp:Exists ;
401 + sp:elements ([ rdf:type sp:Union ;
402 + sp:elements (([ sp:object
403 + [ sp:varName "dTim"^^xsd:string
404 + ] ;
405 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTim> ;
406 + sp:subject
407 + [ sp:varName "parameterRef"^^xsd:string
408 + ]
409 + ]) ([ sp:object
410 + [ sp:varName "dTimStart"^^xsd:string
411 + ] ;
412 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimStart> ;
413 + sp:subject
414 + [ sp:varName "parameterRef"^^xsd:string
415 + ]
416 + ]) ([ sp:object
417 + [ sp:varName "dTimEnd"^^xsd:string
418 + ] ;
419 + sp:predicate <http://www.epim.no/schemas/mprml/1#dTimEnd> ;
420 + sp:subject
421 + [ sp:varName "parameterRef"^^xsd:string
422 + ]
423 + ]) ([ sp:object
424 + [ sp:varName "dateStart"^^xsd:string
425 + ] ;
426 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateStart> ;
427 + sp:subject
428 + [ sp:varName "parameterRef"^^xsd:string
429 + ]
430 + ]) ([ sp:object
431 + [ sp:varName "dateEnd"^^xsd:string
432 + ] ;
433 + sp:predicate <http://www.epim.no/schemas/mprml/1#dateEnd> ;
434 + sp:subject
435 + [ sp:varName "parameterRef"^^xsd:string
436 + ]
437 + ]))
438 + ])
439 + ])
440 + ] ;
441 + spin:rule
442 + [ rdf:type sp:Construct ;
443 + rdfs:comment "STEP 80000 Create the object that has the parameterSet property - either for all of its life or for a temporal part"^^xsd:string ;
444 + sp:templates ([ sp:object
445 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
446 + ] ;
447 + sp:predicate <http://www.reportinghub.no/ep/schema/core#spatialPartOf> ;
448 + sp:subject _:b3
449 + ] [ sp:object
450 + [ sp:varName "classOfSpatialPart"^^xsd:string
451 + ] ;
452 + sp:predicate rdf:type ;
453 + sp:subject _:b3
454 + ] [ sp:object spin:_this ;
455 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
456 + sp:subject _:b3
457 + ]) ;
458 + sp:where ([ sp:object spin:_this ;
459 + sp:predicate <http://www.epim.no/schemas/mprml/1#parameterSetRef> ;
460 + sp:subject
461 + [ sp:varName "facilityRef"^^xsd:string
462 + ]
463 + ] [ sp:object
464 + [ sp:varName "facilityRef"^^xsd:string
465 + ] ;
466 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
467 + sp:subject
468 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
469 + ]
470 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
471 + sp:predicate rdf:type ;
472 + sp:subject
473 + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string
474 + ]
475 + ] [ sp:object
476 + [ sp:varName "nameRef"^^xsd:string
477 + ] ;
478 + sp:predicate <http://www.epim.no/schemas/mprml/1#nameRef> ;
479 + sp:subject spin:_this
480 + ] [ sp:object
481 + [ sp:varName "nameRef"^^xsd:string
482 + ] ;
483 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#domainOfPropertyMapsToMPREnumeration> ;
484 + sp:subject
485 + [ sp:varName "classOfSpatialPart"^^xsd:string
486 + ]
487 + ])
488 + ] .
489 +
490 +<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeParameterSet-v1.1.1>
491 + rdf:type owl:Ontology ;
492 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/unnamed> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> ;
493 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 +# baseURI: null
2 +
3 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
4 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
5 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
6 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
7 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
9 +@prefix visual: <http://topbraid.org/visual#> .
10 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 +
12 +[] rdf:type inference:Configuration ;
13 + composite:child
14 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + composite:index "0"^^xsd:int
16 + ] .