David Leal

Bug fix for well test data

...@@ -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
...@@ -2988,75 +2988,75 @@ At present checks only that the start is the first day of the month and that the ...@@ -2988,75 +2988,75 @@ At present checks only that the start is the first day of the month and that the
2988 sp:expression 2988 sp:expression
2989 [ rdf:type sp:if ; 2989 [ rdf:type sp:if ;
2990 sp:arg1 [ rdf:type sp:eq ; 2990 sp:arg1 [ rdf:type sp:eq ;
2991 - sp:arg1 [ rdf:type fn:substring ; 2991 + sp:arg1 [ rdf:type smf:subString ;
2992 - sp:arg1 spin:_arg1 ; 2992 + arg:fromIndex 0 ;
2993 - sp:arg2 0 ; 2993 + arg:toIndex 7 ;
2994 - sp:arg3 7 2994 + sp:arg1 spin:_arg1
2995 ] ; 2995 ] ;
2996 - sp:arg2 [ rdf:type fn:substring ; 2996 + sp:arg2 [ rdf:type smf:subString ;
2997 - sp:arg1 spin:_arg3 ; 2997 + arg:fromIndex 0 ;
2998 - sp:arg2 0 ; 2998 + arg:toIndex 7 ;
2999 - sp:arg3 7 2999 + sp:arg1 spin:_arg3
3000 ] 3000 ]
3001 ] ; 3001 ] ;
3002 sp:arg2 [ rdf:type sp:if ; 3002 sp:arg2 [ rdf:type sp:if ;
3003 sp:arg1 [ rdf:type sp:eq ; 3003 sp:arg1 [ rdf:type sp:eq ;
3004 - sp:arg1 [ rdf:type fn:substring ; 3004 + sp:arg1 [ rdf:type smf:subString ;
3005 - sp:arg1 spin:_arg2 ; 3005 + arg:fromIndex 0 ;
3006 - sp:arg2 0 ; 3006 + arg:toIndex 7 ;
3007 - sp:arg3 7 3007 + sp:arg1 spin:_arg2
3008 ] ; 3008 ] ;
3009 - sp:arg2 [ rdf:type fn:substring ; 3009 + sp:arg2 [ rdf:type smf:subString ;
3010 - sp:arg1 spin:_arg3 ; 3010 + arg:fromIndex 0 ;
3011 - sp:arg2 0 ; 3011 + arg:toIndex 7 ;
3012 - sp:arg3 7 3012 + sp:arg1 spin:_arg3
3013 ] 3013 ]
3014 ] ; 3014 ] ;
3015 sp:arg2 [ rdf:type sp:if ; 3015 sp:arg2 [ rdf:type sp:if ;
3016 sp:arg1 [ rdf:type sp:eq ; 3016 sp:arg1 [ rdf:type sp:eq ;
3017 - sp:arg1 [ rdf:type fn:substring ; 3017 + sp:arg1 [ rdf:type smf:subString ;
3018 - sp:arg1 spin:_arg1 ; 3018 + arg:fromIndex 8 ;
3019 - sp:arg2 8 ; 3019 + arg:toIndex 10 ;
3020 - sp:arg3 10 3020 + sp:arg1 spin:_arg1
3021 ] ; 3021 ] ;
3022 sp:arg2 "01" 3022 sp:arg2 "01"
3023 ] ; 3023 ] ;
3024 sp:arg2 [ rdf:type sp:if ; 3024 sp:arg2 [ rdf:type sp:if ;
3025 sp:arg1 [ rdf:type sp:eq ; 3025 sp:arg1 [ rdf:type sp:eq ;
3026 - sp:arg1 [ rdf:type fn:substring ; 3026 + sp:arg1 [ rdf:type smf:subString ;
3027 - sp:arg1 spin:_arg2 ; 3027 + arg:fromIndex 8 ;
3028 - sp:arg2 8 ; 3028 + arg:toIndex 10 ;
3029 - sp:arg3 10 3029 + sp:arg1 spin:_arg2
3030 ] ; 3030 ] ;
3031 sp:arg2 "31" 3031 sp:arg2 "31"
3032 ] ; 3032 ] ;
3033 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#existsThroughout> ; 3033 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#existsThroughout> ;
3034 sp:arg3 [ rdf:type sp:if ; 3034 sp:arg3 [ rdf:type sp:if ;
3035 sp:arg1 [ rdf:type sp:eq ; 3035 sp:arg1 [ rdf:type sp:eq ;
3036 - sp:arg1 [ rdf:type fn:substring ; 3036 + sp:arg1 [ rdf:type smf:subString ;
3037 - sp:arg1 spin:_arg2 ; 3037 + arg:fromIndex 8 ;
3038 - sp:arg2 8 ; 3038 + arg:toIndex 10 ;
3039 - sp:arg3 10 3039 + sp:arg1 spin:_arg2
3040 ] ; 3040 ] ;
3041 sp:arg2 "30" 3041 sp:arg2 "30"
3042 ] ; 3042 ] ;
3043 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#existsThroughout> ; 3043 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#existsThroughout> ;
3044 sp:arg3 [ rdf:type sp:if ; 3044 sp:arg3 [ rdf:type sp:if ;
3045 sp:arg1 [ rdf:type sp:eq ; 3045 sp:arg1 [ rdf:type sp:eq ;
3046 - sp:arg1 [ rdf:type fn:substring ; 3046 + sp:arg1 [ rdf:type smf:subString ;
3047 - sp:arg1 spin:_arg2 ; 3047 + arg:fromIndex 8 ;
3048 - sp:arg2 8 ; 3048 + arg:toIndex 10 ;
3049 - sp:arg3 10 3049 + sp:arg1 spin:_arg2
3050 ] ; 3050 ] ;
3051 sp:arg2 "29" 3051 sp:arg2 "29"
3052 ] ; 3052 ] ;
3053 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#existsThroughout> ; 3053 sp:arg2 <http://www.reportinghub.no/ep/schema/activity#existsThroughout> ;
3054 sp:arg3 [ rdf:type sp:if ; 3054 sp:arg3 [ rdf:type sp:if ;
3055 sp:arg1 [ rdf:type sp:eq ; 3055 sp:arg1 [ rdf:type sp:eq ;
3056 - sp:arg1 [ rdf:type fn:substring ; 3056 + sp:arg1 [ rdf:type smf:subString ;
3057 - sp:arg1 spin:_arg2 ; 3057 + arg:fromIndex 8 ;
3058 - sp:arg2 8 ; 3058 + arg:toIndex 10 ;
3059 - sp:arg3 10 3059 + sp:arg1 spin:_arg2
3060 ] ; 3060 ] ;
3061 sp:arg2 "28" 3061 sp:arg2 "28"
3062 ] ; 3062 ] ;
......
...@@ -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://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ; 18 + owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/activity> ;
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
...@@ -44,15 +44,15 @@ transhelp:derivedFrom ...@@ -44,15 +44,15 @@ transhelp:derivedFrom
44 rdf:type owl:ObjectProperty . 44 rdf:type owl:ObjectProperty .
45 45
46 transhelp:domainOfPropertyMapsToMPREnumeration 46 transhelp:domainOfPropertyMapsToMPREnumeration
47 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; 47 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
48 rdfs:label "domain of property maps to MPR enumeration"^^xsd:string ; 48 rdfs:label "domain of property maps to MPR enumeration"^^xsd:string ;
49 rdfs:subPropertyOf transhelp:mapsTo . 49 rdfs:subPropertyOf transhelp:mapsTo .
50 50
51 transhelp:facilityIdentifier 51 transhelp:facilityIdentifier
52 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 52 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
53 53
54 transhelp:flowingStateMapsToMPREnumeration 54 transhelp:flowingStateMapsToMPREnumeration
55 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; 55 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
56 rdfs:label "flowing state maps to MPR enumeration"^^xsd:string ; 56 rdfs:label "flowing state maps to MPR enumeration"^^xsd:string ;
57 rdfs:subPropertyOf transhelp:mapsTo . 57 rdfs:subPropertyOf transhelp:mapsTo .
58 58
...@@ -74,25 +74,25 @@ transhelp:hasEquivalentInRDL ...@@ -74,25 +74,25 @@ transhelp:hasEquivalentInRDL
74 rdfs:label "has equivalent in RDL"^^xsd:string . 74 rdfs:label "has equivalent in RDL"^^xsd:string .
75 75
76 transhelp:interval 76 transhelp:interval
77 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 77 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
78 78
79 transhelp:intervalEnd 79 transhelp:intervalEnd
80 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 80 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
81 81
82 transhelp:intervalIdentifier 82 transhelp:intervalIdentifier
83 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 83 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
84 84
85 transhelp:intervalStart 85 transhelp:intervalStart
86 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 86 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
87 87
88 transhelp:label 88 transhelp:label
89 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 89 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
90 90
91 transhelp:mapsTo 91 transhelp:mapsTo
92 rdf:type rdf:Property . 92 rdf:type rdf:Property .
93 93
94 transhelp:materialClassMapsToMPREnumeration 94 transhelp:materialClassMapsToMPREnumeration
95 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; 95 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
96 rdfs:label "material class maps to MPR enumeration"^^xsd:string ; 96 rdfs:label "material class maps to MPR enumeration"^^xsd:string ;
97 rdfs:subPropertyOf transhelp:mapsTo . 97 rdfs:subPropertyOf transhelp:mapsTo .
98 98
...@@ -100,25 +100,28 @@ transhelp:necessaryIntervalString ...@@ -100,25 +100,28 @@ transhelp:necessaryIntervalString
100 rdf:type owl:DatatypeProperty . 100 rdf:type owl:DatatypeProperty .
101 101
102 transhelp:nominalInstant 102 transhelp:nominalInstant
103 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 103 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
104 104
105 transhelp:propertyMapsToMPREnumeration 105 transhelp:propertyMapsToMPREnumeration
106 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; 106 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
107 rdfs:label "property maps to MPR enumeration"^^xsd:string ; 107 rdfs:label "property maps to MPR enumeration"^^xsd:string ;
108 rdfs:subPropertyOf transhelp:mapsTo . 108 rdfs:subPropertyOf transhelp:mapsTo .
109 109
110 transhelp:quantitySpaceMapsToClassOfScale 110 transhelp:quantitySpaceMapsToClassOfScale
111 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty , owl:FunctionalProperty ; 111 + rdf:type owl:FunctionalProperty , owl:InverseFunctionalProperty , owl:ObjectProperty ;
112 rdfs:label "quantity space maps to class of scale"^^xsd:string ; 112 rdfs:label "quantity space maps to class of scale"^^xsd:string ;
113 rdfs:subPropertyOf transhelp:mapsTo . 113 rdfs:subPropertyOf transhelp:mapsTo .
114 114
115 transhelp:rangeOfPropertyMapsToMPREnumeration 115 transhelp:rangeOfPropertyMapsToMPREnumeration
116 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; 116 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
117 rdfs:label "range of property maps to MPR enumeration"^^xsd:string ; 117 rdfs:label "range of property maps to MPR enumeration"^^xsd:string ;
118 rdfs:subPropertyOf transhelp:mapsTo . 118 rdfs:subPropertyOf transhelp:mapsTo .
119 119
120 +transhelp:reportedOn
121 + rdf:type owl:ObjectProperty .
122 +
120 transhelp:scaleMapsToMPREnumeration 123 transhelp:scaleMapsToMPREnumeration
121 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty ; 124 + rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
122 rdfs:label "scale maps to MPR enumeration"^^xsd:string ; 125 rdfs:label "scale maps to MPR enumeration"^^xsd:string ;
123 rdfs:subPropertyOf transhelp:mapsTo . 126 rdfs:subPropertyOf transhelp:mapsTo .
124 127
......