David Leal

More MPR_productionOperation transform stuff

...@@ -1065,11 +1065,6 @@ ep-core:halfMillisecond ...@@ -1065,11 +1065,6 @@ ep-core:halfMillisecond
1065 rdfs:domain ep-core:TimeDuration ; 1065 rdfs:domain ep-core:TimeDuration ;
1066 rdfs:label "half millisecond"^^xsd:string . 1066 rdfs:label "half millisecond"^^xsd:string .
1067 1067
1068 -ep-core:hasSetOfAllPartsOfType
1069 - rdf:type owl:ObjectProperty ;
1070 - rdfs:domain ep-core:PhysicalThing ;
1071 - rdfs:label "basis for"^^xsd:string .
1072 -
1073 ep-core:hectare 1068 ep-core:hectare
1074 rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ; 1069 rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
1075 rdfs:label "hectares"^^xsd:string . 1070 rdfs:label "hectares"^^xsd:string .
...@@ -3127,6 +3122,11 @@ ep-prodcore:Acidity ...@@ -3127,6 +3122,11 @@ ep-prodcore:Acidity
3127 rdfs:label "acidity"^^xsd:string ; 3122 rdfs:label "acidity"^^xsd:string ;
3128 rdfs:subClassOf owl:Class . 3123 rdfs:subClassOf owl:Class .
3129 3124
3125 +ep-prodcore:CompositionOfAllPartsOfDefinedType
3126 + rdf:type rdfs:Class ;
3127 + rdfs:label "composition of all parts of defined type"^^xsd:string ;
3128 + rdfs:subClassOf ep-core:PhysicalObject .
3129 +
3130 ep-prodcore:DensityAt0degC1atm 3130 ep-prodcore:DensityAt0degC1atm
3131 rdf:type ep-core:PropertySpace , rdfs:Class ; 3131 rdf:type ep-core:PropertySpace , rdfs:Class ;
3132 rdfs:label "density at 0 degrees C 1 atmosphere"^^xsd:string ; 3132 rdfs:label "density at 0 degrees C 1 atmosphere"^^xsd:string ;
...@@ -3161,6 +3161,11 @@ ep-prodcore:RegionOfSpace ...@@ -3161,6 +3161,11 @@ ep-prodcore:RegionOfSpace
3161 rdfs:label "region of space"^^xsd:string ; 3161 rdfs:label "region of space"^^xsd:string ;
3162 rdfs:subClassOf ep-prodcore:TemporalPartOfARegionOfSpace . 3162 rdfs:subClassOf ep-prodcore:TemporalPartOfARegionOfSpace .
3163 3163
3164 +ep-prodcore:SetOfAllPartsOfDefinedType
3165 + rdf:type rdfs:Class ;
3166 + rdfs:label "set of all parts of defined type"^^xsd:string ;
3167 + rdfs:subClassOf owl:Class .
3168 +
3164 ep-prodcore:TemporalPartOfAPointInSpace 3169 ep-prodcore:TemporalPartOfAPointInSpace
3165 rdf:type owl:Class ; 3170 rdf:type owl:Class ;
3166 rdfs:label "temporal part of a point in space"^^xsd:string ; 3171 rdfs:label "temporal part of a point in space"^^xsd:string ;
...@@ -3181,10 +3186,26 @@ ep-prodcore:VolumeFlowRateAt0degC1atm ...@@ -3181,10 +3186,26 @@ ep-prodcore:VolumeFlowRateAt0degC1atm
3181 rdfs:label "volume flow rate at 0 degrees C 1 atmosphere"^^xsd:string ; 3186 rdfs:label "volume flow rate at 0 degrees C 1 atmosphere"^^xsd:string ;
3182 rdfs:subClassOf ep-core:MeasureOfFlowOfMaterial . 3187 rdfs:subClassOf ep-core:MeasureOfFlowOfMaterial .
3183 3188
3189 +ep-prodcore:definingType
3190 + rdf:type owl:FunctionalProperty ;
3191 + rdfs:label "defining type"^^xsd:string ;
3192 + rdfs:range owl:Class .
3193 +
3184 ep-prodcore:dummyTrue 3194 ep-prodcore:dummyTrue
3185 rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; 3195 rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
3186 rdfs:label "dummy true - I can't get FILTER to work."^^xsd:string . 3196 rdfs:label "dummy true - I can't get FILTER to work."^^xsd:string .
3187 3197
3198 +ep-prodcore:hasCompositionOfAllPartsOfDefinedType
3199 + rdf:type owl:ObjectProperty ;
3200 + rdfs:domain ep-core:PhysicalObject ;
3201 + rdfs:label "has composition of all parts of defined type"^^xsd:string ;
3202 + rdfs:range ep-prodcore:CompositionOfAllPartsOfDefinedType .
3203 +
3204 +ep-prodcore:hasSetOfAllPartsOfDefinedType
3205 + rdf:type owl:ObjectProperty ;
3206 + rdfs:label "has set of all parts of defined type"^^xsd:string ;
3207 + rdfs:range ep-prodcore:SetOfAllPartsOfDefinedType .
3208 +
3188 ep-prodcore:intervalIdentifier 3209 ep-prodcore:intervalIdentifier
3189 rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 3210 rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
3190 rdfs:label "ph"^^xsd:string . 3211 rdfs:label "ph"^^xsd:string .
...@@ -3193,6 +3214,17 @@ ep-prodcore:mapsTo ...@@ -3193,6 +3214,17 @@ ep-prodcore:mapsTo
3193 rdf:type rdf:Property ; 3214 rdf:type rdf:Property ;
3194 rdfs:label "maps to"^^xsd:string . 3215 rdfs:label "maps to"^^xsd:string .
3195 3216
3217 +ep-prodcore:meanTimeBetweenParts
3218 + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ;
3219 + rdfs:domain ep-prodcore:CompositionOfAllPartsOfDefinedType ;
3220 + rdfs:label "mean time between parts"^^xsd:string ;
3221 + rdfs:range ep-core:TimeDuration .
3222 +
3223 +ep-prodcore:numberInSet
3224 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ;
3225 + rdfs:domain owl:Class ;
3226 + rdfs:label "number in set"^^xsd:string .
3227 +
3196 ep-prodcore:ph 3228 ep-prodcore:ph
3197 rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ; 3229 rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
3198 rdfs:domain ep-prodcore:Acidity ; 3230 rdfs:domain ep-prodcore:Acidity ;
......
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
10 10
11 <http://www.reportinghub.no/ep/schema/1.0/production-organization> 11 <http://www.reportinghub.no/ep/schema/1.0/production-organization>
12 rdf:type owl:Ontology ; 12 rdf:type owl:Ontology ;
13 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> ; 13 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> ;
14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
15 15
16 <http://www.reportinghub.no/ep/schema/organization#Organization> 16 <http://www.reportinghub.no/ep/schema/organization#Organization>
17 rdfs:subClassOf ep-prodorg:PersonOrOrganization . 17 rdfs:subClassOf ep-prodorg:PersonOrOrganization .
18 18
19 ep-prodorg:CateringCrew 19 ep-prodorg:CateringCrew
20 - rdf:type ep-prodorg:CrewType , owl:Class ; 20 + rdf:type owl:Class , ep-prodorg:CrewType ;
21 rdfs:label "catering crew"^^xsd:string ; 21 rdfs:label "catering crew"^^xsd:string ;
22 rdfs:subClassOf ep-prodorg:Crew . 22 rdfs:subClassOf ep-prodorg:Crew .
23 23
...@@ -27,7 +27,7 @@ ep-prodorg:CommercialEntity ...@@ -27,7 +27,7 @@ ep-prodorg:CommercialEntity
27 rdfs:subClassOf ep-prodorg:PersonOrOrganization . 27 rdfs:subClassOf ep-prodorg:PersonOrOrganization .
28 28
29 ep-prodorg:ContractorCrew 29 ep-prodorg:ContractorCrew
30 - rdf:type ep-prodorg:CrewType , owl:Class ; 30 + rdf:type owl:Class , ep-prodorg:CrewType ;
31 rdfs:label "contractor crew"^^xsd:string ; 31 rdfs:label "contractor crew"^^xsd:string ;
32 rdfs:subClassOf ep-prodorg:Crew . 32 rdfs:subClassOf ep-prodorg:Crew .
33 33
...@@ -42,27 +42,27 @@ ep-prodorg:CrewType ...@@ -42,27 +42,27 @@ ep-prodorg:CrewType
42 rdfs:subClassOf owl:Class . 42 rdfs:subClassOf owl:Class .
43 43
44 ep-prodorg:DayVisitorCrew 44 ep-prodorg:DayVisitorCrew
45 - rdf:type ep-prodorg:CrewType , owl:Class ; 45 + rdf:type owl:Class , ep-prodorg:CrewType ;
46 rdfs:label "day visitor crew"^^xsd:string ; 46 rdfs:label "day visitor crew"^^xsd:string ;
47 rdfs:subClassOf ep-prodorg:Crew . 47 rdfs:subClassOf ep-prodorg:Crew .
48 48
49 ep-prodorg:DrillingContractCrew 49 ep-prodorg:DrillingContractCrew
50 - rdf:type ep-prodorg:CrewType , owl:Class ; 50 + rdf:type owl:Class , ep-prodorg:CrewType ;
51 rdfs:label "drilling contract crew"^^xsd:string ; 51 rdfs:label "drilling contract crew"^^xsd:string ;
52 rdfs:subClassOf ep-prodorg:Crew . 52 rdfs:subClassOf ep-prodorg:Crew .
53 53
54 ep-prodorg:NonOperatorOvernightVisitorCrew 54 ep-prodorg:NonOperatorOvernightVisitorCrew
55 - rdf:type owl:Class , ep-prodorg:CrewType ; 55 + rdf:type ep-prodorg:CrewType , owl:Class ;
56 rdfs:label "non-operator overnight visitor crew"^^xsd:string ; 56 rdfs:label "non-operator overnight visitor crew"^^xsd:string ;
57 rdfs:subClassOf ep-prodorg:Crew . 57 rdfs:subClassOf ep-prodorg:Crew .
58 58
59 ep-prodorg:OperatorNormalCrew 59 ep-prodorg:OperatorNormalCrew
60 - rdf:type ep-prodorg:CrewType , owl:Class ; 60 + rdf:type owl:Class , ep-prodorg:CrewType ;
61 rdfs:label "operator normal crew"^^xsd:string ; 61 rdfs:label "operator normal crew"^^xsd:string ;
62 rdfs:subClassOf ep-prodorg:Crew . 62 rdfs:subClassOf ep-prodorg:Crew .
63 63
64 ep-prodorg:OperatorOvernightVisitorCrew 64 ep-prodorg:OperatorOvernightVisitorCrew
65 - rdf:type ep-prodorg:CrewType , owl:Class ; 65 + rdf:type owl:Class , ep-prodorg:CrewType ;
66 rdfs:label "operator overnight visitor crew"^^xsd:string ; 66 rdfs:label "operator overnight visitor crew"^^xsd:string ;
67 rdfs:subClassOf ep-prodorg:Crew . 67 rdfs:subClassOf ep-prodorg:Crew .
68 68
...@@ -79,8 +79,13 @@ ep-prodorg:PersonRole ...@@ -79,8 +79,13 @@ ep-prodorg:PersonRole
79 rdfs:label "person role"^^xsd:string ; 79 rdfs:label "person role"^^xsd:string ;
80 rdfs:subClassOf ep-prodorg:Person . 80 rdfs:subClassOf ep-prodorg:Person .
81 81
82 +ep-prodorg:PersonRoleType
83 + rdf:type rdfs:Class ;
84 + rdfs:label "person role type"^^xsd:string ;
85 + rdfs:subClassOf owl:Class .
86 +
82 ep-prodorg:TotalCrew 87 ep-prodorg:TotalCrew
83 - rdf:type ep-prodorg:CrewType , owl:Class ; 88 + rdf:type owl:Class , ep-prodorg:CrewType ;
84 rdfs:label "total crew"^^xsd:string ; 89 rdfs:label "total crew"^^xsd:string ;
85 rdfs:subClassOf ep-prodorg:Crew . 90 rdfs:subClassOf ep-prodorg:Crew .
86 91
...@@ -96,7 +101,7 @@ ep-prodorg:hasCrew ...@@ -96,7 +101,7 @@ ep-prodorg:hasCrew
96 rdfs:range ep-prodorg:Crew . 101 rdfs:range ep-prodorg:Crew .
97 102
98 ep-prodorg:numberInCrew 103 ep-prodorg:numberInCrew
99 - rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; 104 + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ;
100 rdfs:domain ep-prodorg:Crew ; 105 rdfs:domain ep-prodorg:Crew ;
101 rdfs:label "number in crew"^^xsd:string . 106 rdfs:label "number in crew"^^xsd:string .
102 107
......
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
9 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations 9 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations
10 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults 10 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults
11 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest 11 # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest
12 +# imports: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1
12 13
14 +@prefix TRANSFORM_mpr-comment-v1.1: <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1#> .
13 @prefix dailyProductionActivity: <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport#> . 15 @prefix dailyProductionActivity: <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport#> .
14 @prefix injectionTestData: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData#> . 16 @prefix injectionTestData: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData#> .
15 @prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults#> . 17 @prefix injectionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults#> .
...@@ -28,5 +30,5 @@ ...@@ -28,5 +30,5 @@
28 30
29 <http://www.reportinghub.no/ep/transform/1.0/dpr/collector> 31 <http://www.reportinghub.no/ep/transform/1.0/dpr/collector>
30 rdf:type owl:Ontology ; 32 rdf:type owl:Ontology ;
31 - owl:imports <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations> , <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults> ; 33 + owl:imports <http://www.reportinghub.no/ep/transform/1.0/dpr/dailyProductionReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations> , <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolumeReport> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-comment-v1.1.1> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestData> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/transform/1.0/dpr/injectionTestResults> , <http://spinrdf.org/spin> ;
32 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 34 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 + ] .
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 + ] .