Tore Christiansen

Updated status as class of class

...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
219 rdfs:subClassOf [ 219 rdfs:subClassOf [
220 rdf:type owl:Restriction ; 220 rdf:type owl:Restriction ;
221 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; 221 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
222 - owl:onClass :ResourceValue ; 222 + owl:onClass :ResourceInPlan ;
223 owl:onProperty :hasResource ; 223 owl:onProperty :hasResource ;
224 ] ; 224 ] ;
225 rdfs:subClassOf [ 225 rdfs:subClassOf [
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
232 rdf:type owl:Restriction ; 232 rdf:type owl:Restriction ;
233 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; 233 owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
234 owl:onClass :Status ; 234 owl:onClass :Status ;
235 - owl:onProperty :hasActiveStatus ; 235 + owl:onProperty :hasStatus ;
236 ] ; 236 ] ;
237 rdfs:subClassOf [ 237 rdfs:subClassOf [
238 rdf:type owl:Restriction ; 238 rdf:type owl:Restriction ;
...@@ -651,22 +651,27 @@ ...@@ -651,22 +651,27 @@
651 :ClassOfActivity 651 :ClassOfActivity
652 rdf:type rdfs:Class ; 652 rdf:type rdfs:Class ;
653 rdfs:label "Class of activity"^^xsd:string ; 653 rdfs:label "Class of activity"^^xsd:string ;
654 - rdfs:subClassOf owl:Class ; 654 + rdfs:subClassOf :ClassOfIndividual ;
655 . 655 .
656 :ClassOfClassOfActivity 656 :ClassOfClassOfActivity
657 rdf:type rdfs:Class ; 657 rdf:type rdfs:Class ;
658 rdfs:label "Class of class of activity"^^xsd:string ; 658 rdfs:label "Class of class of activity"^^xsd:string ;
659 rdfs:subClassOf owl:Class ; 659 rdfs:subClassOf owl:Class ;
660 . 660 .
661 +:ClassOfIndividual
662 + rdf:type rdfs:Class ;
663 + rdfs:label "Class of individual"^^xsd:string ;
664 + rdfs:subClassOf owl:Class ;
665 +.
661 :ClassOfResource 666 :ClassOfResource
662 rdf:type rdfs:Class ; 667 rdf:type rdfs:Class ;
663 rdfs:label "Class of resource"^^xsd:string ; 668 rdfs:label "Class of resource"^^xsd:string ;
664 - rdfs:subClassOf owl:Class ; 669 + rdfs:subClassOf :ClassOfIndividual ;
665 . 670 .
666 :ClassOfResult 671 :ClassOfResult
667 rdf:type rdfs:Class ; 672 rdf:type rdfs:Class ;
668 rdfs:label "Class of result"^^xsd:string ; 673 rdfs:label "Class of result"^^xsd:string ;
669 - rdfs:subClassOf owl:Class ; 674 + rdfs:subClassOf :ClassOfIndividual ;
670 . 675 .
671 :ClassOfStaffTime 676 :ClassOfStaffTime
672 rdf:type rdfs:Class ; 677 rdf:type rdfs:Class ;
...@@ -825,11 +830,11 @@ ...@@ -825,11 +830,11 @@
825 rdfs:label "Cost Based Resource"^^xsd:string ; 830 rdfs:label "Cost Based Resource"^^xsd:string ;
826 rdfs:subClassOf :Resource ; 831 rdfs:subClassOf :Resource ;
827 . 832 .
828 -:CostBasedResourceValue 833 +:CostBasedResourceInPlan
829 rdf:type owl:Class ; 834 rdf:type owl:Class ;
830 rdfs:comment "Not implemented"^^xsd:string ; 835 rdfs:comment "Not implemented"^^xsd:string ;
831 - rdfs:label "Cost based resource value"^^xsd:string ; 836 + rdfs:label "Cost based resource in plan"^^xsd:string ;
832 - rdfs:subClassOf :ResourceValue ; 837 + rdfs:subClassOf :ResourceInPlan ;
833 . 838 .
834 :Country 839 :Country
835 rdf:type :PlanGeoArea ; 840 rdf:type :PlanGeoArea ;
...@@ -1593,7 +1598,6 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -1593,7 +1598,6 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
1593 :shouldHaveID "true"^^xsd:boolean ; 1598 :shouldHaveID "true"^^xsd:boolean ;
1594 rdfs:comment "An ISO 15926-4 Activity Class that specifies what is to be done in order to achieve an Objective."^^xsd:string ; 1599 rdfs:comment "An ISO 15926-4 Activity Class that specifies what is to be done in order to achieve an Objective."^^xsd:string ;
1595 rdfs:label "Plan for ILAP"^^xsd:string ; 1600 rdfs:label "Plan for ILAP"^^xsd:string ;
1596 - rdfs:label "Plan"^^xsd:string ;
1597 rdfs:subClassOf :PlanForActivity ; 1601 rdfs:subClassOf :PlanForActivity ;
1598 rdfs:subClassOf <http://data.posccaesar.org/rdl/RDS10012097710> ; 1602 rdfs:subClassOf <http://data.posccaesar.org/rdl/RDS10012097710> ;
1599 rdfs:subClassOf [ 1603 rdfs:subClassOf [
...@@ -2037,6 +2041,28 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2037,6 +2041,28 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2037 ] ; 2041 ] ;
2038 owl:equivalentClass <http://data.posccaesar.org/rdl/RDS13875949> ; 2042 owl:equivalentClass <http://data.posccaesar.org/rdl/RDS13875949> ;
2039 . 2043 .
2044 +:ResourceInPlan
2045 + rdf:type rdfs:Class ;
2046 + rdf:type owl:Class ;
2047 + rdfs:comment "A Value An amount that is a calculated/decided amount (quantity) of a Resource."^^xsd:string ;
2048 + rdfs:label "Resource in plan"^^xsd:string ;
2049 + rdfs:subClassOf :ClassOfResource ;
2050 + rdfs:subClassOf <http://data.posccaesar.org/rdl/RDS7945844> ;
2051 + rdfs:subClassOf [
2052 + rdf:type owl:Class ;
2053 + owl:unionOf (
2054 + :CostBasedResourceInPlan
2055 + :TimeBasedResourceInPlan
2056 + ) ;
2057 + ] ;
2058 + rdfs:subClassOf [
2059 + rdf:type owl:Restriction ;
2060 + owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ;
2061 + owl:onClass :Discipline ;
2062 + owl:onProperty :hasPlannedDiscipline ;
2063 + ] ;
2064 + owl:equivalentClass <http://data.posccaesar.org/rdl/RDS409510451> ;
2065 +.
2040 :ResourceSet 2066 :ResourceSet
2041 rdf:type owl:Class ; 2067 rdf:type owl:Class ;
2042 :shouldHaveID "true" ; 2068 :shouldHaveID "true" ;
...@@ -2064,21 +2090,6 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2064,21 +2090,6 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2064 ] ; 2090 ] ;
2065 owl:equivalentClass <http://data.posccaesar.org/rdl/RDS13875949> ; 2091 owl:equivalentClass <http://data.posccaesar.org/rdl/RDS13875949> ;
2066 . 2092 .
2067 -:ResourceValue
2068 - rdf:type owl:Class ;
2069 - rdfs:comment "A Value An amount that is a calculated/decided amount (quantity) of a Resource."^^xsd:string ;
2070 - rdfs:label "Resource value"^^xsd:string ;
2071 - rdfs:subClassOf <http://data.posccaesar.org/rdl/RDS7945844> ;
2072 - rdfs:subClassOf owl:Thing ;
2073 - rdfs:subClassOf [
2074 - rdf:type owl:Class ;
2075 - owl:unionOf (
2076 - :CostBasedResourceValue
2077 - :TimeBasedResourceValue
2078 - ) ;
2079 - ] ;
2080 - owl:equivalentClass <http://data.posccaesar.org/rdl/RDS409510451> ;
2081 -.
2082 :Responsible 2093 :Responsible
2083 rdf:type owl:Class ; 2094 rdf:type owl:Class ;
2084 rdfs:comment "An Arranged Individual that is an Organization or Individual responsible for carrying out a specified part of the Schedule."^^xsd:string ; 2095 rdfs:comment "An Arranged Individual that is an Organization or Individual responsible for carrying out a specified part of the Schedule."^^xsd:string ;
...@@ -2427,8 +2438,7 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2427,8 +2438,7 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2427 rdf:type owl:Class ; 2438 rdf:type owl:Class ;
2428 rdfs:comment "A Class of Individual that holds information about what is currently happening. Status values describe whether a Project or Activity is started, in progress or completed, and can also say something about resource availability."^^xsd:string ; 2439 rdfs:comment "A Class of Individual that holds information about what is currently happening. Status values describe whether a Project or Activity is started, in progress or completed, and can also say something about resource availability."^^xsd:string ;
2429 rdfs:label "Status"^^xsd:string ; 2440 rdfs:label "Status"^^xsd:string ;
2430 - rdfs:subClassOf <http://data.posccaesar.org/rdl/RDS13318199> ; 2441 + rdfs:subClassOf :ClassOfIndividual ;
2431 - rdfs:subClassOf owl:Thing ;
2432 owl:equivalentClass <http://data.posccaesar.org/rdl/RDS427322951> ; 2442 owl:equivalentClass <http://data.posccaesar.org/rdl/RDS427322951> ;
2433 . 2443 .
2434 :SubPhase 2444 :SubPhase
...@@ -2502,12 +2512,12 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2502,12 +2512,12 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2502 owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ; 2512 owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
2503 ] ; 2513 ] ;
2504 . 2514 .
2505 -:TimeBasedResourceValue 2515 +:TimeBasedResourceInPlan
2506 rdf:type owl:Class ; 2516 rdf:type owl:Class ;
2507 :shouldHaveID "true" ; 2517 :shouldHaveID "true" ;
2508 rdfs:comment "A Resource Value for a Time Based Resource."^^xsd:string ; 2518 rdfs:comment "A Resource Value for a Time Based Resource."^^xsd:string ;
2509 - rdfs:label "Time Based Resource Value"^^xsd:string ; 2519 + rdfs:label "Time Based Resource in plan"^^xsd:string ;
2510 - rdfs:subClassOf :ResourceValue ; 2520 + rdfs:subClassOf :ResourceInPlan ;
2511 rdfs:subClassOf [ 2521 rdfs:subClassOf [
2512 rdf:type owl:Class ; 2522 rdf:type owl:Class ;
2513 owl:intersectionOf ( 2523 owl:intersectionOf (
...@@ -2828,13 +2838,6 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2828,13 +2838,6 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2828 rdfs:comment "A Relationship between an object that is intended for a plan and the plan itself."^^xsd:string ; 2838 rdfs:comment "A Relationship between an object that is intended for a plan and the plan itself."^^xsd:string ;
2829 rdfs:label "for Plan"^^xsd:string ; 2839 rdfs:label "for Plan"^^xsd:string ;
2830 . 2840 .
2831 -:hasActiveStatus
2832 - rdf:type owl:ObjectProperty ;
2833 - rdfs:comment "A relationship between a planning object and a Status set to active value."^^xsd:string ;
2834 - rdfs:domain :Activity ;
2835 - rdfs:label "has Active Status"^^xsd:string ;
2836 - rdfs:range :Status ;
2837 -.
2838 :hasActivity 2841 :hasActivity
2839 rdf:type owl:ObjectProperty ; 2842 rdf:type owl:ObjectProperty ;
2840 rdfs:comment "A relationship between a planning object and an Activity."^^xsd:string ; 2843 rdfs:comment "A relationship between a planning object and an Activity."^^xsd:string ;
...@@ -2850,6 +2853,11 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -2850,6 +2853,11 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
2850 rdfs:label "has Activity Estimated Weight"^^xsd:string ; 2853 rdfs:label "has Activity Estimated Weight"^^xsd:string ;
2851 rdfs:subPropertyOf :hasActivityWeight ; 2854 rdfs:subPropertyOf :hasActivityWeight ;
2852 . 2855 .
2856 +:hasActivityStatus
2857 + rdf:type owl:ObjectProperty ;
2858 + rdfs:label "has activity status"^^xsd:string ;
2859 + rdfs:subPropertyOf :hasStatus ;
2860 +.
2853 :hasActivityWeight 2861 :hasActivityWeight
2854 rdf:type owl:DatatypeProperty ; 2862 rdf:type owl:DatatypeProperty ;
2855 rdfs:comment "A property that gives the weight of a planning object."^^xsd:string ; 2863 rdfs:comment "A property that gives the weight of a planning object."^^xsd:string ;
...@@ -3237,11 +3245,22 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -3237,11 +3245,22 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
3237 rdfs:comment "A relationship between a planning object and a type of Objective."^^xsd:string ; 3245 rdfs:comment "A relationship between a planning object and a type of Objective."^^xsd:string ;
3238 rdfs:label "has Objective Type"^^xsd:string ; 3246 rdfs:label "has Objective Type"^^xsd:string ;
3239 . 3247 .
3248 +:hasPlanStatus
3249 + rdf:type owl:ObjectProperty ;
3250 + rdfs:label "has plan status"^^xsd:string ;
3251 + rdfs:subPropertyOf :hasStatus ;
3252 +.
3240 :hasPlanType 3253 :hasPlanType
3241 rdf:type owl:ObjectProperty ; 3254 rdf:type owl:ObjectProperty ;
3242 rdfs:comment "A relationship between a planning object and a time period."^^xsd:string ; 3255 rdfs:comment "A relationship between a planning object and a time period."^^xsd:string ;
3243 rdfs:label "has Plan Type"^^xsd:string ; 3256 rdfs:label "has Plan Type"^^xsd:string ;
3244 . 3257 .
3258 +:hasPlannedDiscipline
3259 + rdf:type owl:ObjectProperty ;
3260 + rdfs:domain :ResourceInPlan ;
3261 + rdfs:label "has planned discipline"^^xsd:string ;
3262 + rdfs:range :Discipline ;
3263 +.
3245 :hasPlannedMainContractor 3264 :hasPlannedMainContractor
3246 rdf:type owl:ObjectProperty ; 3265 rdf:type owl:ObjectProperty ;
3247 rdfs:domain :PlanForActivity ; 3266 rdfs:domain :PlanForActivity ;
...@@ -3304,6 +3323,11 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -3304,6 +3323,11 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
3304 rdfs:comment "A relationship between a planning object and a project."^^xsd:string ; 3323 rdfs:comment "A relationship between a planning object and a project."^^xsd:string ;
3305 rdfs:label "has Project"^^xsd:string ; 3324 rdfs:label "has Project"^^xsd:string ;
3306 . 3325 .
3326 +:hasProjectStatus
3327 + rdf:type owl:ObjectProperty ;
3328 + rdfs:label "has project status"^^xsd:string ;
3329 + rdfs:subPropertyOf :hasStatus ;
3330 +.
3307 :hasProjectType 3331 :hasProjectType
3308 rdf:type owl:ObjectProperty ; 3332 rdf:type owl:ObjectProperty ;
3309 rdfs:domain :Project ; 3333 rdfs:domain :Project ;
...@@ -3437,6 +3461,13 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel ...@@ -3437,6 +3461,13 @@ NOTE 2 A Plan for Activity can define a number of part activities which are rel
3437 rdfs:label "has Start Time"^^xsd:string ; 3461 rdfs:label "has Start Time"^^xsd:string ;
3438 rdfs:range xsd:time ; 3462 rdfs:range xsd:time ;
3439 . 3463 .
3464 +:hasStatus
3465 + rdf:type owl:ObjectProperty ;
3466 + rdfs:comment "A relationship between a planning object and a Status value."^^xsd:string ;
3467 + rdfs:domain :Activity ;
3468 + rdfs:label "has Active Status"^^xsd:string ;
3469 + rdfs:range :Status ;
3470 +.
3440 :hasSubContractor 3471 :hasSubContractor
3441 rdf:type owl:ObjectProperty ; 3472 rdf:type owl:ObjectProperty ;
3442 rdfs:comment "A hasResponsible relationship between a planning object and a responsible organization and an organization that has the role sub contractor."^^xsd:string ; 3473 rdfs:comment "A hasResponsible relationship between a planning object and a responsible organization and an organization that has the role sub contractor."^^xsd:string ;
......