Tore Christiansen

Added ParentPlan and other properties

...@@ -73,6 +73,18 @@ ...@@ -73,6 +73,18 @@
73 rdfs:subClassOf [ 73 rdfs:subClassOf [
74 rdf:type owl:Restriction ; 74 rdf:type owl:Restriction ;
75 owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; 75 owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
76 + owl:onClass :Contractor ;
77 + owl:onProperty :hasMainContractor ;
78 + ] ;
79 + rdfs:subClassOf [
80 + rdf:type owl:Restriction ;
81 + owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
82 + owl:onClass :Operator ;
83 + owl:onProperty :hasOperator ;
84 + ] ;
85 + rdfs:subClassOf [
86 + rdf:type owl:Restriction ;
87 + owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
76 owl:onClass userfield:SourceSpecifiedUserField ; 88 owl:onClass userfield:SourceSpecifiedUserField ;
77 owl:onProperty :hasSpecifiedUserField ; 89 owl:onProperty :hasSpecifiedUserField ;
78 ] ; 90 ] ;
...@@ -97,6 +109,12 @@ ...@@ -97,6 +109,12 @@
97 rdfs:subClassOf [ 109 rdfs:subClassOf [
98 rdf:type owl:Restriction ; 110 rdf:type owl:Restriction ;
99 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; 111 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
112 + owl:onClass :Contractor ;
113 + owl:onProperty :hasSubContractor ;
114 + ] ;
115 + rdfs:subClassOf [
116 + rdf:type owl:Restriction ;
117 + owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
100 owl:onClass :ExternalReference ; 118 owl:onClass :ExternalReference ;
101 owl:onProperty :hasExternalReference ; 119 owl:onProperty :hasExternalReference ;
102 ] ; 120 ] ;
...@@ -1045,12 +1063,6 @@ ...@@ -1045,12 +1063,6 @@
1045 rdfs:comment "A Well Services Work Type (part of Use Case 2.5.1)"^^xsd:string ; 1063 rdfs:comment "A Well Services Work Type (part of Use Case 2.5.1)"^^xsd:string ;
1046 rdfs:label "M"^^xsd:string ; 1064 rdfs:label "M"^^xsd:string ;
1047 . 1065 .
1048 -:MainContractor
1049 - rdf:type owl:Class ;
1050 - rdfs:comment "A Contractor that has the overall responsibility for a contract"^^xsd:string ;
1051 - rdfs:label "Main contractor"^^xsd:string ;
1052 - rdfs:subClassOf :Contractor ;
1053 -.
1054 :MainPhase 1066 :MainPhase
1055 rdf:type owl:Class ; 1067 rdf:type owl:Class ;
1056 rdfs:comment "A Phase that divides the Lifecycle of an Asset into distinct parts."^^xsd:string ; 1068 rdfs:comment "A Phase that divides the Lifecycle of an Asset into distinct parts."^^xsd:string ;
...@@ -1173,6 +1185,7 @@ ...@@ -1173,6 +1185,7 @@
1173 rdfs:comment "A Responsible that is an organization that operates a Facility in a Field in order to produce oil and gas."^^xsd:string ; 1185 rdfs:comment "A Responsible that is an organization that operates a Facility in a Field in order to produce oil and gas."^^xsd:string ;
1174 rdfs:label "Operator"^^xsd:string ; 1186 rdfs:label "Operator"^^xsd:string ;
1175 rdfs:subClassOf :Responsible ; 1187 rdfs:subClassOf :Responsible ;
1188 + rdfs:subClassOf <http://data.posccaesar.org/npd/ontology/OperatingCompany> ;
1176 . 1189 .
1177 :P 1190 :P
1178 rdf:type :WellServicesWorkType ; 1191 rdf:type :WellServicesWorkType ;
...@@ -1276,6 +1289,13 @@ ...@@ -1276,6 +1289,13 @@
1276 ] ; 1289 ] ;
1277 rdfs:subClassOf [ 1290 rdfs:subClassOf [
1278 rdf:type owl:Restriction ; 1291 rdf:type owl:Restriction ;
1292 + :shouldBeInternalAndExternalRef "true"^^xsd:boolean ;
1293 + owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
1294 + owl:onClass :Plan ;
1295 + owl:onProperty :hasParentPlan ;
1296 + ] ;
1297 + rdfs:subClassOf [
1298 + rdf:type owl:Restriction ;
1279 owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ; 1299 owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
1280 owl:onClass :PlanLevel ; 1300 owl:onClass :PlanLevel ;
1281 owl:onProperty :hasLevelType ; 1301 owl:onProperty :hasLevelType ;
...@@ -1404,6 +1424,12 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -1404,6 +1424,12 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
1404 owl:onClass :ActivityInPlan ; 1424 owl:onClass :ActivityInPlan ;
1405 owl:onProperty :hasActivity ; 1425 owl:onProperty :hasActivity ;
1406 ] ; 1426 ] ;
1427 + rdfs:subClassOf [
1428 + rdf:type owl:Restriction ;
1429 + owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
1430 + owl:onClass :Milestone ;
1431 + owl:onProperty :hasActivity ;
1432 + ] ;
1407 . 1433 .
1408 :PlanGeoArea 1434 :PlanGeoArea
1409 rdf:type owl:Class ; 1435 rdf:type owl:Class ;
...@@ -1733,9 +1759,9 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -1733,9 +1759,9 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
1733 rdf:type owl:Class ; 1759 rdf:type owl:Class ;
1734 rdfs:comment "An Arranged Individual that is an Organization or Individual responsible for carrying out a specified part of the Schedule."^^xsd:string ; 1760 rdfs:comment "An Arranged Individual that is an Organization or Individual responsible for carrying out a specified part of the Schedule."^^xsd:string ;
1735 rdfs:label "Responsible"^^xsd:string ; 1761 rdfs:label "Responsible"^^xsd:string ;
1762 + rdfs:subClassOf <http://data.posccaesar.org/rdl/RDS282149> ;
1736 rdfs:subClassOf <http://data.posccaesar.org/rdl/RDS436990091> ; 1763 rdfs:subClassOf <http://data.posccaesar.org/rdl/RDS436990091> ;
1737 rdfs:subClassOf owl:Thing ; 1764 rdfs:subClassOf owl:Thing ;
1738 - owl:equivalentClass <http://data.posccaesar.org/rdl/RDS282149> ;
1739 owl:equivalentClass <http://data.posccaesar.org/rdl/RDS413954> ; 1765 owl:equivalentClass <http://data.posccaesar.org/rdl/RDS413954> ;
1740 . 1766 .
1741 :Result 1767 :Result
...@@ -2088,12 +2114,6 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2088,12 +2114,6 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2088 rdfs:subClassOf owl:Thing ; 2114 rdfs:subClassOf owl:Thing ;
2089 owl:equivalentClass <http://data.posccaesar.org/rdl/RDS427322951> ; 2115 owl:equivalentClass <http://data.posccaesar.org/rdl/RDS427322951> ;
2090 . 2116 .
2091 -:SubContractor
2092 - rdf:type owl:Class ;
2093 - rdfs:comment "A Contractor that has responsibility for only part of a contract"^^xsd:string ;
2094 - rdfs:label "Sub contractor"^^xsd:string ;
2095 - rdfs:subClassOf :Contractor ;
2096 -.
2097 :SubPhase 2117 :SubPhase
2098 rdf:type owl:Class ; 2118 rdf:type owl:Class ;
2099 rdfs:comment "A Phase that divides a Project into distinct Periods."^^xsd:string ; 2119 rdfs:comment "A Phase that divides a Project into distinct Periods."^^xsd:string ;
...@@ -2419,7 +2439,7 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2419,7 +2439,7 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2419 :WellIsolationPlan 2439 :WellIsolationPlan
2420 rdf:type owl:Class ; 2440 rdf:type owl:Class ;
2421 rdfs:comment "An Plan for Activity that specifies Activities for Isolating a Well."^^xsd:string ; 2441 rdfs:comment "An Plan for Activity that specifies Activities for Isolating a Well."^^xsd:string ;
2422 - rdfs:label "Wel Isolaton Plan"^^xsd:string ; 2442 + rdfs:label "Wel Isolation Plan"^^xsd:string ;
2423 rdfs:subClassOf :PlanForActivity ; 2443 rdfs:subClassOf :PlanForActivity ;
2424 . 2444 .
2425 :WellIsolationPlanRequired 2445 :WellIsolationPlanRequired
...@@ -2651,6 +2671,12 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2651,6 +2671,12 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2651 rdf:type owl:ObjectProperty ; 2671 rdf:type owl:ObjectProperty ;
2652 rdfs:label "has level type"^^xsd:string ; 2672 rdfs:label "has level type"^^xsd:string ;
2653 . 2673 .
2674 +:hasMainContractor
2675 + rdf:type owl:ObjectProperty ;
2676 + rdfs:label "has main contractor"^^xsd:string ;
2677 + rdfs:range :Contractor ;
2678 + rdfs:subPropertyOf :hasResponsibleOrganization ;
2679 +.
2654 :hasManHours 2680 :hasManHours
2655 rdf:type owl:DatatypeProperty ; 2681 rdf:type owl:DatatypeProperty ;
2656 . 2682 .
...@@ -2675,6 +2701,12 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2675,6 +2701,12 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2675 :hasOperation 2701 :hasOperation
2676 rdf:type owl:ObjectProperty ; 2702 rdf:type owl:ObjectProperty ;
2677 . 2703 .
2704 +:hasOperator
2705 + rdf:type owl:ObjectProperty ;
2706 + rdfs:label "has operator"^^xsd:string ;
2707 + rdfs:range :Operator ;
2708 + rdfs:subPropertyOf :hasResponsibleOrganization ;
2709 +.
2678 :hasOperatorsRequiredEndDate 2710 :hasOperatorsRequiredEndDate
2679 rdf:type owl:DatatypeProperty ; 2711 rdf:type owl:DatatypeProperty ;
2680 rdfs:comment "A property of a Project or Activity"^^xsd:string ; 2712 rdfs:comment "A property of a Project or Activity"^^xsd:string ;
...@@ -2683,6 +2715,9 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2683,6 +2715,9 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2683 :hasParentActivity 2715 :hasParentActivity
2684 rdf:type owl:ObjectProperty ; 2716 rdf:type owl:ObjectProperty ;
2685 . 2717 .
2718 +:hasParentPlan
2719 + rdf:type owl:ObjectProperty ;
2720 +.
2686 :hasPercentageComplete 2721 :hasPercentageComplete
2687 rdf:type owl:DatatypeProperty ; 2722 rdf:type owl:DatatypeProperty ;
2688 rdfs:label "has percentage complete"^^xsd:string ; 2723 rdfs:label "has percentage complete"^^xsd:string ;
...@@ -2755,6 +2790,10 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2755,6 +2790,10 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2755 rdfs:label "has responsible"^^xsd:string ; 2790 rdfs:label "has responsible"^^xsd:string ;
2756 rdfs:range :Responsible ; 2791 rdfs:range :Responsible ;
2757 . 2792 .
2793 +:hasResponsibleOrganization
2794 + rdf:type owl:ObjectProperty ;
2795 + rdfs:label "has responsible organization"^^xsd:string ;
2796 +.
2758 :hasResult 2797 :hasResult
2759 rdf:type owl:ObjectProperty ; 2798 rdf:type owl:ObjectProperty ;
2760 rdfs:label "has result"^^xsd:string ; 2799 rdfs:label "has result"^^xsd:string ;
...@@ -2805,8 +2844,11 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2805,8 +2844,11 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2805 rdf:type owl:DatatypeProperty ; 2844 rdf:type owl:DatatypeProperty ;
2806 rdfs:range xsd:time ; 2845 rdfs:range xsd:time ;
2807 . 2846 .
2808 -:hasSubPlan 2847 +:hasSubContractor
2809 rdf:type owl:ObjectProperty ; 2848 rdf:type owl:ObjectProperty ;
2849 + rdfs:label "has sub contractor"^^xsd:string ;
2850 + rdfs:range :Contractor ;
2851 + rdfs:subPropertyOf :hasResponsibleOrganization ;
2810 . 2852 .
2811 :hasSubProject 2853 :hasSubProject
2812 rdf:type owl:ObjectProperty ; 2854 rdf:type owl:ObjectProperty ;
......