David Leal

Added the weather transform

...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 22
23 <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> 23 <http://www.reportinghub.no/ep/mpr/spin/1.1/lib>
24 rdf:type owl:Ontology ; 24 rdf:type owl:Ontology ;
25 - owl:imports <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> ; 25 + 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> ;
26 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 26 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
27 27
28 ep-mpr-spin-lib:Function 28 ep-mpr-spin-lib:Function
...@@ -80,6 +80,28 @@ ep-mpr-spin-lib:buildPersonRoleTypeURI ...@@ -80,6 +80,28 @@ ep-mpr-spin-lib:buildPersonRoleTypeURI
80 ]) 80 ])
81 ] . 81 ] .
82 82
83 +ep-mpr-spin-lib:buildPrecipitationTypeURI
84 + rdf:type spin:Function ;
85 + rdfs:label "build PrecipitationType URI"^^xsd:string ;
86 + rdfs:subClassOf ep-mpr-spin-lib:Function ;
87 + spin:body
88 + [ rdf:type sp:Select ;
89 + sp:resultVariables ([ sp:varName "uri"^^xsd:string
90 + ]) ;
91 + sp:where ([ rdf:type sp:Bind ;
92 + sp:expression
93 + [ rdf:type ep-spin-lib:buildURI ;
94 + sp:arg1 "https://www.reportinghub.no/ep/data/precipitationType/" ;
95 + sp:arg2 [ rdf:type ep-spin-lib:normalizeString ;
96 + sp:arg1 spin:_arg1
97 + ]
98 + ] ;
99 + sp:variable
100 + [ sp:varName "uri"^^xsd:string
101 + ]
102 + ])
103 + ] .
104 +
83 ep-mpr-spin-lib:buildProductionOperationMethodTypeURI 105 ep-mpr-spin-lib:buildProductionOperationMethodTypeURI
84 rdf:type spin:Function ; 106 rdf:type spin:Function ;
85 rdfs:label "build ProductionOperationMethodType URI"^^xsd:string ; 107 rdfs:label "build ProductionOperationMethodType URI"^^xsd:string ;
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
16 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1 16 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionActivity-v1.1.1
17 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1 17 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1
18 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0 18 # imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0
19 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-weather-v1.1.1
19 # imports: http://www.reportinghub.no/ep/transform/transform-helper-schema 20 # imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
20 21
21 @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> . 22 @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector#> .
...@@ -33,6 +34,7 @@ ...@@ -33,6 +34,7 @@
33 @prefix TRANSFORM_mpr-productionOperationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1#> . 34 @prefix TRANSFORM_mpr-productionOperationReport-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionOperationReport-v1.1.1#> .
34 @prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> . 35 @prefix TRANSFORM_mpr-productionReport-v1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productionReport-v1.0#> .
35 @prefix TRANSFORM_mpr-volumeValue-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1#> . 36 @prefix TRANSFORM_mpr-volumeValue-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-commonPropertiesProductVolume-v1.1.1#> .
37 +@prefix TRANSFORM_mpr-weather-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-weather-v1.1.1#> .
36 @prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults#> . 38 @prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/injectionTestResults#> .
37 @prefix owl: <http://www.w3.org/2002/07/owl#> . 39 @prefix owl: <http://www.w3.org/2002/07/owl#> .
38 @prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults#> . 40 @prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults#> .
...@@ -46,5 +48,5 @@ ...@@ -46,5 +48,5 @@
46 48
47 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector> 49 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-collector>
48 rdf:type owl:Ontology ; 50 rdf:type owl:Ontology ;
49 - 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-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-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> ; 51 + 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-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-weather-v1.1.1> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolumeReport-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> ;
50 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 52 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
This diff could not be displayed because it is too large.
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 + ] .